Skip to content

Commit 80c7184

Browse files
committed
Try Sphinx 5.1.1
1 parent 3476c73 commit 80c7184

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

docs/conf.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
import sys
22
import os
33

4+
# Import the chess module.
5+
sys.path.insert(0, os.path.abspath(".."))
6+
import chess
7+
48
# Do not resolve these.
59
autodoc_type_aliases = {
610
"Square": "chess.Square",
@@ -10,10 +14,6 @@
1014
"IntoSquareSet": "chess.IntoSquareSet",
1115
}
1216

13-
# Import the chess module.
14-
sys.path.insert(0, os.path.abspath(".."))
15-
import chess
16-
1717
# Autodoc.
1818
extensions = ["sphinx.ext.autodoc", "sphinx.ext.viewcode", "sphinx.ext.intersphinx"]
1919
autodoc_member_order = "bysource"
@@ -29,7 +29,7 @@
2929

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

3434
# The version.
3535
version = chess.__version__

docs/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Sphinx==4.5.0
1+
Sphinx==5.1.1

0 commit comments

Comments
 (0)