2023-12-01 14:30:45 +08:00
|
|
|
#!/usr/bin/env python3
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
import os
|
|
|
|
import subprocess
|
|
|
|
|
|
|
|
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
|
|
|
|
|
|
|
|
if on_rtd:
|
|
|
|
subprocess.check_call('cd ..; doxygen', shell=True)
|
|
|
|
|
|
|
|
import sphinx_rtd_theme
|
|
|
|
|
|
|
|
html_theme = "sphinx_rtd_theme"
|
|
|
|
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
|
|
|
|
|
|
|
|
def setup(app):
|
|
|
|
app.add_css_file("main_stylesheet.css")
|
|
|
|
|
|
|
|
extensions = ['breathe']
|
2023-12-02 14:59:41 +08:00
|
|
|
breathe_projects = { 'acldocs': '../xml' }
|
2023-12-01 14:30:45 +08:00
|
|
|
templates_path = ['_templates']
|
|
|
|
html_static_path = ['_static']
|
|
|
|
source_suffix = '.rst'
|
|
|
|
master_doc = 'index'
|
|
|
|
project = 'acldocs'
|
|
|
|
copyright = 'Copyright 2023 The Acl Authors.'
|
|
|
|
author = 'zsxxsz'
|
|
|
|
|
2023-12-02 14:33:55 +08:00
|
|
|
html_logo = 'image/acl_big.png'
|
2023-12-01 14:30:45 +08:00
|
|
|
|
|
|
|
exclude_patterns = []
|
|
|
|
highlight_language = 'c++'
|
|
|
|
pygments_style = 'sphinx'
|
|
|
|
todo_include_todos = False
|
|
|
|
htmlhelp_basename = 'acldocs'
|
|
|
|
|