Skip to content

Commit

Permalink
Merge pull request #658 from pz-max/doc-patch
Browse files Browse the repository at this point in the history
fix docs build in readthedocs
  • Loading branch information
fneum committed May 7, 2023
2 parents 4c41411 + 702bb59 commit 1fbe971
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
10 changes: 8 additions & 2 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,14 @@

version: 2

build:
os: ubuntu-22.04
tools:
python: "3.11"
apt_packages:
- graphviz

python:
version: 3.8
install:
- requirements: doc/requirements.txt
system_packages: true
system_packages: false
1 change: 1 addition & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
extensions = [
#'sphinx.ext.autodoc',
#'sphinx.ext.autosummary',
"myst_parser",
"sphinx.ext.autosectionlabel",
"sphinx.ext.intersphinx",
"sphinx.ext.todo",
Expand Down
2 changes: 1 addition & 1 deletion doc/release_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Upcoming Release

* Renamed script file from PyPSA-EUR ``build_load_data`` to ``build_electricity_demand`` and ``retrieve_load_data`` to ``retrieve_electricity_demand``.


* Fix docs readthedocs built

* Add plain hydrogen turbine as additional re-electrification option besides
hydrogen fuel cell. Add switches for both re-electrification options under
Expand Down
2 changes: 2 additions & 0 deletions doc/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@
#
# SPDX-License-Identifier: CC0-1.0

setuptools
sphinx
sphinx_book_theme
sphinxcontrib-bibtex
myst-parser # recommark is deprecated, https://stackoverflow.com/a/71660856/13573820

pypsa
vresutils>=0.3.1
Expand Down

0 comments on commit 1fbe971

Please sign in to comment.