Skip to content

Commit

Permalink
Merge pull request #63 from N3PDF/fix-rtd
Browse files Browse the repository at this point in the history
Fix readthedocs
  • Loading branch information
felixhekhorn authored Feb 28, 2024
2 parents 38df78f + b6b5eab commit b0c3e9d
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 44 deletions.
5 changes: 3 additions & 2 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ build:
jobs:
post_create_environment:
- pip install poetry
- poetry config virtualenvs.create false
#- poetry config virtualenvs.create false
post_install:
- poetry install --with docs
#- poetry install --with docs
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --with docs

# Build documentation in the docs/ directory with Sphinx
sphinx:
Expand Down
6 changes: 3 additions & 3 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@
rst_prolog = "\n".join([open(x, encoding="utf-8").read() for x in os.scandir(shared)])

extlinks = {
"yadism": ("https://n3pdf.github.io/yadism/%s", "yadism"),
"eko": ("https://n3pdf.github.io/eko/%s", "eko"),
"pineko": ("https://github.com/N3PDF/pineko/%s", "pineko"),
"yadism": ("https://n3pdf.github.io/yadism/%s", "yadism/%s"),
"eko": ("https://n3pdf.github.io/eko/%s", "eko/%s"),
"pineko": ("https://github.com/N3PDF/pineko/%s", "pineko/%s"),
}

# -- Options for HTML output -------------------------------------------------
Expand Down
66 changes: 28 additions & 38 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ appdirs = "^1.4.4"
optional = true

[tool.poetry.group.docs.dependencies]
Sphinx = "^4.3.2"
Sphinx = "^7.0.0"
sphinx-rtd-theme = "^1.0.0"
sphinxcontrib-bibtex = "^2.4.1"

Expand Down

0 comments on commit b0c3e9d

Please sign in to comment.