Debian Codegraph @

docs/conf.py

raw symbols SCIP
1 # encoding: utf-8
2
3 # This file is part of requirements-parser library.
4 #
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
8 #
9 # http://www.apache.org/licenses/LICENSE-2.0
10 #
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16 #
17 # SPDX-License-Identifier: Apache-2.0
18
19 #
20 # Requirements Parser documentation build configuration file, created by
21 # sphinx-quickstart on Fri Aug 16 07:44:12 2013.
22 #
23 # This file is execfile()d with the current directory set to its containing dir.
24 #
25 # Note that not all possible configuration values are present in this
26 # autogenerated file.
27 #
28 # All configuration values have a default; values that are commented out
29 # serve to show the default.
30
31 # -- Project information -----------------------------------------------------
32 import pkg_resources
33
34 project = "Requirements Parser"
35 copyright = "2015 - David Fischer, 2021 - Paul Horton"
36 author = "David Fischer, Paul Horton"
37
38 # The full version, including alpha/beta/rc tags
39 release = pkg_resources.get_distribution("requirements-parser").version
40
41 master_doc = 'index'
42
43 # -- General configuration ---------------------------------------------------
44
45 # Add any Sphinx extension module names here, as strings. They can be
46 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
47 # ones.
48 extensions = [
49 "sphinx.ext.autodoc",
50 "sphinx.ext.viewcode",
51 "sphinx_rtd_theme",
52 "m2r2"
53 ]
54
55 # Support both RST and MD
56 source_suffix = ['.rst', '.md']
57
58 # Add any paths that contain templates here, relative to this directory.
59 templates_path = ["_templates"]
60
61 # List of patterns, relative to source directory, that match files and
62 # directories to ignore when looking for source files.
63 # This pattern also affects html_static_path and html_extra_path.
64 exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
65
66
67 # -- Options for HTML output -------------------------------------------------
68
69 # The theme to use for HTML and HTML Help pages. See the documentation for
70 # a list of builtin themes.
71 #
72 html_theme = 'sphinx_rtd_theme'
73
74 # Add any paths that contain custom static files (such as style sheets) here,
75 # relative to this directory. They are copied after the builtin static files,
76 # so a file named "default.css" will overwrite the builtin "default.css".
77 html_static_path = ["_static"]