Skip to content

Commit 5ed41e3

Browse files
authored
chore: added install for mkdocs insiders (#1481)
1 parent 22cff79 commit 5ed41e3

File tree

2 files changed

+9
-18
lines changed

2 files changed

+9
-18
lines changed

.readthedocs.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,6 @@ build:
66
python: "3.12"
77
commands:
88
- pip install -e .[docs]
9+
- if [ -n "$GH_TOKEN" ]; then pip install git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git; fi
910
- python scripts/gen_ref_pages.py
10-
- mkdocs build --site-dir $READTHEDOCS_OUTPUT/html
11-
12-
# mkdocs:
13-
# configuration: mkdocs.yml
14-
15-
# python:
16-
# install:
17-
# - method: pip
18-
# path: .
19-
# extra_requirements:
20-
# - docs
11+
- mkdocs build --site-dir $READTHEDOCS_OUTPUT/html

mkdocs.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,10 @@ nav:
108108
- ❤️ Community: community/index.md
109109

110110
# https://www.mkdocs.org/user-guide/configuration/#validation
111-
# validation:
112-
# omitted_files: warn
113-
# absolute_links: warn
114-
# unrecognized_links: warn
111+
validation:
112+
omitted_files: warn
113+
absolute_links: warn
114+
unrecognized_links: warn
115115

116116
# Material-Docs Theme
117117
theme:
@@ -216,16 +216,16 @@ plugins:
216216
signature_crossrefs: true
217217
- mkdocs-jupyter:
218218
execute: false
219-
# include: ["*.ipynb"]
220-
ignore: ["*.md", "*.ipynb"]
219+
include: ["*.ipynb"]
220+
ignore: ["*.md"]
221221
jupyter_options:
222222
hide_input: false
223223
hide_output: false
224224
code_folding: true
225225
code_line_numbers: true
226226
jupyter_images: true
227227
jupyter_table_beautifier: true
228-
# - glightbox
228+
- glightbox
229229

230230
extra_javascript:
231231
- _static/js/mathjax.js

0 commit comments

Comments
 (0)