Skip to content

Commit

Permalink
add html to link ignore, also add_css_file
Browse files Browse the repository at this point in the history
  • Loading branch information
agoscinski committed Sep 12, 2024
1 parent 7620580 commit e531860
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ build:
- aiida-pseudo install sssp -x PBEsol
- verdi group list
- cat /proc/cpuinfo | grep processor | wc -l
- python -m sphinx -T -W --keep-going -b linkcheck -d _build/doctrees -D language=en docs $READTHEDOCS_OUTPUT/html
- python -m sphinx -T --keep-going -b linkcheck -d docs/_build/doctrees -D language=en docs $READTHEDOCS_OUTPUT/html


# Build documentation in the docs/ directory with Sphinx
Expand Down
14 changes: 7 additions & 7 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,13 +392,12 @@
suppress_warnings = ["misc.highlighting_failure"]

# Links we ignore, because they do not work temporary and we cannot fix it
linkcheck_ignore = ["https://www.big-map.eu/"]


def setup(app):
"""Setup function called by sphinx."""
app.add_css_file("css/custom.css")

linkcheck_ignore = [
"https://www.big-map.eu/",
"*concept/index.html",
"*howto/index.html",
"http://127.0.0.1:8000/workgraph",
]

# we don't want to run the notebook
nb_execution_mode = "off"
Expand Down Expand Up @@ -492,4 +491,5 @@ def copy_html_files(app, exception):


def setup(app):
app.add_css_file("css/custom.css")
app.connect("build-finished", copy_html_files)

0 comments on commit e531860

Please sign in to comment.