Alexander Afanasyev | 4d32516 | 2012-06-01 12:28:50 -0700 | [diff] [blame] | 1 | # -*- coding: utf-8 -*- |
| 2 | # |
| 3 | # ndnSIM: NS-3 based NDN simulator documentation build configuration file, created by |
| 4 | # sphinx-quickstart on Thu May 31 18:21:13 2012. |
| 5 | # |
| 6 | # This file is execfile()d with the current directory set to its containing dir. |
| 7 | # |
| 8 | # Note that not all possible configuration values are present in this |
| 9 | # autogenerated file. |
| 10 | # |
| 11 | # All configuration values have a default; values that are commented out |
| 12 | # serve to show the default. |
| 13 | |
Spyridon Mastorakis | 5897c96 | 2015-08-31 15:37:18 -0700 | [diff] [blame] | 14 | import sys, os, re |
Alexander Afanasyev | 4d32516 | 2012-06-01 12:28:50 -0700 | [diff] [blame] | 15 | |
| 16 | # If extensions (or modules to document with autodoc) are in another directory, |
| 17 | # add these directories to sys.path here. If the directory is relative to the |
| 18 | # documentation root, use os.path.abspath to make it absolute, like shown here. |
Spyridon Mastorakis | 5897c96 | 2015-08-31 15:37:18 -0700 | [diff] [blame] | 19 | sys.path.insert(0, os.path.abspath('..')) |
Alexander Afanasyev | 4d32516 | 2012-06-01 12:28:50 -0700 | [diff] [blame] | 20 | |
| 21 | # -- General configuration ----------------------------------------------------- |
| 22 | |
| 23 | # If your documentation needs a minimal Sphinx version, state it here. |
| 24 | #needs_sphinx = '1.0' |
| 25 | |
| 26 | # Add any Sphinx extension module names here, as strings. They can be extensions |
| 27 | # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. |
Spyridon Mastorakis | 5897c96 | 2015-08-31 15:37:18 -0700 | [diff] [blame] | 28 | extensions = [ |
| 29 | 'sphinx.ext.autodoc', |
| 30 | 'sphinx.ext.mathjax', |
| 31 | 'sphinxcontrib.doxylink', |
| 32 | 'sphinxcontrib.aafig', |
Alexander Afanasyev | 40b8833 | 2019-02-13 16:19:06 -0500 | [diff] [blame] | 33 | 'sphinxcontrib.googleanalytics', |
Spyridon Mastorakis | 5897c96 | 2015-08-31 15:37:18 -0700 | [diff] [blame] | 34 | 'sphinxcontrib.bibtex', |
| 35 | 'redmine_issue' |
| 36 | ] |
Alexander Afanasyev | 4d32516 | 2012-06-01 12:28:50 -0700 | [diff] [blame] | 37 | |
Spyridon Mastorakis | 5897c96 | 2015-08-31 15:37:18 -0700 | [diff] [blame] | 38 | # def addExtensionIfExists(extension): |
| 39 | # try: |
| 40 | # __import__(extension) |
| 41 | # extensions.append(extension) |
| 42 | # except ImportError: |
| 43 | # sys.stderr.write("Extension '%s' in not available. " |
| 44 | # "Some documentation may not build correctly.\n" % extension) |
| 45 | # sys.stderr.write("To install, use \n" |
| 46 | # " sudo pip install %s\n" % extension.replace('.', '-')) |
| 47 | |
| 48 | # addExtensionIfExists('sphinxcontrib.doxylink') |
| 49 | |
| 50 | # if os.getenv('GOOGLE_ANALYTICS', None): |
| 51 | # addExtensionIfExists('sphinxcontrib.googleanalytics') |
| 52 | |
Spyridon Mastorakis | a879e02 | 2017-10-16 17:12:14 -0700 | [diff] [blame] | 53 | |
Alexander Afanasyev | 4d32516 | 2012-06-01 12:28:50 -0700 | [diff] [blame] | 54 | # Add any paths that contain templates here, relative to this directory. |
| 55 | templates_path = ['_templates'] |
| 56 | |
| 57 | # The suffix of source filenames. |
| 58 | source_suffix = '.rst' |
| 59 | |
| 60 | # The encoding of source files. |
| 61 | #source_encoding = 'utf-8-sig' |
| 62 | |
| 63 | # The master toctree document. |
Alexander Afanasyev | f34fe56 | 2013-08-09 17:16:12 -0700 | [diff] [blame] | 64 | master_doc = 'tutorial' |
Alexander Afanasyev | 4d32516 | 2012-06-01 12:28:50 -0700 | [diff] [blame] | 65 | |
| 66 | # General information about the project. |
Alexander Afanasyev | 508269a | 2012-07-28 13:59:54 -0700 | [diff] [blame] | 67 | project = u'' |
Spyridon Mastorakis | a879e02 | 2017-10-16 17:12:14 -0700 | [diff] [blame] | 68 | copyright = u'2011-2017 (c) Alexander Afanasyev, Spyridon Mastorakis, Ilya Moiseenko, and Lixia Zhang' |
Alexander Afanasyev | 4d32516 | 2012-06-01 12:28:50 -0700 | [diff] [blame] | 69 | |
| 70 | # The version info for the project you're documenting, acts as replacement for |
| 71 | # |version| and |release|, also used in various other places throughout the |
| 72 | # built documents. |
| 73 | # |
| 74 | # The short X.Y version. |
Spyridon Mastorakis | a879e02 | 2017-10-16 17:12:14 -0700 | [diff] [blame] | 75 | version = '2.4' |
Alexander Afanasyev | 4d32516 | 2012-06-01 12:28:50 -0700 | [diff] [blame] | 76 | # The full version, including alpha/beta/rc tags. |
Alexander Afanasyev | 5dee361 | 2015-08-25 16:09:04 -0700 | [diff] [blame] | 77 | release = 'ndnSIM' |
Alexander Afanasyev | 4d32516 | 2012-06-01 12:28:50 -0700 | [diff] [blame] | 78 | |
| 79 | # The language for content autogenerated by Sphinx. Refer to documentation |
| 80 | # for a list of supported languages. |
| 81 | #language = None |
| 82 | |
| 83 | # There are two options for replacing |today|: either, you set today to some |
| 84 | # non-false value, then it is used: |
| 85 | #today = '' |
| 86 | # Else, today_fmt is used as the format for a strftime call. |
| 87 | #today_fmt = '%B %d, %Y' |
| 88 | |
| 89 | # List of patterns, relative to source directory, that match files and |
| 90 | # directories to ignore when looking for source files. |
| 91 | exclude_patterns = [] |
| 92 | |
| 93 | # The reST default role (used for this markup: `text`) to use for all documents. |
| 94 | #default_role = None |
| 95 | |
| 96 | # If true, '()' will be appended to :func: etc. cross-reference text. |
| 97 | #add_function_parentheses = True |
| 98 | |
| 99 | # If true, the current module name will be prepended to all description |
| 100 | # unit titles (such as .. function::). |
| 101 | #add_module_names = True |
| 102 | |
| 103 | # If true, sectionauthor and moduleauthor directives will be shown in the |
| 104 | # output. They are ignored by default. |
| 105 | #show_authors = False |
| 106 | |
| 107 | # The name of the Pygments (syntax highlighting) style to use. |
| 108 | pygments_style = 'sphinx' |
| 109 | |
| 110 | # A list of ignored prefixes for module index sorting. |
| 111 | #modindex_common_prefix = [] |
| 112 | |
| 113 | |
| 114 | # -- Options for HTML output --------------------------------------------------- |
| 115 | |
| 116 | # The theme to use for HTML and HTML Help pages. See the documentation for |
| 117 | # a list of builtin themes. |
Alexander Afanasyev | 508269a | 2012-07-28 13:59:54 -0700 | [diff] [blame] | 118 | html_theme = 'ns3_html_theme' |
Alexander Afanasyev | 4d32516 | 2012-06-01 12:28:50 -0700 | [diff] [blame] | 119 | |
| 120 | # Theme options are theme-specific and customize the look and feel of a theme |
| 121 | # further. For a list of options available for each theme, see the |
| 122 | # documentation. |
| 123 | #html_theme_options = {} |
| 124 | |
| 125 | # Add any paths that contain custom themes here, relative to this directory. |
Alexander Afanasyev | 508269a | 2012-07-28 13:59:54 -0700 | [diff] [blame] | 126 | html_theme_path = ["../"] |
Alexander Afanasyev | 4d32516 | 2012-06-01 12:28:50 -0700 | [diff] [blame] | 127 | |
| 128 | # The name for this set of Sphinx documents. If None, it defaults to |
| 129 | # "<project> v<release> documentation". |
| 130 | #html_title = None |
| 131 | |
| 132 | # A shorter title for the navigation bar. Default is the same as html_title. |
| 133 | #html_short_title = None |
| 134 | |
| 135 | # The name of an image file (relative to this directory) to place at the top |
| 136 | # of the sidebar. |
| 137 | #html_logo = None |
| 138 | |
| 139 | # The name of an image file (within the static path) to use as favicon of the |
| 140 | # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 |
| 141 | # pixels large. |
| 142 | #html_favicon = None |
| 143 | |
| 144 | # Add any paths that contain custom static files (such as style sheets) here, |
| 145 | # relative to this directory. They are copied after the builtin static files, |
| 146 | # so a file named "default.css" will overwrite the builtin "default.css". |
| 147 | html_static_path = ['_static'] |
| 148 | |
| 149 | # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, |
| 150 | # using the given strftime format. |
| 151 | #html_last_updated_fmt = '%b %d, %Y' |
| 152 | |
| 153 | # If true, SmartyPants will be used to convert quotes and dashes to |
| 154 | # typographically correct entities. |
| 155 | #html_use_smartypants = True |
| 156 | |
| 157 | # Custom sidebar templates, maps document names to template names. |
| 158 | #html_sidebars = {} |
| 159 | |
| 160 | # Additional templates that should be rendered to pages, maps page names to |
| 161 | # template names. |
Alexander Afanasyev | f34fe56 | 2013-08-09 17:16:12 -0700 | [diff] [blame] | 162 | html_additional_pages = { |
| 163 | 'index': 'indexcontent.html', |
| 164 | } |
Alexander Afanasyev | 4d32516 | 2012-06-01 12:28:50 -0700 | [diff] [blame] | 165 | |
| 166 | # If false, no module index is generated. |
Alexander Afanasyev | 462bb21 | 2012-11-24 16:42:53 -0800 | [diff] [blame] | 167 | html_domain_indices = False |
Alexander Afanasyev | 4d32516 | 2012-06-01 12:28:50 -0700 | [diff] [blame] | 168 | |
| 169 | # If false, no index is generated. |
Alexander Afanasyev | 462bb21 | 2012-11-24 16:42:53 -0800 | [diff] [blame] | 170 | html_use_index = False |
Alexander Afanasyev | 4d32516 | 2012-06-01 12:28:50 -0700 | [diff] [blame] | 171 | |
| 172 | # If true, the index is split into individual pages for each letter. |
| 173 | #html_split_index = False |
| 174 | |
| 175 | # If true, links to the reST sources are added to the pages. |
| 176 | #html_show_sourcelink = True |
| 177 | |
| 178 | # If true, "Created using Sphinx" is shown in the HTML footer. Default is True. |
| 179 | #html_show_sphinx = True |
| 180 | |
| 181 | # If true, "(C) Copyright ..." is shown in the HTML footer. Default is True. |
| 182 | #html_show_copyright = True |
| 183 | |
| 184 | # If true, an OpenSearch description file will be output, and all pages will |
| 185 | # contain a <link> tag referring to it. The value of this option must be the |
| 186 | # base URL from which the finished HTML is served. |
| 187 | #html_use_opensearch = '' |
| 188 | |
| 189 | # This is the file name suffix for HTML files (e.g. ".xhtml"). |
| 190 | #html_file_suffix = None |
| 191 | |
| 192 | # Output file base name for HTML help builder. |
| 193 | htmlhelp_basename = 'ndnSIMNS-3basedNDNsimulatordoc' |
| 194 | |
| 195 | |
| 196 | # -- Options for LaTeX output -------------------------------------------------- |
| 197 | |
| 198 | latex_elements = { |
| 199 | # The paper size ('letterpaper' or 'a4paper'). |
| 200 | #'papersize': 'letterpaper', |
| 201 | |
| 202 | # The font size ('10pt', '11pt' or '12pt'). |
| 203 | #'pointsize': '10pt', |
| 204 | |
| 205 | # Additional stuff for the LaTeX preamble. |
| 206 | #'preamble': '', |
| 207 | } |
| 208 | |
| 209 | # Grouping the document tree into LaTeX files. List of tuples |
| 210 | # (source start file, target name, title, author, documentclass [howto/manual]). |
| 211 | latex_documents = [ |
Alexander Afanasyev | 5dee361 | 2015-08-25 16:09:04 -0700 | [diff] [blame] | 212 | ('tutorial', 'ndnSIM-tutorial.tex', u'ndnSIM: NS-3 based Named Data Networking (NDN) simulator documentation', |
Spyridon Mastorakis | 47a6092 | 2015-01-10 19:40:11 -0800 | [diff] [blame] | 213 | u'Alexander Afanasyev, Spyridon Mastorakis, Ilya Moiseenko, and Lixia Zhang', 'manual'), |
Alexander Afanasyev | 4d32516 | 2012-06-01 12:28:50 -0700 | [diff] [blame] | 214 | ] |
| 215 | |
| 216 | # The name of an image file (relative to this directory) to place at the top of |
| 217 | # the title page. |
| 218 | #latex_logo = None |
| 219 | |
| 220 | # For "manual" documents, if this is true, then toplevel headings are parts, |
| 221 | # not chapters. |
| 222 | #latex_use_parts = False |
| 223 | |
| 224 | # If true, show page references after internal links. |
| 225 | #latex_show_pagerefs = False |
| 226 | |
| 227 | # If true, show URL addresses after external links. |
| 228 | #latex_show_urls = False |
| 229 | |
| 230 | # Documents to append as an appendix to all manuals. |
| 231 | #latex_appendices = [] |
| 232 | |
| 233 | # If false, no module index is generated. |
Alexander Afanasyev | 462bb21 | 2012-11-24 16:42:53 -0800 | [diff] [blame] | 234 | latex_domain_indices = False |
Alexander Afanasyev | 4d32516 | 2012-06-01 12:28:50 -0700 | [diff] [blame] | 235 | |
| 236 | |
| 237 | # -- Options for manual page output -------------------------------------------- |
| 238 | |
| 239 | # One entry per manual page. List of tuples |
| 240 | # (source start file, name, description, authors, manual section). |
| 241 | man_pages = [ |
Alexander Afanasyev | 5dee361 | 2015-08-25 16:09:04 -0700 | [diff] [blame] | 242 | ('index', 'ndnSIM', u'ndnSIM: NS-3 based Named Data Networking (NDN) simulator documentation', |
Spyridon Mastorakis | 47a6092 | 2015-01-10 19:40:11 -0800 | [diff] [blame] | 243 | [u'Alexander Afanasyev, Spyridon Mastorakis, Ilya Moiseenko, and Lixia Zhang'], 1) |
Alexander Afanasyev | 4d32516 | 2012-06-01 12:28:50 -0700 | [diff] [blame] | 244 | ] |
| 245 | |
| 246 | # If true, show URL addresses after external links. |
| 247 | #man_show_urls = False |
| 248 | |
| 249 | |
| 250 | # -- Options for Texinfo output ------------------------------------------------ |
| 251 | |
| 252 | # Grouping the document tree into Texinfo files. List of tuples |
| 253 | # (source start file, target name, title, author, |
| 254 | # dir menu entry, description, category) |
| 255 | texinfo_documents = [ |
Alexander Afanasyev | 5dee361 | 2015-08-25 16:09:04 -0700 | [diff] [blame] | 256 | ('index', 'ndnSIM', u'ndnSIM: NS-3 based Named Data Networking (NDN) simulator documentation', |
Spyridon Mastorakis | 460f57c | 2014-12-17 00:44:14 -0800 | [diff] [blame] | 257 | u'Alexander Afanasyev, Spyridon Mastorakis, Ilya Moiseenko, and Lixia Zhang', 'ndnSIM', 'One line description of project.', |
Alexander Afanasyev | 4d32516 | 2012-06-01 12:28:50 -0700 | [diff] [blame] | 258 | 'Miscellaneous'), |
| 259 | ] |
| 260 | |
| 261 | # Documents to append as an appendix to all manuals. |
| 262 | #texinfo_appendices = [] |
| 263 | |
| 264 | # If false, no module index is generated. |
Alexander Afanasyev | 462bb21 | 2012-11-24 16:42:53 -0800 | [diff] [blame] | 265 | texinfo_domain_indices = False |
Alexander Afanasyev | 4d32516 | 2012-06-01 12:28:50 -0700 | [diff] [blame] | 266 | |
| 267 | # How to display URL addresses: 'footnote', 'no', or 'inline'. |
| 268 | #texinfo_show_urls = 'footnote' |
Alexander Afanasyev | 6315ef7 | 2012-06-01 20:56:31 -0700 | [diff] [blame] | 269 | |
| 270 | doxylink = { |
Alexander Afanasyev | 97fb44d | 2012-06-04 18:50:47 -0700 | [diff] [blame] | 271 | 'ndnsim' : ('ndnSIM.tag', 'doxygen/'), |
Spyridon Mastorakis | 460f57c | 2014-12-17 00:44:14 -0800 | [diff] [blame] | 272 | 'nfd' : ('ndnSIM.tag', 'doxygen/'), |
Alexander Afanasyev | 6315ef7 | 2012-06-01 20:56:31 -0700 | [diff] [blame] | 273 | } |
| 274 | |
Alexander Afanasyev | 97fb44d | 2012-06-04 18:50:47 -0700 | [diff] [blame] | 275 | googleanalytics_id = "UA-21372502-8" |
| 276 | |
| 277 | googleanalytics_enabled = True |
| 278 | |
Spyridon Mastorakis | 460f57c | 2014-12-17 00:44:14 -0800 | [diff] [blame] | 279 | aafig_format = {'latex': 'pdf', 'html': 'svg', 'text': None} |
Alexander Afanasyev | aa1c4c3 | 2012-11-21 16:17:03 -0800 | [diff] [blame] | 280 | |
| 281 | # aafig_default_options = dict(Fixed=True) |
Spyridon Mastorakis | 5897c96 | 2015-08-31 15:37:18 -0700 | [diff] [blame] | 282 | |
Xinyu Ma | fc8956c | 2019-04-08 23:17:52 -0700 | [diff] [blame] | 283 | redmine_project_url = "https://redmine.named-data.net/" |