File: conf.py

package info (click to toggle)
seqan2 2.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 228,748 kB
  • sloc: cpp: 257,602; ansic: 91,967; python: 8,326; sh: 1,056; xml: 570; makefile: 229; awk: 51; javascript: 21
file content (112 lines) | stat: -rw-r--r-- 3,712 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
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
# Configuration file for the Sphinx documentation builder.
#
# For the full list of built-in configuration values, see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html

import sys
import os

import sphinx_rtd_theme

# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information

# General information about the project.
project = u'SeqAn'
copyright = u'2015, The SeqAn Team'

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

extensions = [
    'sphinx.ext.todo',
    'sphinx.ext.mathjax',
    'sphinx.ext.ifconfig',
    'sphinxcontrib.bibtex',
    'seqansphinx.doxlinks',
    'seqansphinx.includefrags',
]

[extensions]
todo_include_todos=True

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

# The suffix of source filenames.
source_suffix = '.rst'

# The encoding of source files.
#source_encoding = 'utf-8-sig'

# bibliography file for sphinxcontrib.bibtex
bibtex_bibfiles = ['seqan.bib']

# The master toctree document.
master_doc = 'index'

# <-- SeqAn: Determine current branch ----------------------------------------------

# Get the current seqan-branch from the READTHEDOCS_VERSION enviornment variable.
# If it is not set, e.g., if you build it manually for testing you can export
# this variable before calling make html in the manual directory to match your
# checked out branch.
seqan_branch = os.environ.get('READTHEDOCS_VERSION', 'main')

# -- SeqAn: Determine current branch ---------------------------------------------->

# 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.
#
# The short X.Y version.
version = seqan_branch.replace('seqan-v','')
# The full version, including alpha/beta/rc tags.
release = version
pygments_style = 'sphinx'


# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output

html_theme = 'sphinx_rtd_theme'
html_static_path = ['_static']
htmlhelp_basename = 'seqandoc'

# -- Options for LaTeX output ---------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-latex-output

latex_documents = [
  ('index', 'SeqAn.tex', u'SeqAn Manual',
   u'The SeqAn Team', 'manual'),
]

# -- Options for manual page output ---------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-manual-page-output

man_pages = [
    ('index', 'seqan', u'SeqAn Manual',
     [u'The SeqAn Team'], 1)
]

# -- Options for Texinfo output -------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-texinfo-output

texinfo_documents = [
  ('index', 'SeqAn', u'SeqAn Manual',
   u'The SeqAn Team', 'SeqAn', 'One line description of project.',
   'Miscellaneous'),
]

# -- Options for SeqAn plugins ----------------------------------------------

# Configure the base URL for dox links.  By default, we point to the main
# branch, but if we are on readthedocs then we compute the URL from the
# RTD_VERSION_SLUG configured by the rtd environment.
doxlinks_base_url = 'https://docs.seqan.de/seqan/%s/' % version

# Set path to JSON index generated by dox.
doxlinks_dox_json = "../dox/html/js/search.data.js"

# Set base dir for inclusion of fragments.
includefrags_base_dir = '../..'