FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

bitorch-engine/docs at main · GreenBitAI/bitorch-engine · GitHub

Repository navigation

Latest commit

 

History

History

Folders and files

README.md

Bitorch Engine Documentation

Requirements

First you should install BITorch Engine as normal. Then, install the additional requirements with:

# in the docs folder
pip install -r requirements.txt

Magic Build Script

The script make_docs.sh will try to automagically build the documentation for you:

./docs/make_docs.sh

If there is a problem, see the script and manual steps below.

Manual Build

The docs for bitorch_engine are generated using the sphinx package. To build the docs, cd into the repository root and execute.

sphinx-build -b html docs/source/ docs/build/ -a

The generated HTML files will be put into docs/build.

Synchronize from Readmes

To synchronize information from the Readme, we can use pandoc to convert the markdown file to RST:

pip install pandoc
pandoc --from=markdown --to=rst --output=README.rst README.md

Afterward, we need to fix a few issues, such as incorrect URLs, collapsible sections, etc. and then move those sections to the appropriate place in the documentation. You can try automatically doing so by running python docs/scripts/convert_docs.py README.rst before building with sphinx.


Back | FazBrowse Home | New Git URL