File tree Expand file tree Collapse file tree 4 files changed +59
-0
lines changed Expand file tree Collapse file tree 4 files changed +59
-0
lines changed Original file line number Diff line number Diff line change
1
+ # flake8: noqa
2
+ from {{name}}._version import __version__
3
+ from {{name}}._version import __author__
Original file line number Diff line number Diff line change
1
+ __version__ = '{{version}}'
2
+ __author__ = '{{author}}'
Original file line number Diff line number Diff line change
1
+ # -*- coding: utf-8 -*-
2
+ {%block additional_imports%}
3
+ {%endblock%}
4
+ DESCRIPTION = (
5
+ {% for i in range(0, description|length, 70) %}
6
+ '{{ description[i:(70+i)] }}' +
7
+ {% endfor %}
8
+ ''
9
+ )
10
+ extensions = [
11
+ 'sphinx.ext.autodoc',
12
+ 'sphinx.ext.doctest',
13
+ 'sphinx.ext.intersphinx',
14
+ 'sphinx.ext.viewcode',
15
+ {%block SPHINX_EXTENSIONS%}
16
+ {%endblock%}
17
+ ]
18
+
19
+ templates_path = ['_templates']
20
+ source_suffix = '.rst'
21
+ master_doc = 'index'
22
+
23
+ project = u'{{name}}'
24
+ copyright = u'{{copyright_year}} {{company}}'
25
+ version = '{{release}}'
26
+ release = '{{version}}'
27
+ exclude_patterns = []
28
+ pygments_style = 'sphinx'
29
+ {%block custom_doc_theme%}
30
+ html_theme = 'default'
31
+ {%endblock%}
32
+ html_static_path = ['_static']
33
+ htmlhelp_basename = '{{name}}doc'
34
+ latex_elements = {}
35
+ latex_documents = [
36
+ ('index', '{{name}}.tex',
37
+ '{{name}} Documentation',
38
+ '{{company}}', 'manual'),
39
+ ]
40
+ man_pages = [
41
+ ('index', '{{name}}',
42
+ '{{name}} Documentation',
43
+ [u'{{company}}'], 1)
44
+ ]
45
+ texinfo_documents = [
46
+ ('index', '{{name}}',
47
+ '{{name}} Documentation',
48
+ '{{company}}', '{{name}}',
49
+ DESCRIPTION,
50
+ 'Miscellaneous'),
51
+ ]
Original file line number Diff line number Diff line change
1
+ {% for dependency in dependencies: %}
2
+ {{dependency}}
3
+ {% endfor %}
You can’t perform that action at this time.
0 commit comments