History

Merge pull request #1338 from simon04/readme-syntax-highlighting

Simon Legner committed 5 years ago

Commit 5a05c2a2 parents b078b55 64566961 file · +5 −6Browse files

Unified · Split

README.md+5−6
@@ -24,7 +24,7 @@ DevDocs is made of two pieces: a Ruby scraper that generates the documentation a · 23 unmodified lines
24 24
25DevDocs requires Ruby 2.6.x, libcurl, and a JavaScript runtime supported by [ExecJS](https://github.com/rails/execjs#readme) (included in OS X and Windows; [Node.js](https://nodejs.org/en/) on Linux). Once you have these installed, run the following commands:25DevDocs requires Ruby 2.6.x, libcurl, and a JavaScript runtime supported by [ExecJS](https://github.com/rails/execjs#readme) (included in OS X and Windows; [Node.js](https://nodejs.org/en/) on Linux). Once you have these installed, run the following commands:
26 26
27```27```sh
28git clone https://github.com/freeCodeCamp/devdocs.git && cd devdocs28git clone https://github.com/freeCodeCamp/devdocs.git && cd devdocs
29gem install bundler29gem install bundler
30bundle install30bundle install
@@ -40,7 +40,7 @@ The `thor docs:download` command is used to download pre-generated documentation · 9 unmodified lines
40 40
41Alternatively, DevDocs may be started as a Docker container:41Alternatively, DevDocs may be started as a Docker container:
42 42
43```43```sh
44# First, build the image44# First, build the image
45git clone https://github.com/freeCodeCamp/devdocs.git && cd devdocs45git clone https://github.com/freeCodeCamp/devdocs.git && cd devdocs
46docker build -t thibaut/devdocs .46docker build -t thibaut/devdocs .
@@ -99,7 +99,7 @@ More information about [scrapers](./docs/scraper-reference.md) and [filters](./d · 52 unmodified lines
99 99
100The command-line interface uses [Thor](http://whatisthor.com). To see all commands and options, run `thor list` from the project's root.100The command-line interface uses [Thor](http://whatisthor.com). To see all commands and options, run `thor list` from the project's root.
101 101
102```102```sh
103# Server103# Server
104rackup # Start the server (ctrl+c to stop)104rackup # Start the server (ctrl+c to stop)
105rackup --help # List server options105rackup --help # List server options
@@ -116,10 +116,9 @@ thor docs:clean # Delete documentation packages · 10 unmodified lines
116# Console116# Console
117thor console # Start a REPL117thor console # Start a REPL
118thor console:docs # Start a REPL in the "Docs" module118thor console:docs # Start a REPL in the "Docs" module
119Note: tests can be run quickly from within the console using the "test" command. Run "help test"
120for usage instructions.
121 119
122# Tests120# Tests can be run quickly from within the console using the "test" command.
121# Run "help test" for usage instructions.
123thor test:all # Run all tests122thor test:all # Run all tests
124thor test:docs # Run "Docs" tests123thor test:docs # Run "Docs" tests
125thor test:app # Run "App" tests124thor test:app # Run "App" tests