File: conf.py

package info (click to toggle)
segno 1.6.6-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,072 kB
  • sloc: python: 9,936; makefile: 162; javascript: 16
file content (87 lines) | stat: -rw-r--r-- 2,189 bytes parent folder | download | duplicates (2)
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
#
# segno documentation build configuration file
#
import os
import sys

sys.path.insert(0, os.path.abspath('..'))

import segno

extensions = [
    'sphinx.ext.autodoc',
    'sphinx_paramlinks',
    'sphinx.ext.intersphinx',
]

autodoc_member_order = 'groupwise'

intersphinx_mapping = {'python': ('https://docs.python.org/3', None)}

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

source_suffix = '.rst'

# The master toctree document.
master_doc = 'index'

project = 'Segno'
copyright = '2016 - 2025 Lars Heuer -- "QR Code" and "Micro QR Code" are registered trademarks of DENSO WAVE INCORPORATED.'  # noqa: E501
author = 'Lars Heuer'
version = segno.__version__

language = 'en'

exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']

show_authors = False

# If true, `todo` and `todoList` produce output, else they produce nothing.
todo_include_todos = True


html_theme = 'furo'  # 'sphinx_rtd_theme'  #'classic' #'alabaster'

html_theme_options = {
    'globaltoc_collapse': False
}

html_static_path = ['_static']

pygments_dark_style = 'lightbulb'

# Output file base name for HTML help builder.
htmlhelp_basename = 'segnodoc'


# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title,
#  author, documentclass [howto, manual, or own class]).
latex_documents = [
  (master_doc, 'segno.tex', 'Segno Documentation', 'Author', 'manual'),
]

# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
    ('man/segno', 'segno', 'Segno QR Code encoder', '', 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 = [
  (master_doc, 'segno', 'Segno Documentation',
   author, 'segno', 'One line description of project.',
   'Miscellaneous'),
]

# Bibliographic Dublin Core info.
epub_title = project
epub_author = author
epub_publisher = author
epub_copyright = copyright
epub_exclude_files = ['search.html']