Skip to content

Commit

Permalink
Update make_docs.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
luca-fiorito-11 committed Jul 7, 2023
1 parent a13771f commit 73e0929
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions make_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ sphinx-quickstart --sep --dot _ --language en --suffix .rst --master index --mak
sed -i '13i\ sandy' api_docs/source/index.rst
sed -i "s/alabaster/sphinx_rtd_theme/" api_docs/source/conf.py
# add folder with sources
sed -i '1 i\import os\nimport sys\nsys.path.insert(0, os.path.abspath(os.path.join("..", "..", "sandy")))' api_docs/source/conf.py
cat api_docs/source/conf.py
sed -i '1 i\import os\nimport sys\nsys.path.insert(0, os.path.abspath(os.path.join("..", "..", "sandy")))\nprint(sys.path)' api_docs/source/conf.py


# Create rst files
sphinx-apidoc --separate --force --module-first -o api_docs/source sandy
Expand Down

0 comments on commit 73e0929

Please sign in to comment.