Merge pull request #658 from pz-max/doc-patch

fix docs build in readthedocs
This commit is contained in:
Fabian Neumann 2023-05-07 17:22:11 +02:00 committed by GitHub
commit 1fbe971ab8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 3 deletions

View File

@ -4,8 +4,14 @@
version: 2 version: 2
build:
os: ubuntu-22.04
tools:
python: "3.11"
apt_packages:
- graphviz
python: python:
version: 3.8
install: install:
- requirements: doc/requirements.txt - requirements: doc/requirements.txt
system_packages: true system_packages: false

View File

@ -36,6 +36,7 @@ sys.path.insert(0, os.path.abspath("../scripts"))
extensions = [ extensions = [
#'sphinx.ext.autodoc', #'sphinx.ext.autodoc',
#'sphinx.ext.autosummary', #'sphinx.ext.autosummary',
"myst_parser",
"sphinx.ext.autosectionlabel", "sphinx.ext.autosectionlabel",
"sphinx.ext.intersphinx", "sphinx.ext.intersphinx",
"sphinx.ext.todo", "sphinx.ext.todo",

View File

@ -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``. * 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 * Add plain hydrogen turbine as additional re-electrification option besides
hydrogen fuel cell. Add switches for both re-electrification options under hydrogen fuel cell. Add switches for both re-electrification options under

View File

@ -2,9 +2,11 @@
# #
# SPDX-License-Identifier: CC0-1.0 # SPDX-License-Identifier: CC0-1.0
setuptools
sphinx sphinx
sphinx_book_theme sphinx_book_theme
sphinxcontrib-bibtex sphinxcontrib-bibtex
myst-parser # recommark is deprecated, https://stackoverflow.com/a/71660856/13573820
pypsa pypsa
vresutils>=0.3.1 vresutils>=0.3.1