You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+58-53Lines changed: 58 additions & 53 deletions
Original file line number
Diff line number
Diff line change
@@ -4,22 +4,43 @@ This is a GitHub API resource built with [Nanoc][nanoc].
4
4
5
5
All submissions are welcome. To submit a change, fork this repo, commit your changes, and send us a[pull request](http://help.github.com/send-pull-requests/).
6
6
7
-
##Setup
8
-
9
-
Ruby 2.2 is required to build the site.
7
+
##Development
10
8
11
-
GettheNanoc gem, plus kramdown for Markdown parsing:
9
+
You can fetchthelatest dependencies by opening the command line and running`script/bootstrap`:
12
10
13
-
```sh
14
-
$ bundle install
11
+
```sh
12
+
$ script/bootstrap
13
+
==> Installing gem dependencies…
14
+
==> Installing npm dependencies…
15
15
```
16
16
17
-
Youcanseetheavailable commands with Nanoc:
17
+
You'll need Ruby and Node installed on your system. The required versions for each of these languagescanbe found inthe*.ruby-version* and*package.json* files, respectively.
18
18
19
-
```sh
20
-
$ bundleexec nanoc -h
19
+
You can run`bundle exec rake build` to generate the site, but it's often more useful
20
+
to simply build the server*and* start the site at the same time.
21
+
22
+
Nanoc compiles the site into static files living in`output`. It's
23
+
smart enough not to try to compile unchanged files.
Nanoc has[some nice documentation](http://nanoc.ws/docs/tutorial/) to get you started. Though if you're mainly concerned with editing or adding content, you won't need to know much about Nanoc.
24
45
25
46
[nanoc]:http://nanoc.ws/
@@ -93,52 +114,36 @@ of commands.
93
114
94
115
For more information, see[the reference documentation](https://github.com/gjtorikian/extended-markdown-filter#command-line-highlighting).
95
116
96
-
##Development
97
-
98
-
You can fetch the latest dependencies by opening the command line and running`script/bootstrap`:
99
-
100
-
```sh
101
-
$ script/bootstrap
102
-
==> Installing gem dependencies…
103
-
==> Installing npm dependencies…
104
-
```
105
-
106
-
You'll need Ruby 2.2.3 and at least Node v4.x.
107
-
108
-
You can run`bundle exec rake build` to generate the site, but it's often more useful
109
-
to simply build the server*and* start the site at the same time.
110
-
111
-
Nanoc compiles the site into static files living in`./output`. It's
112
-
smart enough not to try to compile unchanged files.