|
1 | 1 | # -*- coding: utf-8 -*-
|
2 |
| -# |
3 |
| -# Paste documentation build configuration file, created by |
4 |
| -# sphinx-quickstart on Tue Apr 22 22:08:49 2008. |
5 |
| -# |
6 |
| -# This file is execfile()d with the current directory set to its containing dir. |
7 |
| -# |
8 |
| -# The contents of this file are pickled, so don't put values in the namespace |
9 |
| -# that aren't pickleable (module imports are okay, they're removed automatically). |
10 |
| -# |
11 |
| -# All configuration values have a default value; values that are commented out |
12 |
| -# serve to show the default value. |
13 |
| - |
14 | 2 | import os
|
15 |
| -import sys |
16 | 3 |
|
17 | 4 | on_rtd = os.environ.get("READTHEDOCS", None) == "True"
|
18 |
| - |
19 |
| -# If your extensions are in another directory, add it here. |
20 |
| -sys.path.insert(0, os.path.abspath(os.pardir)) |
21 |
| - |
22 |
| -# General configuration |
23 |
| -# --------------------- |
24 |
| - |
25 |
| -# Add any Sphinx extension module names here, as strings. They can be extensions |
26 |
| -# coming with Sphinx (named 'sphinx.ext.*') or your custom ones. |
27 | 5 | extensions = ["sphinx.ext.autodoc", "sphinx.ext.extlinks"]
|
28 |
| - |
29 |
| -# Add any paths that contain templates here, relative to this directory. |
30 |
| -# templates_path = ['_templates'] |
31 |
| - |
32 |
| -# The suffix of source filenames. |
33 | 6 | source_suffix = ".rst"
|
34 |
| - |
35 |
| -# The master toctree document. |
36 | 7 | master_doc = "index"
|
37 |
| - |
38 |
| -# General substitutions. |
39 | 8 | project = "virtualenv"
|
40 |
| -copyright = "2007-2014, Ian Bicking, The Open Planning Project, PyPA" |
| 9 | +copyright = "2007-2018, Ian Bicking, The Open Planning Project, PyPA" |
| 10 | + |
41 | 11 |
|
42 |
| -# The default replacements for |version| and |release|, also used in various |
43 |
| -# other places throughout the built documents. |
44 | 12 | try:
|
45 | 13 | from virtualenv import __version__
|
46 | 14 |
|
|
51 | 19 | except ImportError:
|
52 | 20 | version = release = "dev"
|
53 | 21 |
|
54 |
| -# There are two options for replacing |today|: either, you set today to some |
55 |
| -# non-false value, then it is used: |
56 |
| -# today = '' |
57 |
| -# Else, today_fmt is used as the format for a strftime call. |
58 | 22 | today_fmt = "%B %d, %Y"
|
59 |
| - |
60 |
| -# List of documents that shouldn't be included in the build. |
61 | 23 | unused_docs = []
|
62 |
| - |
63 |
| -# If true, '()' will be appended to :func: etc. cross-reference text. |
64 |
| -# add_function_parentheses = True |
65 |
| - |
66 |
| -# If true, the current module name will be prepended to all description |
67 |
| -# unit titles (such as .. function::). |
68 |
| -# add_module_names = True |
69 |
| - |
70 |
| -# If true, sectionauthor and moduleauthor directives will be shown in the |
71 |
| -# output. They are ignored by default. |
72 |
| -# show_authors = False |
73 |
| - |
74 |
| -# The name of the Pygments (syntax highlighting) style to use. |
75 | 24 | pygments_style = "sphinx"
|
76 | 25 |
|
77 | 26 | extlinks = {
|
78 | 27 | "issue": ("https://github.com/pypa/virtualenv/issues/%s", "#"),
|
79 | 28 | "pull": ("https://github.com/pypa/virtualenv/pull/%s", "PR #"),
|
80 | 29 | }
|
81 | 30 |
|
82 |
| - |
83 |
| -# Options for HTML output |
84 |
| -# ----------------------- |
85 |
| - |
86 |
| -# The style sheet to use for HTML and HTML Help pages. A file of that name |
87 |
| -# must exist either in Sphinx' static/ path, or in one of the custom paths |
88 |
| -# given in html_static_path. |
89 |
| -# html_style = 'default.css' |
90 |
| - |
91 | 31 | html_theme = "default"
|
92 | 32 | if not on_rtd:
|
93 | 33 | try:
|
|
97 | 37 | html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
|
98 | 38 | except ImportError:
|
99 | 39 | pass
|
100 |
| - |
101 |
| - |
102 |
| -# Add any paths that contain custom static files (such as style sheets) here, |
103 |
| -# relative to this directory. They are copied after the builtin static files, |
104 |
| -# so a file named "default.css" will overwrite the builtin "default.css". |
105 |
| -# html_static_path = ['_static'] |
106 |
| - |
107 |
| -# If not '', a 'Last updated on:' timestamp is inserted at every page bottom, |
108 |
| -# using the given strftime format. |
109 | 40 | html_last_updated_fmt = "%b %d, %Y"
|
110 |
| - |
111 |
| -# If true, SmartyPants will be used to convert quotes and dashes to |
112 |
| -# typographically correct entities. |
113 |
| -# html_use_smartypants = True |
114 |
| - |
115 |
| -# Content template for the index page. |
116 |
| -# html_index = '' |
117 |
| - |
118 |
| -# Custom sidebar templates, maps document names to template names. |
119 |
| -# html_sidebars = {} |
120 |
| - |
121 |
| -# Additional templates that should be rendered to pages, maps page names to |
122 |
| -# template names. |
123 |
| -# html_additional_pages = {} |
124 |
| - |
125 |
| -# If false, no module index is generated. |
126 |
| -# html_use_modindex = True |
127 |
| - |
128 |
| -# If true, the reST sources are included in the HTML build as _sources/<name>. |
129 |
| -# html_copy_source = True |
130 |
| - |
131 |
| -# Output file base name for HTML help builder. |
132 | 41 | htmlhelp_basename = "Pastedoc"
|
133 |
| - |
134 |
| - |
135 |
| -# Options for LaTeX output |
136 |
| -# ------------------------ |
137 |
| - |
138 |
| -# The paper size ('letter' or 'a4'). |
139 |
| -# latex_paper_size = 'letter' |
140 |
| - |
141 |
| -# The font size ('10pt', '11pt' or '12pt'). |
142 |
| -# latex_font_size = '10pt' |
143 |
| - |
144 |
| -# Grouping the document tree into LaTeX files. List of tuples |
145 |
| -# (source start file, target name, title, author, document class [howto/manual]). |
146 |
| -# latex_documents = [] |
147 |
| - |
148 |
| -# Additional stuff for the LaTeX preamble. |
149 |
| -# latex_preamble = '' |
150 |
| - |
151 |
| -# Documents to append as an appendix to all manuals. |
152 |
| -# latex_appendices = [] |
153 |
| - |
154 |
| -# If false, no module index is generated. |
155 |
| -# latex_use_modindex = True |
0 commit comments