Skip to content

Commit

Permalink
docs: downgrade sphinx~=5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda committed Mar 25, 2024
1 parent 3188db3 commit e6dc450
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
6 changes: 3 additions & 3 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import os
import re
import sys
from typing import Optional
from typing import List, Optional

import lightning_utilities
import pt_lightning_sphinx_theme
Expand Down Expand Up @@ -73,7 +73,7 @@ def _convert_markdown(path_in: str, path_out: str, path_root: str) -> None:

# If your documentation needs a minimal Sphinx version, state it here.

needs_sphinx = "6.2"
needs_sphinx = "5.3"

# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
Expand Down Expand Up @@ -270,7 +270,7 @@ def setup(app):

# Ignoring Third-party packages
# https://stackoverflow.com/questions/15889621/sphinx-how-to-exclude-imports-in-automodule
def _package_list_from_file(file: str) -> list[str]:
def _package_list_from_file(file: str) -> List[str]:
list_pkgs = []
with open(file) as fp:
lines = fp.readlines()
Expand Down
6 changes: 2 additions & 4 deletions requirements/_docs.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
sphinx >=6.0,<7.0
myst-parser >=2.0.0, <3.0.0
sphinx >=5.0,<6.0
myst-parser >=1.0.0, <2.0.0
nbsphinx >=0.8.5
ipython[notebook]
pandoc >=1.0
Expand All @@ -14,5 +14,3 @@ sphinx-autodoc-typehints >=1.0
sphinx-paramlinks >=0.5.1
sphinx-togglebutton >=0.2
sphinx-copybutton >=0.3

numpy # for validation of custom/local version adjustemnt

0 comments on commit e6dc450

Please sign in to comment.