|
1 |
| -# -*- coding: utf-8 -*- |
2 |
| - |
3 |
| -import sys |
4 |
| -import os |
5 |
| -import sphinx_rtd_theme |
6 |
| -#from better import better_theme_path |
7 |
| - |
8 |
| -# -- General configuration ------------------------------------------------ |
9 |
| - |
10 |
| -def setup(app): |
11 |
| - try: |
12 |
| - app.add_stylesheet('extra.css') |
13 |
| - |
14 |
| - except: |
15 |
| - app.add_css_file('extra.css') |
16 |
| - |
17 |
| -templates_path = ['_templates'] |
18 |
| - |
19 |
| -source_suffix = '.rst' |
20 |
| - |
21 |
| -master_doc = 'index' |
22 |
| - |
23 |
| -# General information about the project. |
24 |
| -project = u'Adobe Animate Scripting Guide' |
25 |
| -copyright = u'1992–2020 Adobe Systems Incorporated' |
26 |
| -author = u'Adobe Systems Incorporated' |
27 |
| - |
28 |
| -version = u'1.0.0' |
29 |
| -release = u'1.0.0' |
30 |
| - |
31 |
| -pygments_style = 'sphinx' |
32 |
| - |
33 |
| -highlight_language = "c++" |
34 |
| - |
35 |
| -# -- Options for HTML output ---------------------------------------------- |
36 |
| - |
37 |
| -html_theme = "sphinx_rtd_theme" |
38 |
| - |
39 |
| -html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] |
40 |
| - |
41 |
| -html_static_path = ['_static'] |
42 |
| - |
43 |
| -# Output file base name for HTML help builder. |
44 |
| -htmlhelp_basename = 'animate-scripting-guide' |
| 1 | +# -*- coding: utf-8 -*- |
| 2 | + |
| 3 | +import sys |
| 4 | +import os |
| 5 | +import sphinx_rtd_theme |
| 6 | +#from better import better_theme_path |
| 7 | + |
| 8 | +# -- General configuration ------------------------------------------------ |
| 9 | + |
| 10 | +def setup(app): |
| 11 | + try: |
| 12 | + app.add_stylesheet('extra.css') |
| 13 | + |
| 14 | + except: |
| 15 | + app.add_css_file('extra.css') |
| 16 | + |
| 17 | +templates_path = ['_templates'] |
| 18 | + |
| 19 | +source_suffix = '.rst' |
| 20 | + |
| 21 | +master_doc = 'index' |
| 22 | + |
| 23 | +extensions = ['sphinx_rtd_dark_mode'] |
| 24 | + |
| 25 | +default_dark_mode = False |
| 26 | + |
| 27 | +# General information about the project. |
| 28 | +project = u'Adobe Animate Scripting Guide' |
| 29 | +copyright = u'1992–2020 Adobe Systems Incorporated' |
| 30 | +author = u'Adobe Systems Incorporated' |
| 31 | + |
| 32 | +version = u'1.0.0' |
| 33 | +release = u'1.0.0' |
| 34 | + |
| 35 | +pygments_style = 'sphinx' |
| 36 | + |
| 37 | +highlight_language = "c++" |
| 38 | + |
| 39 | +# -- Options for HTML output ---------------------------------------------- |
| 40 | + |
| 41 | +html_theme = "sphinx_rtd_theme" |
| 42 | + |
| 43 | +html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] |
| 44 | + |
| 45 | +html_static_path = ['_static'] |
| 46 | + |
| 47 | +# Output file base name for HTML help builder. |
| 48 | +htmlhelp_basename = 'animate-scripting-guide' |
0 commit comments