File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import sys
22import os
33
4+ # Import the chess module.
5+ sys .path .insert (0 , os .path .abspath (".." ))
6+ import chess
7+
48# Do not resolve these.
59autodoc_type_aliases = {
610 "Square" : "chess.Square" ,
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.
1818extensions = ["sphinx.ext.autodoc" , "sphinx.ext.viewcode" , "sphinx.ext.intersphinx" ]
1919autodoc_member_order = "bysource"
2929
3030# General information about the project.
3131project = "python-chess"
32- copyright = "2014–2021 , Niklas Fiekas"
32+ copyright = "2014–2022 , Niklas Fiekas"
3333
3434# The version.
3535version = chess .__version__
Original file line number Diff line number Diff line change 1- Sphinx == 4.5.0
1+ Sphinx == 5.1.1
You can’t perform that action at this time.
0 commit comments