Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zodburi
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
zodburi
Commits
8f611b81
Commit
8f611b81
authored
Oct 02, 2018
by
Steve Piercy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Sphinx configuration
- Perpetual year in copyright - Current version - Clean up imports and calls
parent
4682cf25
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
docs/conf.py
docs/conf.py
+5
-4
No files found.
docs/conf.py
View file @
8f611b81
...
...
@@ -17,11 +17,14 @@
# make it absolute, like shown here.
#sys.path.append(os.path.abspath('some/directory'))
import
sys
,
os
import
datetime
import
pkg_resources
import
pylons_sphinx_themes
# General configuration
# ---------------------
thisyear
=
datetime
.
datetime
.
now
().
year
copyright
=
'2011-%s, Agendaless Consulting <chrism@plope.com>'
%
thisyear
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
...
...
@@ -41,13 +44,12 @@ master_doc = 'index'
# General substitutions.
project
=
'zodburi'
copyright
=
'2011, Agendaless Consulting <chrism@plope.com>'
# The default replacements for |version| and |release|, also used in various
# other places throughout the built documents.
#
# The short X.Y version.
version
=
'0.0'
version
=
pkg_resources
.
get_distribution
(
'zodburi'
).
version
# The full version, including alpha/beta/rc tags.
release
=
version
...
...
@@ -86,7 +88,6 @@ pygments_style = 'sphinx'
# -----------------------
# Add and use Pylons theme
sys
.
path
.
append
(
os
.
path
.
abspath
(
'_themes'
))
html_theme_path
=
pylons_sphinx_themes
.
get_html_themes_path
()
html_theme
=
'pylons'
html_theme_options
=
dict
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment