File tree Expand file tree Collapse file tree 3 files changed +11
-4
lines changed
Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 22
33DOCS=$( dirname " $0 " )
44
5- sphinx-apidoc -f -d 1 -o $DOCS /source $DOCS /../algolib
6- sphinx-build -b html $DOCS /source $DOCS /build
5+ find source -name ' *.rst' -type f ! -name ' index.rst' -exec rm {} +
6+ sphinx-apidoc -f -e -d 2 -o $DOCS /source $DOCS /../algolib
7+ sphinx-build -b html $DOCS /source $DOCS /build/docs -a
Original file line number Diff line number Diff line change 33# For the full list of built-in configuration values, see the documentation:
44# https://www.sphinx-doc.org/en/master/usage/configuration.html
55
6+ import os
7+ import sys
8+
9+ basedir = os .path .abspath (os .path .join (os .path .dirname (__file__ ), '..' , '..' ))
10+ sys .path .insert (0 , basedir )
11+
612# -- Project information -----------------------------------------------------
713# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
814
2127# -- Options for HTML output -------------------------------------------------
2228# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
2329
24- html_theme = 'alabaster '
30+ html_theme = 'agogo '
2531html_static_path = ['_static' ]
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ Welcome to AlgoLib's documentation!
22===================================
33
44.. toctree ::
5- :maxdepth: 1
5+ :maxdepth: 4
66 :caption: Contents:
77
88 modules
You can’t perform that action at this time.
0 commit comments