|
42 | 42 | 'sphinx.ext.coverage', |
43 | 43 | 'sphinx.ext.doctest', |
44 | 44 | 'sphinx.ext.inheritance_diagram', |
| 45 | + 'sphinx_autorun', |
45 | 46 | ] |
| 47 | + #'sphinx-prompt', |
46 | 48 | #'recommonmark', |
47 | 49 | #'sphinx.ext.autosummary', |
48 | 50 | #'sphinx_markdown_tables', |
49 | 51 | # |
50 | | - |
51 | 52 | # inheritance_node_attrs = dict(style='rounded,filled', fillcolor='lightblue') |
52 | 53 | inheritance_node_attrs = dict(style='rounded') |
53 | 54 |
|
|
62 | 63 | # This pattern also affects html_static_path and html_extra_path. |
63 | 64 | exclude_patterns = ['test_*'] |
64 | 65 |
|
65 | | - |
| 66 | +add_module_names = False |
66 | 67 | # -- Options for HTML output ------------------------------------------------- |
67 | 68 |
|
68 | 69 | # The theme to use for HTML and HTML Help pages. See the documentation for |
|
81 | 82 | #'description': 'Spatial maths and geometry for Python', |
82 | 83 | 'display_version': True, |
83 | 84 | 'prev_next_buttons_location': 'both', |
| 85 | + 'analytics_id': 'G-11Q6WJM565', |
84 | 86 |
|
85 | 87 | } |
86 | 88 | html_logo = '../figs/CartesianSnakes_LogoW.png' |
|
94 | 96 | html_last_updated_fmt = '%d-%b-%Y' |
95 | 97 | # extensions = ['rst2pdf.pdfbuilder'] |
96 | 98 | # pdf_documents = [('index', u'rst2pdf', u'Sample rst2pdf doc', u'Your Name'),] |
| 99 | +latex_engine = 'xelatex' |
| 100 | +# maybe need to set graphics path in here somewhere |
| 101 | +# \graphicspath{{figures/}{../figures/}{C:/Users/me/Documents/project/figures/}} |
| 102 | +# https://stackoverflow.com/questions/63452024/how-to-include-image-files-in-sphinx-latex-pdf-files |
| 103 | +latex_elements = { |
| 104 | + # The paper size ('letterpaper' or 'a4paper'). |
| 105 | + 'papersize': 'a4paper', |
| 106 | + #'releasename':" ", |
| 107 | + # Sonny, Lenny, Glenn, Conny, Rejne, Bjarne and Bjornstrup |
| 108 | + # 'fncychap': '\\usepackage[Lenny]{fncychap}', |
| 109 | + 'fncychap': '\\usepackage{fncychap}', |
| 110 | +} |
| 111 | + |
| 112 | +autorun_languages = {} |
| 113 | +autorun_languages['pycon_output_encoding'] = 'UTF-8' |
0 commit comments