# Golden Sphinx
Build and serve Sphinx docs.
Example usage:
```sh
$ goldensphinx build serve
```
You can also just build:
```sh
$ goldensphinx build
```
or just serve:
```sh
$ goldensphinx serve
```
To see the options you can control, run a command with `--help`:
```sh
$ goldensphinx build --help
Usage: goldensphinx build [OPTIONS]
Options:
--source_dir PATH Directory containing documentation source
--dest_dir PATH Directory to build documentation to
--help Show this message and exit.
$ goldensphinx serve --help
Usage: goldensphinx serve [OPTIONS]
Options:
--static_dir PATH Static directory to serve
--host TEXT Hostname to serve on
--port INTEGER Port to serve on
--threads INTEGER Number of threads
--help Show this message and exit.
```
All options can be also be set using environment variables:
- `source_dir` and `static_dir` by `STATIC_DIR`
- `dest_dir` by `DOCS_DIR`
- `port` by `PORT`
- `host` by `HOST`
- `threads` by `NUM_SERVER_THREADS`
For example:
```sh
$ export PORT=8080
$ goldensphinx serve --host 127.0.0.1
[2016-09-06 10:02:14 +0300] [55096] [INFO] Starting gunicorn 19.6.0
[2016-09-06 10:02:14 +0300] [55096] [INFO] Listening at: http://127.0.0.1:8080 (87302)
```
You can also set the environment variable `GOLDENSPHINX` to `false` if you want to prevent goldensphinx from running.
## Install
Stable:
```sh
pip install goldensphinx
```
Latest:
```sh
pip install git+https://github.com/yoavram/goldensphinx.git
```
## Authors
- Yoav Ram (@yoavram)
## Acknowledgements
- The project is inspired by, and the `serve` command is modified from [kennethreitz/goldenarch](https://github.com/kennethreitz/goldenarch).
- Many thanks to the authors of Python, Gunicorn, Sphinx, Click, Static and everything else we build our apps with.
Build and serve Sphinx docs.
Example usage:
```sh
$ goldensphinx build serve
```
You can also just build:
```sh
$ goldensphinx build
```
or just serve:
```sh
$ goldensphinx serve
```
To see the options you can control, run a command with `--help`:
```sh
$ goldensphinx build --help
Usage: goldensphinx build [OPTIONS]
Options:
--source_dir PATH Directory containing documentation source
--dest_dir PATH Directory to build documentation to
--help Show this message and exit.
$ goldensphinx serve --help
Usage: goldensphinx serve [OPTIONS]
Options:
--static_dir PATH Static directory to serve
--host TEXT Hostname to serve on
--port INTEGER Port to serve on
--threads INTEGER Number of threads
--help Show this message and exit.
```
All options can be also be set using environment variables:
- `source_dir` and `static_dir` by `STATIC_DIR`
- `dest_dir` by `DOCS_DIR`
- `port` by `PORT`
- `host` by `HOST`
- `threads` by `NUM_SERVER_THREADS`
For example:
```sh
$ export PORT=8080
$ goldensphinx serve --host 127.0.0.1
[2016-09-06 10:02:14 +0300] [55096] [INFO] Starting gunicorn 19.6.0
[2016-09-06 10:02:14 +0300] [55096] [INFO] Listening at: http://127.0.0.1:8080 (87302)
```
You can also set the environment variable `GOLDENSPHINX` to `false` if you want to prevent goldensphinx from running.
## Install
Stable:
```sh
pip install goldensphinx
```
Latest:
```sh
pip install git+https://github.com/yoavram/goldensphinx.git
```
## Authors
- Yoav Ram (@yoavram)
## Acknowledgements
- The project is inspired by, and the `serve` command is modified from [kennethreitz/goldenarch](https://github.com/kennethreitz/goldenarch).
- Many thanks to the authors of Python, Gunicorn, Sphinx, Click, Static and everything else we build our apps with.
Release files for goldensphinx 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| goldensphinx-0.0.3.tar.gz | 18.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| goldensphinx-0.0.3-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 24.4 kB
Release files / goldensphinx-0.0.3.tar.gz
| Download URL | goldensphinx-0.0.3.tar.gz |
|---|---|
| Size | 18.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f254daef9437e97b5f6b9da3a42bb1d25c9270ac81793fd1e99a2dbfaa6ec65d
|
|
BLAKE2b-256 checksum How to use checksums |
2b41992b1e56eb60737986c7b1f7e80977bc58402b41f9e3fb49c15a83ab63de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / goldensphinx-0.0.3-py2.py3-none-any.whl
| Download URL | goldensphinx-0.0.3-py2.py3-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
9f62d878e39c6270985a0d5fbc11ad38051d330a497c3dab1a2b18724e2412a0
|
|
BLAKE2b-256 checksum How to use checksums |
6e9dae11940ca73466c1e7e0cab87e2fa2619d8ff6183608bf5709c5b02f9b4d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |