diff options
| author | Dougal Matthews | 2014-10-22 21:36:11 +0100 |
|---|---|---|
| committer | Dougal Matthews | 2014-11-25 12:42:39 +0000 |
| commit | 84d9c4b46eacda54b31a3779c623554758f4dccc (patch) | |
| tree | b32c48210dda963d939f66c47df11edd8cf78a37 | |
| parent | 04abe9830c1b6c0670a49129529e8e8d9e411f2c (diff) | |
| download | django-rest-framework-84d9c4b46eacda54b31a3779c623554758f4dccc.tar.bz2 | |
Change site_dir to html to match mkdocs.py
| -rw-r--r-- | CONTRIBUTING.md | 8 | ||||
| -rw-r--r-- | docs/topics/contributing.md | 8 | ||||
| -rw-r--r-- | mkdocs.yml | 1 |
3 files changed, 9 insertions, 8 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1b199534..ff82c954 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -101,15 +101,15 @@ There are many great markdown editors that make working with the documentation r ## Building the documentation -To build the documentation, simply run the `mkdocs.py` script. +To build the documentation, simply install MkDocs with `pip install mkdocs` and then run the following command. - ./mkdocs.py + mkdocs build This will build the html output into the `html` directory. -You can build the documentation and open a preview in a browser window by using the `-p` flag. +You can build the documentation and open a preview in a browser window by using the `serve` command. - ./mkdocs.py -p + mkdocs serve ## Language style diff --git a/docs/topics/contributing.md b/docs/topics/contributing.md index 52f6e287..5809af65 100644 --- a/docs/topics/contributing.md +++ b/docs/topics/contributing.md @@ -135,15 +135,15 @@ There are many great Markdown editors that make working with the documentation r ## Building the documentation -To build the documentation, simply run the `mkdocs.py` script. +To build the documentation, simply install MkDocs with `pip install mkdocs` and then run the following command. - ./mkdocs.py + mkdocs build This will build the html output into the `html` directory. -You can build the documentation and open a preview in a browser window by using the `-p` flag. +You can build the documentation and open a preview in a browser window by using the `serve` command. - ./mkdocs.py -p + mkdocs serve ## Language style @@ -51,6 +51,7 @@ pages: - ['topics/release-notes.md', ] - ['topics/credits.md', ] +site_dir: html theme_dir: docs/theme copyright: Copyright © 2014, <a href="https://twitter.com/_tomchristie">Tom Christie</a>. google_analytics: ['UA-18852272-2', 'django-rest-framework.org'] |
