Skip to content

Commit

Permalink
FIX: resolve sphinx-exercise label issue (#30)
Browse files Browse the repository at this point in the history
* FIX: install Sphinx v5
* MAINT: remove `sphinx-external-toc`
  • Loading branch information
redeboer authored Nov 10, 2023
1 parent f99ed4f commit fa0e8a9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
3 changes: 0 additions & 3 deletions docs/_toc.yml

This file was deleted.

3 changes: 0 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,8 @@ def get_execution_mode() -> str:
"sphinx_copybutton",
"sphinx_design",
"sphinx_exercise",
"sphinx_external_toc",
"sphinx_togglebutton",
]
external_toc_exclude_missing = True
external_toc_path = "_toc.yml"
html_favicon = "_static/favicon.ico"
html_js_files = [
"https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js"
Expand Down
7 changes: 5 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@

## Table of contents

:::{tableofcontents}
:::
```{toctree}
:glob:
:maxdepth: 2
lecture*
```
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ doc = [
"sphinx-copybutton",
"sphinx-design",
"sphinx-exercise",
"sphinx-external-toc",
"sphinx-togglebutton",
"sphinx<6", # https://github.com/ComPWA/strong2020-salamanca/issues/29
]
format = [
"black",
Expand Down

0 comments on commit fa0e8a9

Please sign in to comment.