* how to save and load forecaseter * add doc of forecaster save and load * update save and load notebook * update notebook * update link * fix typo Co-authored-by: ruoan1.wang <ruonan1.wang@intel.com> |
||
|---|---|---|
| .. | ||
| _build | ||
| image | ||
| source | ||
| make.bat | ||
| Makefile | ||
| README.md | ||
| requirements-doc.txt | ||
| requirements-rtd.txt | ||
BigDL Documentation
This is the repository for BigDL documentation, which is hosted at https://bigdl.readthedocs.io/en/latest/
Local build
1. Set up environment
To build BigDL documentation locally for testing purposes, it is recommended to create a conda environment with specified Python version:
conda create -n docs python=3.7
conda activate docs
Then inside BigDL/docs/readthedocs folder, install required packages:
pip install --upgrade -r requirements-rtd.txt
pip install -r requirements-doc.txt
Note
:
requirements-rtd.txtis for reproducing ReadtheDocs deployment environment. No need to modify this file when adding new sphinx extension for our documentation. New packages should be added inrequirements-doc.txt.
2. Build the documentation
You can then build the documentation locally through:
make html
Tips: If you meet building error
Notebook error: Pandoc wasn't found, tryconda install pandocto resolve it.
Note
: The built files inside
docs/readthedocs/_build/htmldictionary should not be committed, they are only for testing purposes.
3. Test the documentation
To view the documentation locally, you could set up a testing server:
cd _build/html
python -m http.server 8000
The documentation can then be reached at http://localhost:8000/.
Note
: If you are setting up the testing server on a remote machine, it is recommended to forward port
8000through VSCode, so that you could reach http://localhost:8000/ normally as on your local machine.