|
6 | 6 |
|
7 | 7 | sys.path.insert(0, str(Path(__file__).parent.parent.parent / "src")) |
8 | 8 |
|
9 | | -from mss import __author__, __date__, __version__ # noqa |
| 9 | +import mss |
10 | 10 |
|
11 | 11 | # -- General configuration ------------------------------------------------ |
12 | 12 |
|
13 | | -# Add any Sphinx extension module names here, as strings. They can be |
14 | | -# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom |
15 | | -# ones. |
16 | 13 | extensions = ["sphinx.ext.intersphinx"] |
17 | | - |
18 | | -# Add any paths that contain templates here, relative to this directory. |
19 | 14 | templates_path = ["_templates"] |
20 | | - |
21 | | -# The suffix(es) of source filenames. |
22 | | -# You can specify multiple suffix as a list of string: |
23 | | -# |
24 | | -# source_suffix = ['.rst', '.md'] |
25 | 15 | source_suffix = ".rst" |
26 | | - |
27 | | -# The master toctree document. |
28 | 16 | master_doc = "index" |
29 | 17 |
|
30 | 18 | # General information about the project. |
31 | 19 | project = "Python MSS" |
32 | | -copyright = f"{__date__}, {__author__} & contributors" |
33 | | -author = "Tiger-222" |
| 20 | +copyright = f"{mss.__date__}, {mss.__author__} & contributors" # noqa:A001 |
| 21 | +author = mss.__author__ |
| 22 | +version = mss.__version__ |
34 | 23 |
|
35 | | -# The version info for the project you're documenting, acts as replacement for |
36 | | -# |version| and |release|, also used in various other places throughout the |
37 | | -# built documents. |
38 | | -# |
39 | | -# The short X.Y version. |
40 | | -version = __version__ |
41 | | - |
42 | | -# The full version, including alpha/beta/rc tags. |
43 | 24 | release = "latest" |
44 | | - |
45 | | -# The language for content autogenerated by Sphinx. Refer to documentation |
46 | | -# for a list of supported languages. |
47 | | -# |
48 | | -# This is also used if you do content translation via gettext catalogs. |
49 | | -# Usually you set "language" from the command line for these cases. |
50 | 25 | language = "en" |
51 | | - |
52 | | -# List of patterns, relative to source directory, that match files and |
53 | | -# directories to ignore when looking for source files. |
54 | | -# This patterns also effect to html_static_path and html_extra_path |
55 | | -exclude_patterns = [] |
56 | | - |
57 | | -# The name of the Pygments (syntax highlighting) style to use. |
58 | | -pygments_style = "sphinx" |
59 | | - |
60 | 26 | todo_include_todos = True |
61 | 27 |
|
62 | 28 |
|
63 | 29 | # -- Options for HTML output ---------------------------------------------- |
64 | 30 |
|
65 | | -# The theme to use for HTML and HTML Help pages. See the documentation for |
66 | | -# a list of builtin themes. |
67 | 31 | html_theme = "default" |
68 | | - |
69 | | -# Output file base name for HTML help builder. |
70 | 32 | htmlhelp_basename = "PythonMSSdoc" |
71 | 33 |
|
72 | 34 |
|
|
0 commit comments