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 4c14109 commit a13771f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion make_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ sphinx-quickstart --sep --dot _ --language en --suffix .rst --master index --mak
# Change configuration file
sed -i '13i\ sandy' api_docs/source/index.rst
sed -i "s/alabaster/sphinx_rtd_theme/" api_docs/source/conf.py
sed -i '1 i\import os\nimport sys\nsys.path.insert(0, os.path.abspath(os.path.join("..", "..", "src")))' 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

# Create rst files
Expand Down

0 comments on commit a13771f

Please sign in to comment.