|
1 | | -# |
2 | | -# marshmallow documentation build configuration file. |
3 | | -# |
4 | | -# This file is execfile()d with the current directory set to its containing dir. |
5 | | -# |
6 | | -# Note that not all possible configuration values are present in this |
7 | | -# autogenerated file. |
8 | | -# |
9 | | -# All configuration values have a default; values that are commented out |
10 | | -# serve to show the default. |
11 | | - |
12 | 1 | from collections import OrderedDict |
13 | 2 | import sys |
14 | 3 | import os |
15 | 4 | import datetime as dt |
16 | 5 |
|
17 | 6 | import alabaster |
18 | 7 |
|
19 | | -# If extensions (or modules to document with autodoc) are in another directory, |
20 | | -# add these directories to sys.path here. If the directory is relative to the |
21 | | -# documentation root, use os.path.abspath to make it absolute, like shown here. |
22 | 8 | sys.path.insert(0, os.path.abspath(os.path.join("..", "src"))) |
23 | 9 | import marshmallow # noqa: E402 |
24 | 10 |
|
25 | | -# -- General configuration ----------------------------------------------------- |
26 | | - |
27 | | -# If your documentation needs a minimal Sphinx version, state it here. |
28 | | -# needs_sphinx = '1.0' |
29 | | - |
30 | | -# Add any Sphinx extension module names here, as strings. They can be extensions |
31 | | -# coming with Sphinx (named 'sphinx.ext.*') or your custom ones. |
32 | 11 | extensions = [ |
33 | 12 | "sphinx.ext.autodoc", |
34 | 13 | "sphinx.ext.intersphinx", |
|
45 | 24 |
|
46 | 25 | issues_github_path = "marshmallow-code/marshmallow" |
47 | 26 |
|
48 | | -# Add any paths that contain templates here, relative to this directory. |
49 | 27 | templates_path = ["_templates"] |
50 | 28 |
|
51 | | -# The suffix of source filenames. |
52 | 29 | source_suffix = ".rst" |
53 | | -# The master toctree document. |
54 | 30 | master_doc = "index" |
55 | 31 |
|
56 | | -# General information about the project. |
57 | 32 | project = "marshmallow" |
58 | 33 | copyright = ' {:%Y} <a href="https://stevenloria.com">Steven Loria</a> and contributors'.format( |
59 | 34 | dt.datetime.utcfromtimestamp(os.path.getmtime("../CHANGELOG.rst")) |
|
0 commit comments