Skip to content

Commit

Permalink
Instructions for building docs locally
Browse files Browse the repository at this point in the history
  • Loading branch information
begriffs committed Feb 27, 2017
1 parent f1181cc commit b8f2ffc
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#### Sphinx source files for PostgREST documentation

To generate HTML version:

1. Install Sphinx from the [sphinx website](http://sphinx-doc.org/latest/install.html)
2. Clone this repository
4. Generate HTML
```bash
cd postgrest-docs
sphinx-build -b html -a -n . _build

# open _build/index.html in your browser
```

---

**Sphinx Installation Notes:**

* If you're on OSX you might want to install the Python from homebrew - then a simple `pip install sphinx` does the trick.
* For an easier time refreshing your local preview of docs as you change it, try [sphinx-autobuild](https://github.com/GaretJax/sphinx-autobuild).

0 comments on commit b8f2ffc

Please sign in to comment.