|
1 | | -# -*- coding: utf-8 -*- |
2 | 1 | # |
3 | 2 | # sphinx-argparse documentation build configuration file, created by |
4 | 3 | # sphinx-quickstart on Thu Jan 31 15:13:43 2013. |
|
11 | 10 | # All configuration values have a default; values that are commented out |
12 | 11 | # serve to show the default. |
13 | 12 |
|
14 | | -import sys, os |
| 13 | +import os |
| 14 | +import sys |
15 | 15 |
|
16 | 16 | # If extensions (or extra_modules to document with autodoc) are in another directory, |
17 | 17 | # add these directories to sys.path here. If the directory is relative to the |
|
51 | 51 | master_doc = 'index' |
52 | 52 |
|
53 | 53 | # General information about the project. |
54 | | -project = u'sphinx-argparse' |
55 | | -copyright = u'2017, Alex Rudakov, Devon Ryan and contributors' |
| 54 | +project = 'sphinx-argparse' |
| 55 | +copyright = '2017, Alex Rudakov, Devon Ryan and contributors' |
56 | 56 |
|
57 | 57 | # The version info for the project you're documenting, acts as replacement for |
58 | 58 | # |version| and |release|, also used in various other places throughout the |
|
61 | 61 | # The short X.Y version. |
62 | 62 |
|
63 | 63 | import pkg_resources # part of setuptools |
| 64 | + |
64 | 65 | version = pkg_resources.require("sphinx-argparse")[0].version |
65 | 66 |
|
66 | 67 | # The full version, including alpha/beta/rc tags. |
|
197 | 198 | # Grouping the document tree into LaTeX files. List of tuples |
198 | 199 | # (source start file, target name, title, author, documentclass [howto/manual]). |
199 | 200 | latex_documents = [ |
200 | | - ('index', 'sphinx-argparse.tex', u'sphinx-argparse Documentation', |
201 | | - u'Alex Rudakov and Devon Ryan', 'manual'), |
| 201 | + ('index', 'sphinx-argparse.tex', 'sphinx-argparse Documentation', |
| 202 | + 'Alex Rudakov and Devon Ryan', 'manual'), |
202 | 203 | ] |
203 | 204 |
|
204 | 205 | # The name of an image file (relative to this directory) to place at the top of |
|
227 | 228 | # One entry per manual page. List of tuples |
228 | 229 | # (source start file, name, description, authors, manual section). |
229 | 230 | man_pages = [ |
230 | | - ('index', 'sphinx-argparse', u'sphinx-argparse Documentation', |
231 | | - [u'Alex Rudakov', u'Devon Ryan'], 1) |
| 231 | + ('index', 'sphinx-argparse', 'sphinx-argparse Documentation', |
| 232 | + ['Alex Rudakov', 'Devon Ryan'], 1) |
232 | 233 | ] |
233 | 234 |
|
234 | 235 | # If true, show URL addresses after external links. |
|
241 | 242 | # (source start file, target name, title, author, |
242 | 243 | # dir menu entry, description, category) |
243 | 244 | texinfo_documents = [ |
244 | | - ('index', 'sphinx-argparse', u'sphinx-argparse Documentation', |
245 | | - u'Alex Rudakov and Devon Ryan', 'sphinx-argparse', 'One line description of project.', |
| 245 | + ('index', 'sphinx-argparse', 'sphinx-argparse Documentation', |
| 246 | + 'Alex Rudakov and Devon Ryan', 'sphinx-argparse', 'One line description of project.', |
246 | 247 | 'Miscellaneous'), |
247 | 248 | ] |
248 | 249 |
|
|
0 commit comments