Skip to content

Commit

Permalink
docs: prepare deployment to rtd
Browse files Browse the repository at this point in the history
  • Loading branch information
rzyu45 committed Aug 10, 2024
1 parent 5b2ca1e commit d827364
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
4 changes: 0 additions & 4 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ build:
os: ubuntu-22.04
tools:
python: "3.11"
# You can also specify other tool versions:
# nodejs: "19"
# rust: "1.64"
# golang: "1.19"

# Build documentation in the "docs/" directory with Sphinx
sphinx:
Expand Down
1 change: 0 additions & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,5 @@ sphinxcontrib-qthelp
sphinxcontrib-serializinghtml
sphinx-reredirects
sympy
numpydoc
chardet

2 changes: 1 addition & 1 deletion docs/src/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@

import sympy

sys.path = ['ext'] + sys.path
sys.path.extend(['..\\..\\Solverz'])
# This command is for linux (Ubuntu 22.04.2 LTS), which cannot recognise relative path of Solverz library.
sys.path.insert(0, os.path.abspath('../..'))
sys.path.insert(0, os.path.abspath('../ext'))

# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
Expand Down

0 comments on commit d827364

Please sign in to comment.