Skip to content

Commit 5338d10

Browse files
authored
[+] add a Sphinx conf.py file to documentation, fixes #590 (#591)
1 parent c49f578 commit 5338d10

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

docs/conf.py

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Configuration file for the Sphinx documentation builder.
2+
#
3+
# This file only contains a selection of the most common options. For a full
4+
# list see the documentation:
5+
# https://www.sphinx-doc.org/en/master/usage/configuration.html
6+
7+
from __future__ import division, print_function, unicode_literals
8+
9+
from datetime import datetime
10+
11+
from recommonmark.parser import CommonMarkParser
12+
13+
extensions = []
14+
templates_path = ['templates', '_templates', '.templates']
15+
source_suffix = ['.rst', '.md']
16+
source_parsers = {
17+
'.md': CommonMarkParser,
18+
}
19+
project = u'pg_timetable'
20+
copyright = str(datetime.now().year)
21+
22+
# -- Options for EPUB output
23+
epub_show_urls = "footnote"
24+
25+
exclude_patterns = ['_build']
26+
pygments_style = 'sphinx'
27+
htmlhelp_basename = 'pg-timetable'
28+
html_theme = 'sphinx_rtd_theme'
29+
file_insertion_enabled = False
30+
latex_documents = [
31+
('index', 'pg-timetable.tex', u'pg_timetable Documentation',
32+
u'', 'manual'),
33+
]
34+

0 commit comments

Comments
 (0)