Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
doc: document make doconly
Documented `make doconly` as a way to read documentation in the browser.
  • Loading branch information
AyushG3112 committed Mar 26, 2018
commit ecb58d0527d1bcab4c0b03d8d03e8efd74449669
9 changes: 4 additions & 5 deletions BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,15 +206,14 @@ To read the documentation:
$ man doc/node.1
```

If you prefer to read the documentation in the browser and have `python`
installed, you can run:
If you prefer to read the documentation in the browser,
run the following once `make doc` is done:

```console
$ cd out/doc/api/
$ python -m SimpleHTTPServer
$ make doconly
```

and navigate to `http://localhost:8000` in your browser.
This will open up a browser tab/window with the documentation.

To test if Node.js was built correctly:

Expand Down