mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-02 19:00:47 +00:00
documenting running up the docs locally, and a bit of cleanup
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
These instructions are for users who would like to get this documentation site running locally,
|
||||
so you can edit changes and view them immediately.
|
||||
|
||||
## Windows
|
||||
|
||||
You need these things:
|
||||
|
||||
- this repo - `git clone https://github.com/octokit/octokit.net.git`
|
||||
- Python - install it from Chocolatey: `cinst python`
|
||||
- mkdocs - install it with pip: `pip install mkdocs`
|
||||
|
||||
**NOTE**: of course mkdocs doesn't appear on your PATH after this. Ugh. It's 2016. Come on people.
|
||||
|
||||
**HACK**: add this to your PATH - `C:\ProgramData\chocolatey\lib\python3\tools\Scripts` and restart your shell.
|
||||
|
||||
Once you've got all that, run `mkdocs serve` from the root of your repository and then point your browser
|
||||
to `http://localhost:8000/`
|
||||
|
||||
**NOTE**: You'll probably get a dialog here to give `python.exe` permission to open port 8000 on your firewall. This is fine.
|
||||
|
||||
## OS X
|
||||
|
||||
You need these things:
|
||||
|
||||
- this repo - `git clone https://github.com/octokit/octokit.net.git`
|
||||
- Python - if you don't have it already, get it from homebrew: `brew install python3`
|
||||
- mkdocs - install it with pip: `pip install mkdocs`
|
||||
|
||||
Once you've got all that, run `mkdocs serve` from the root of your repository and then point your browser
|
||||
to `http://localhost:8000/`
|
||||
+2
-2
@@ -15,8 +15,7 @@ theme: readthedocs
|
||||
pages:
|
||||
- 'Home' : 'index.md'
|
||||
|
||||
- 'Getting Started' :
|
||||
- 'Creating a GitHubClient' : 'getting-started.md'
|
||||
- 'Getting Started' : getting-started.md
|
||||
|
||||
- Features:
|
||||
- 'Issues' : 'issues.md'
|
||||
@@ -34,3 +33,4 @@ pages:
|
||||
- Contributing:
|
||||
- 'Shipping Releases' : 'shipping-releases.md'
|
||||
- 'Strong Naming' : 'strong-naming.md'
|
||||
- 'Documentation': 'contributing.md'
|
||||
|
||||
Reference in New Issue
Block a user