Changeset View
Changeset View
Standalone View
Standalone View
source/conf.py
Show First 20 Lines • Show All 355 Lines • ▼ Show 20 Lines | |||||
# add default tags if no custom ones defined | # add default tags if no custom ones defined | ||||
if not custom_tags: | if not custom_tags: | ||||
for tag in default_tags: | for tag in default_tags: | ||||
tags.add(tag) | tags.add(tag) | ||||
# add variables as substitutions to the head of each page | # add variables as substitutions to the head of each page | ||||
rst_prolog = "" | rst_prolog = "" | ||||
for var,repl in variables.items(): | for var, repl in variables.items(): | ||||
rst_prolog += " .. |%s| replace:: %s\n" % (var, repl) | rst_prolog += " .. |%s| replace:: %s\n" % (var, repl) | ||||
rst_prolog += " .. |**%s**| replace:: **%s**\n" % (var, repl) | rst_prolog += " .. |**%s**| replace:: **%s**\n" % (var, repl) | ||||
# forward variables for substitutions in fancyfigures | # forward variables for substitutions in fancyfigures | ||||
fancyfigure_variables = variables | fancyfigure_variables = variables | ||||
extlinks = { | extlinks = { | ||||
'rfc': ('http://tools.ietf.org/html/rfc%s', 'RFC '), | 'rfc': ('http://tools.ietf.org/html/rfc%s', 'RFC '), | ||||
'mock': ('https://git.kolab.org/T%s', 'Mock #'), | 'mock': ('https://git.kolab.org/T%s', 'Mock #'), | ||||
'task': ('https://git.kolab.org/T%s', 'Task #'), | 'task': ('https://git.kolab.org/T%s', 'Task #'), | ||||
} | } | ||||
rst_prolog += """ | rst_prolog += """ | ||||
.. _Architecture & Design: https://git.kolab.org/tag/architecture_design/ | .. _Architecture & Design: https://git.kolab.org/tag/architecture_design/ | ||||
.. _bugzilla: https://issues.kolab.org/ | |||||
.. _current sprint: https://git.kolab.org/tag/sprint_current/ | |||||
.. _next sprint: https://git.kolab.org/tag/sprint_next/ | |||||
.. _Differential: https://git.kolab.org/differential/ | .. _Differential: https://git.kolab.org/differential/ | ||||
.. _Diffusion: https://git.kolab.org/diffusion/ | .. _Diffusion: https://git.kolab.org/diffusion/ | ||||
.. _Drydock: https://git.kolab.org/drydock/ | .. _Drydock: https://git.kolab.org/drydock/ | ||||
.. _EPEL for Enterprise Linux 6: http://download.fedoraproject.org/pub/epel/6/x86_64/repoview/epel-release.html | .. _EPEL for Enterprise Linux 6: http://download.fedoraproject.org/pub/epel/6/x86_64/repoview/epel-release.html | ||||
.. _EPEL for Enterprise Linux 7: http://download.fedoraproject.org/pub/epel/7/x86_64/repoview/epel-release.html | .. _EPEL for Enterprise Linux 7: http://download.fedoraproject.org/pub/epel/7/x86_64/repoview/epel-release.html | ||||
.. _Harbormaster: https://git.kolab.org/harbormaster/ | .. _Harbormaster: https://git.kolab.org/harbormaster/ | ||||
.. _Herald: https://git.kolab.org/herald/ | .. _Herald: https://git.kolab.org/herald/ | ||||
.. _Kolab Systems AG: https://kolabsystems.com | .. _Kolab Systems AG: https://kolabsystems.com | ||||
.. _Maniphest: https://git.kolab.org/maniphest/ | .. _Maniphest: https://git.kolab.org/maniphest/ | ||||
.. _Phabricator: https://git.kolab.org/ | .. _Phabricator: https://git.kolab.org/ | ||||
.. _Process Managers: https://git.kolab.org/tag/process_managers/ | .. _Process Managers: https://git.kolab.org/tag/process_managers/ | ||||
.. _Product Owners: https://git.kolab.org/tag/product_owners/ | .. _Product Owners: https://git.kolab.org/tag/product_owners/ | ||||
.. _Projects: https://git.kolab.org/projects/ | .. _Projects: https://git.kolab.org/projects/ | ||||
.. _Quality Assurance: https://git.kolab.org/tag/quality_assurance/ | .. _Quality Assurance: https://git.kolab.org/tag/quality_assurance/ | ||||
.. _Report a bug: https://git.kolab.org/maniphest/task/edit/form/9/ | |||||
.. _Scrum: http://en.wikipedia.org/wiki/Scrum_%28software_development%29 | |||||
.. _Scrum Masters: https://git.kolab.org/tag/process_managers/ | .. _Scrum Masters: https://git.kolab.org/tag/process_managers/ | ||||
.. _Sprints: https://git.kolab.org/project/sprint/ | .. _Sprints: https://git.kolab.org/project/sprint/ | ||||
.. _Why Your System Should Have a Proper FQDN: https://kanarip.wordpress.com/2016/02/04/why-your-system-requires-a-proper-fqdn/ | .. _Why Your System Should Have a Proper FQDN: https://kanarip.wordpress.com/2016/02/04/why-your-system-requires-a-proper-fqdn/ | ||||
""" | """ | ||||
rst_prolog += """ | |||||
.. role:: blue | |||||
.. role:: gray | |||||
.. role:: green | |||||
.. role:: orange | |||||
.. role:: red | |||||
""" |