Skip to content

Commit

Permalink
🐛 📝 Fix wrong documentation building with myst_parser (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
Galileo-Galilei committed May 2, 2022
1 parent 5ad1f4e commit 1389dc0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
9 changes: 4 additions & 5 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,12 @@
#
html_theme = "sphinx_rtd_theme"

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ["_static"]

# useful to create dropdown with the name of the directory as the section name
# see https://stackoverflow.com/questions/36925871/toctree-nested-drop-down:
html_theme_options = {"collapse_navigation": False}

myst_heading_anchors = 5


def setup(app):
pass
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ def _parse_requirements(path, encoding="utf-8"):
"sphinx-markdown-tables==0.0.15",
"sphinx-click==3.1.0",
"sphinx_copybutton==0.5.0",
"pandas>=1.0.0, <2.0.0", # avoid to make readthedocs load rc version
"numpy>=1.0.0, <2.0.0", # bug on windows for numpy 1.19.0->1.19.4
"myst-parser~=0.17.2",
],
"test": [
"pytest>=5.4.0, <8.0.0",
Expand Down

0 comments on commit 1389dc0

Please sign in to comment.