Skip to content

Commit

Permalink
Try Sphinx 5.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasf committed Sep 17, 2022
1 parent 3476c73 commit 80c7184
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
import sys
import os

# Import the chess module.
sys.path.insert(0, os.path.abspath(".."))
import chess

# Do not resolve these.
autodoc_type_aliases = {
"Square": "chess.Square",
Expand All @@ -10,10 +14,6 @@
"IntoSquareSet": "chess.IntoSquareSet",
}

# Import the chess module.
sys.path.insert(0, os.path.abspath(".."))
import chess

# Autodoc.
extensions = ["sphinx.ext.autodoc", "sphinx.ext.viewcode", "sphinx.ext.intersphinx"]
autodoc_member_order = "bysource"
Expand All @@ -29,7 +29,7 @@

# General information about the project.
project = "python-chess"
copyright = "2014–2021, Niklas Fiekas"
copyright = "2014–2022, Niklas Fiekas"

# The version.
version = chess.__version__
Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Sphinx==4.5.0
Sphinx==5.1.1

0 comments on commit 80c7184

Please sign in to comment.