mirror of
https://github.com/wassname/jupyter_contrib_nbextensions.git
synced 2026-08-13 12:20:43 +08:00
41 lines
1.0 KiB
Markdown
41 lines
1.0 KiB
Markdown
# Documenting jupyter_contrib_nbextensions
|
|
|
|
[Documentation for `jupyter_contrib_nbextensions`](https://jupyter_contrib_nbextensions.readthedocs.org/en/latest/)
|
|
is hosted on ReadTheDocs.
|
|
|
|
## Build Documentation locally
|
|
|
|
1. Change directory to documentation root:
|
|
|
|
$ cd docs
|
|
|
|
2. Install requirements:
|
|
|
|
$ pip install -r requirements.txt
|
|
|
|
3. Build documentation using Makefile for Linux and OS X:
|
|
|
|
$ make html
|
|
|
|
or on Windows:
|
|
|
|
$ make.bat html
|
|
|
|
4. Display the documentation locally by navigating to
|
|
``build/html/index.html`` in your browser:
|
|
|
|
Or alternatively you may run a local server to display
|
|
the docs. In Python 3:
|
|
|
|
$ python -m http.server 8000
|
|
|
|
In your browser, go to `http://localhost:8000`.
|
|
|
|
## Developing Documentation
|
|
|
|
### Helpful files and directories
|
|
|
|
* `source` directory - source for documentation
|
|
* `source/conf.py` - Sphinx build configuration file
|
|
* `source/md2rst.py` - Generates rst files from readme markdown files of individual extensions
|