FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python-webuntis/docs/conf.py at master · robquant/python-webuntis · GitHub
robquant
/
python-webuntis
Public
forked from
python-webuntis/python-webuntis
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
python-webuntis
/
docs
/
conf.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
112 lines (83 loc) · 3.5 KB
Breadcrumbs
python-webuntis
/
docs
/
conf.py
Copy path
File metadata and controls
112 lines (83 loc) · 3.5 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# python-webuntis documentation build configuration file, created by
# sphinx-quickstart on Mon Jun 25 15:07:44 2012.
#
# This file is execfile()d with the current directory set to its containing dir.
#
# Note that not all possible configuration values are present in this
# autogenerated file.
#
# All configuration values have a default; values that are commented out
# serve to show the default.
import
sys
,
os
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
sys
.
path
.
insert
(
0
,
os
.
path
.
abspath
(
'..'
))
sys
.
path
.
insert
(
0
,
os
.
path
.
abspath
(
'.'
))
# -- General configuration -----------------------------------------------------
extensions
=
[
'sphinx.ext.autodoc'
,
'sphinx.ext.intersphinx'
]
templates_path
=
[
'_templates'
]
source_suffix
=
'.rst'
master_doc
=
'index'
project
=
'python-webuntis'
copyright
=
u'2013, Markus Unterwaditzer; 2018, August Hörandl'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
import
pkg_resources
try
:
release
=
pkg_resources
.
require
(
'webuntis'
)[
0
].
version
# The full version, including alpha/beta/rc tags.
except
pkg_resources
.
DistributionNotFound
:
release
=
"latest.0.0"
del
pkg_resources
version
=
'.'
.
join
(
release
.
split
(
'.'
)[:
2
])
# The short X.Y version.
exclude_patterns
=
[
'_build'
]
pygments_style
=
'sphinx'
# -- Options for HTML output ---------------------------------------------------
html_theme
=
'default'
#html_static_path = ['_static']
htmlhelp_basename
=
'python-webuntisdoc'
# -- Options for LaTeX output --------------------------------------------------
latex_elements
=
{
# The paper size ('letterpaper' or 'a4paper').
#'papersize': 'letterpaper',
# The font size ('10pt', '11pt' or '12pt').
#'pointsize': '10pt',
# Additional stuff for the LaTeX preamble.
#'preamble': '',
}
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title, author, documentclass [howto/manual]).
latex_documents
=
[
(
'index'
,
'python-webuntis.tex'
,
'python-webuntis Documentation'
,
u'Markus Unterwaditzer, August Hörandl'
,
'manual'
),
]
# -- Options for manual page output --------------------------------------------
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages
=
[
(
'index'
,
'python-webuntis'
,
'python-webuntis Documentation'
,
[
'Markus Unterwaditzer'
,
u'August Hörandl'
],
1
)
]
# -- Options for Texinfo output ------------------------------------------------
# Grouping the document tree into Texinfo files. List of tuples
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents
=
[
(
'index'
,
'python-webuntis'
,
'python-webuntis Documentation'
,
u'Markus Unterwaditzer, August Hörandl'
,
'python-webuntis'
,
'Bindings for WebUntis.'
,
'Miscellaneous'
),
]
# -- Misc mods -----------------------------------------------------------------
# http://stackoverflow.com/a/8415805
def
skip_modules_docstring
(
app
,
what
,
name
,
obj
,
options
,
lines
):
if
what
==
'module'
:
del
lines
[:]
def
setup
(
app
):
app
.
connect
(
'autodoc-process-docstring'
,
skip_modules_docstring
)
# intersphinx
intersphinx_mapping
=
{
'python'
: (
'https://docs.python.org/3'
,
None
)}
Back
|
FazBrowse Home
|
New Git URL