24 copyright =
'2020, University of Washington, ' + \
25 'Max Planck Institute for Software Systems, ' + \
26 'and The University of Texas at Austin' 28 author =
'Antoine Kaufmann' 50 templates_path = [
'_templates']
56 source_suffix =
'.rst' 71 exclude_patterns = [
'_build',
'Thumbs.db',
'.DS_Store']
82 html_theme =
'sphinx_rtd_theme' 93 html_static_path = [
'_static']
109 htmlhelp_basename =
'TASdoc' 136 (master_doc,
'TAS.tex',
'TAS Documentation',
137 'Antoine Kaufmann',
'manual'),
146 (master_doc,
'tas',
'TAS Documentation',
156 texinfo_documents = [
157 (master_doc,
'TAS',
'TAS Documentation',
158 author,
'TAS',
'One line description of project.',
178 epub_exclude_files = [
'search.html']
180 breathe_projects = {
'TAS':
'xml/' }
181 breathe_default_project =
'TAS' 186 import subprocess, os
189 read_the_docs_build = os.environ.get(
'READTHEDOCS',
None) ==
'True' 191 if read_the_docs_build:
192 subprocess.call(
'cd .. && doxygen doc/Doxyfile', shell=
True)
193 subprocess.call(
'cp -r html _static/doxygen', shell=
True)
214 from six
import string_types
216 from sphinx
import version_info
221 if globals().get(
'source_suffix',
False):
222 if isinstance(source_suffix, string_types):
223 SUFFIX = source_suffix
224 elif isinstance(source_suffix, (list, tuple)):
226 SUFFIX = source_suffix[0]
227 elif isinstance(source_suffix, dict):
229 SUFFIX = list(source_suffix.keys())[0]
237 if not 'html_static_path' in globals():
238 html_static_path = []
239 if os.path.exists(
'_static'):
240 html_static_path.append(
'_static')
245 'html_theme' in globals()
and 246 html_theme
in [
'default']
and 248 'html_style' not in globals()
249 )
or 'html_theme' not in globals()
252 theme = importlib.import_module(
'sphinx_rtd_theme')
253 html_theme =
'sphinx_rtd_theme' 255 html_theme_options = {}
256 if 'html_theme_path' in globals():
257 html_theme_path.append(theme.get_html_theme_path())
259 html_theme_path = [theme.get_html_theme_path()]
261 if globals().get(
'websupport2_base_url',
False):
262 websupport2_base_url =
'https://readthedocs.org/websupport' 263 websupport2_static_url =
'https://assets.readthedocs.org/static/' 268 'using_theme': using_rtd_theme,
269 'html_theme': html_theme,
270 'current_version':
"latest",
271 'version_slug':
"latest",
272 'MEDIA_URL':
"https://media.readthedocs.org/",
273 'STATIC_URL':
"https://assets.readthedocs.org/static/",
274 'PRODUCTION_DOMAIN':
"readthedocs.org",
276 (
"latest",
"/en/latest/"),
279 (
"pdf",
"//tas.readthedocs.io/_/downloads/en/latest/pdf/"),
280 (
"html",
"//tas.readthedocs.io/_/downloads/en/latest/htmlzip/"),
281 (
"epub",
"//tas.readthedocs.io/_/downloads/en/latest/epub/"),
287 'rtd_language':
u'en',
288 'programming_language':
u'c',
289 'canonical_url':
'https://tas.readthedocs.io/en/latest/',
290 'analytics_code':
'None',
291 'single_version':
False,
292 'conf_py_path':
'/doc/',
293 'api_host':
'https://readthedocs.org',
294 'github_user':
'tcp-acceleration-service',
295 'proxied_api_host':
'/_',
296 'github_repo':
'tas',
297 'github_version':
'master',
298 'display_github':
True,
299 'bitbucket_user':
'None',
300 'bitbucket_repo':
'None',
301 'bitbucket_version':
'master',
302 'display_bitbucket':
False,
303 'gitlab_user':
'None',
304 'gitlab_repo':
'None',
305 'gitlab_version':
'master',
306 'display_gitlab':
False,
308 'using_theme': (html_theme ==
"default"),
309 'new_theme': (html_theme ==
"sphinx_rtd_theme"),
310 'source_suffix': SUFFIX,
312 'docsearch_disabled':
False,
313 'user_analytics_code':
'',
314 'global_analytics_code':
'UA-17997319-1',
315 'commit':
'd3926baf',
321 if 'html_context' in globals():
323 html_context.update(context)
326 html_context = context
329 if 'extensions' in globals():
333 extensions.insert(0,
"readthedocs_ext.readthedocs")
335 extensions = [
"readthedocs_ext.readthedocs"]
338 if 'branch' ==
'external':
339 extensions.insert(1,
"readthedocs_ext.external_version_warning")
341 project_language =
'en' 344 language_user = globals().get(
'language',
None)
345 latex_engine_user = globals().get(
'latex_engine',
None)
346 latex_elements_user = globals().get(
'latex_elements',
None)
351 latex_use_xindy =
False 354 language_user
in (
'zh_CN',
'zh_TW'),
355 project_language
in (
'zh_CN',
'zh_TW'),
359 language_user ==
'ja',
360 project_language ==
'ja',
364 latex_engine = latex_engine_user
or 'xelatex' 366 latex_elements_rtd = {
367 'preamble':
'\\usepackage[UTF8]{ctex}\n',
369 latex_elements = latex_elements_user
or latex_elements_rtd
371 latex_engine = latex_engine_user
or 'platex' 374 exclude_patterns = globals().get(
'exclude_patterns', [])
375 exclude_patterns.extend([
'_build'])