File tree Expand file tree Collapse file tree 2 files changed +41
-0
lines changed Expand file tree Collapse file tree 2 files changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ # c-ares website
2
+
3
+ The c-ares website uses [ Jekyll] ( https://jekyllrb.com/ ) as a templating system
4
+ to generate static html content, which is then hosted on
5
+ [ GitHub Pages] ( https://pages.github.com/ ) .
6
+
7
+ Some content, such as the manpages, are generated externally by the ` Makefile ` .
8
+ Manpages in particular depend on [ roffit] ( https://github.com/bagder/roffit )
9
+ for conversion to HTML.
10
+
11
+ The c-ares source code is expected to exist in a directory named ` c-ares.git `
12
+ to pull in manpage content along with some other files like ` LICENSE.md ` and
13
+ ` SECURITY.md ` .
14
+
15
+ ## Building and testing locally
16
+
17
+ Dependencies:
18
+ - Git
19
+ - [ Install Jekyll] ( https://jekyllrb.com/docs/installation/ )
20
+ - GNU Make
21
+ - [ Roffit] ( https://github.com/bagder/roffit ) , available via some package
22
+ managers, such as Ubuntu.
23
+
24
+ Building:
25
+ 1 . Git checkout https://github.com/c-ares/c-ares.github.io
26
+ 2 . Inside of ` c-ares.github.io ` checkout, checkout the
27
+ [ c-ares] ( https://github.com/c-ares/c-ares ) source code as ` c-ares.git ` .
28
+ 3 . Build external files such as manpages via ` make `
29
+ 4 . Install Jekyll dependencies for site via (` bundle install ` )
30
+ 5 . Build and self-host test site (` bundle exec jekyll serve -V ` )
31
+
32
+ Example:
33
+ ``` bash
34
+ git clone https://github.com/c-ares/c-ares.github.io
35
+ cd c-ares.github.io
36
+ git clone --depth=1 https://github.com/c-ares/c-ares c-ares.git
37
+ make
38
+ bundle install
39
+ bundle exec jekyll serve -V
40
+ ```
Original file line number Diff line number Diff line change @@ -42,3 +42,4 @@ exclude:
42
42
- Makefile
43
43
- docs/*.raw
44
44
- .deps
45
+ - README.md
You can’t perform that action at this time.
0 commit comments