1 | # -*- coding: utf-8 -*- |
---|
2 | # |
---|
3 | # Configuration file for the Sphinx documentation builder. |
---|
4 | # |
---|
5 | # This file does only contain a selection of the most common options. For a |
---|
6 | # full list see the documentation: |
---|
7 | # http://www.sphinx-doc.org/en/master/config |
---|
8 | |
---|
9 | # -- Path setup -------------------------------------------------------------- |
---|
10 | |
---|
11 | # If extensions (or modules to document with autodoc) are in another directory, |
---|
12 | # add these directories to sys.path here. If the directory is relative to the |
---|
13 | # documentation root, use os.path.abspath to make it absolute, like shown here. |
---|
14 | # |
---|
15 | # import os |
---|
16 | # import sys |
---|
17 | # sys.path.insert(0, os.path.abspath('.')) |
---|
18 | |
---|
19 | |
---|
20 | # -- Project information ----------------------------------------------------- |
---|
21 | |
---|
22 | project = 'SINA' |
---|
23 | copyright = '2019, Elmar Pruesse' |
---|
24 | author = 'Elmar Pruesse' |
---|
25 | |
---|
26 | # The full version, including alpha/beta/rc tags |
---|
27 | release = '1.7.2' |
---|
28 | |
---|
29 | # The short X.Y version |
---|
30 | version = '.'.join(release.split('.')[:2]) |
---|
31 | |
---|
32 | |
---|
33 | # -- General configuration --------------------------------------------------- |
---|
34 | |
---|
35 | # needs_sphinx = '1.0' |
---|
36 | |
---|
37 | extensions = [ |
---|
38 | 'sphinx.ext.extlinks', |
---|
39 | 'sphinx.ext.todo', |
---|
40 | 'sphinx.ext.mathjax', |
---|
41 | ] |
---|
42 | |
---|
43 | templates_path = ['_templates'] |
---|
44 | source_suffix = '.rst' |
---|
45 | master_doc = 'index' |
---|
46 | language = None |
---|
47 | exclude_patterns = [] |
---|
48 | pygments_style = None |
---|
49 | |
---|
50 | |
---|
51 | # -- Options for HTML output ------------------------------------------------- |
---|
52 | |
---|
53 | html_theme = 'alabaster' |
---|
54 | |
---|
55 | # html_theme_options = {} |
---|
56 | |
---|
57 | html_static_path = ['_static'] |
---|
58 | |
---|
59 | # Custom sidebar templates, must be a dictionary that maps document names |
---|
60 | # to template names. |
---|
61 | # |
---|
62 | # The default sidebars (for documents that don't match any pattern) are |
---|
63 | # defined by theme itself. Builtin themes are using these templates by |
---|
64 | # default: ``['localtoc.html', 'relations.html', 'sourcelink.html', |
---|
65 | # 'searchbox.html']``. |
---|
66 | # |
---|
67 | # html_sidebars = {} |
---|
68 | |
---|
69 | |
---|
70 | # -- Options for HTMLHelp output --------------------------------------------- |
---|
71 | |
---|
72 | # Output file base name for HTML help builder. |
---|
73 | htmlhelp_basename = 'SINAdoc' |
---|
74 | |
---|
75 | |
---|
76 | # -- Options for LaTeX output ------------------------------------------------ |
---|
77 | |
---|
78 | latex_elements = { |
---|
79 | # The paper size ('letterpaper' or 'a4paper'). |
---|
80 | # |
---|
81 | # 'papersize': 'letterpaper', |
---|
82 | |
---|
83 | # The font size ('10pt', '11pt' or '12pt'). |
---|
84 | # |
---|
85 | # 'pointsize': '10pt', |
---|
86 | |
---|
87 | # Additional stuff for the LaTeX preamble. |
---|
88 | # |
---|
89 | # 'preamble': '', |
---|
90 | |
---|
91 | # Latex figure (float) alignment |
---|
92 | # |
---|
93 | # 'figure_align': 'htbp', |
---|
94 | } |
---|
95 | |
---|
96 | # Grouping the document tree into LaTeX files. List of tuples |
---|
97 | # (source start file, target name, title, |
---|
98 | # author, documentclass [howto, manual, or own class]). |
---|
99 | latex_documents = [ |
---|
100 | (master_doc, 'SINA.tex', 'SINA Documentation', |
---|
101 | 'Elmar Pruesse', 'manual'), |
---|
102 | ] |
---|
103 | |
---|
104 | |
---|
105 | # -- Options for manual page output ------------------------------------------ |
---|
106 | |
---|
107 | # One entry per manual page. List of tuples |
---|
108 | # (source start file, name, description, authors, manual section). |
---|
109 | man_pages = [ |
---|
110 | ('commandline', 'sina', 'reference based multiple sequence alignment', [author], 1) |
---|
111 | ] |
---|
112 | |
---|
113 | |
---|
114 | # -- Options for Texinfo output ---------------------------------------------- |
---|
115 | |
---|
116 | # Grouping the document tree into Texinfo files. List of tuples |
---|
117 | # (source start file, target name, title, author, |
---|
118 | # dir menu entry, description, category) |
---|
119 | texinfo_documents = [ |
---|
120 | (master_doc, 'SINA', 'SINA Documentation', |
---|
121 | author, 'SINA', 'reference based multiple sequence alignment', |
---|
122 | 'Bioinformatics'), |
---|
123 | ] |
---|
124 | |
---|
125 | |
---|
126 | # -- Options for Epub output ------------------------------------------------- |
---|
127 | |
---|
128 | # Bibliographic Dublin Core info. |
---|
129 | epub_title = project |
---|
130 | |
---|
131 | # The unique identifier of the text. This can be a ISBN number |
---|
132 | # or the project homepage. |
---|
133 | # |
---|
134 | # epub_identifier = '' |
---|
135 | |
---|
136 | # A unique identification for the text. |
---|
137 | # |
---|
138 | # epub_uid = '' |
---|
139 | |
---|
140 | # A list of files that should not be packed into the epub file. |
---|
141 | epub_exclude_files = ['search.html'] |
---|
142 | |
---|
143 | |
---|
144 | # -- Extension configuration ------------------------------------------------- |
---|
145 | |
---|
146 | # -- Options for todo extension ---------------------------------------------- |
---|
147 | |
---|
148 | # If true, `todo` and `todoList` produce output, else they produce nothing. |
---|
149 | todo_include_todos = True |
---|
150 | |
---|
151 | extlinks = { |
---|
152 | 'biotools': ('https://bio.tools/%s', ''), |
---|
153 | 'doi': ('https://doi.org/%s', ''), |
---|
154 | 'issue': ('https://github.com/epruesse/SINA/issues/%s', '#') |
---|
155 | } |
---|