git clone https://git.fndn.fortinet.net/fortimanager/howto_jsonrpc_api.git
cd howto_jsonrpc_api
mkdir -p _build
python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install pip --upgrade
python3 -m pip install sphinx
python3 -m pip install sphinx_tabs
python3 -m pip install sphinx_toolbox
python3 -m pip install sphinxcontrib.images
python3 -m pip install sphinx_copybutton
python3 -m pip install sphinx_design
# Ignore the possible error produce by the above command
python3 -m pip install sphinx_book_theme
make html
Now you can open file:
_build/html/index.html
with your browser.
cp -rv *rst Makefile make.bat README.md datas _images _static conf.py images index.rst .readthedocs.yaml requirements.txt ../github_howto_jsonrpc_api/