|
12 | 12 |
|
13 | 13 | # -- Project information ----------------------------------------------------- |
14 | 14 |
|
15 | | -proj_name = 'ds2mermaid' |
| 15 | +proj_name = 'simple' |
16 | 16 | # The full version, including alpha/beta/rc tags with setuptols-scm |
17 | 17 | # workaround for extra-long dirty version string |
18 | 18 | release = version(proj_name).split("+")[0] |
19 | | -# The short X.Y version. |
20 | | -version = '.'.join(release.split('.')[:2]) |
| 19 | +# Use dev version instead of short X.Y version. |
| 20 | +version = release |
21 | 21 |
|
22 | 22 | project = proj_name |
23 | | -author = 'Goleta Star, LLC' |
24 | | -copyright = '2022 - ' + str(datetime.now().year) + f' {author}' |
| 23 | +author = 'Tracy Developer' |
| 24 | +copyright = str(datetime.now().year) + f' {author}' |
25 | 25 |
|
26 | 26 | # The version info for the project you're documenting, acts as replacement for |
27 | 27 | # |version| and |release|, also used in various other places throughout the |
|
48 | 48 | 'sphinx.ext.todo', |
49 | 49 | 'sphinx.ext.coverage', |
50 | 50 | 'sphinx.ext.viewcode', |
51 | | - 'recommonmark', |
| 51 | + 'myst_parser', |
52 | 52 | ] |
53 | 53 |
|
54 | | -# autoapi |
55 | | -#autoapi_dirs = ['../../src'] |
56 | | - |
57 | | -# API docs |
58 | | -# apidoc_modules = [ |
59 | | - # { |
60 | | - # "path": f"../../src/{proj_name}", |
61 | | - # "destination": "api/", |
62 | | - # }, |
63 | | -# ] |
64 | | - |
65 | 54 | # sphinxcontrib.apidoc |
66 | | -apidoc_module_dir = '../../src' |
| 55 | +apidoc_module_dir = f'../../src/{project}' |
67 | 56 | apidoc_output_dir = 'api' |
68 | 57 | apidoc_excluded_paths = ['scripts', 'tests'] |
69 | 58 | apidoc_module_first = True |
|
76 | 65 | # The suffix(es) of source filenames. |
77 | 66 | # You can specify multiple suffix as a list of strings: |
78 | 67 | # |
79 | | -source_suffix = ['.rst', '.md'] |
| 68 | +source_suffix = { |
| 69 | + '.rst': 'restructuredtext', |
| 70 | + '.md': 'markdown', |
| 71 | +} |
80 | 72 |
|
81 | 73 | # The master toctree document. |
82 | 74 | master_doc = 'index' |
|
94 | 86 | exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store', 'data'] |
95 | 87 |
|
96 | 88 | # The name of the Pygments (syntax highlighting) style to use. |
97 | | -pygments_style = 'sphinx' |
| 89 | +pygments_style = 'manni' |
98 | 90 |
|
99 | 91 | # If true, `todo` and `todoList` produce output, else they produce nothing. |
100 | 92 | todo_include_todos = True |
101 | 93 |
|
102 | | - |
103 | 94 | # -- Options for HTML output ---------------------------------------------- |
104 | 95 |
|
105 | 96 | # The theme to use for HTML and HTML Help pages. See the documentation for |
106 | 97 | # a list of builtin themes. |
107 | 98 | # |
108 | | -#html_theme = 'sphinx_rtd_theme' |
109 | | -html_theme = 'classic' # still has a version |
| 99 | +html_theme = 'sphinx_rtd_theme' |
| 100 | +# setup in https://sphinx-nefertiti.readthedocs.io/latest/quick-start.html |
| 101 | +#html_theme = 'sphinx_nefertiti' |
110 | 102 |
|
111 | 103 | html_sidebars = { |
112 | 104 | '**': [ |
|
135 | 127 | # -- Options for HTMLHelp output ------------------------------------------ |
136 | 128 |
|
137 | 129 | # Output file base name for HTML help builder. |
138 | | -htmlhelp_basename = 'ds2mermaiddoc' |
| 130 | +htmlhelp_basename = 'simpledoc' |
139 | 131 |
|
140 | 132 |
|
141 | 133 | # -- Options for LaTeX output --------------------------------------------- |
|
162 | 154 | # (source start file, target name, title, |
163 | 155 | # author, documentclass [howto, manual, or own class]). |
164 | 156 | latex_documents = [ |
165 | | - (master_doc, 'ds2mermaid.tex', 'ds2mermaid Documentation', |
| 157 | + (master_doc, 'simple.tex', 'simple Documentation', |
166 | 158 | [author], 'manual'), |
167 | 159 | ] |
168 | 160 |
|
|
172 | 164 | # One entry per manual page. List of tuples |
173 | 165 | # (source start file, name, description, authors, manual section). |
174 | 166 | man_pages = [ |
175 | | - (master_doc, 'ds2mermaid', 'ds2mermaid Documentation', |
| 167 | + (master_doc, 'simple', 'simple Documentation', |
176 | 168 | [author], 1) |
177 | 169 | ] |
178 | 170 |
|
|
183 | 175 | # (source start file, target name, title, author, |
184 | 176 | # dir menu entry, description, category) |
185 | 177 | texinfo_documents = [ |
186 | | - (master_doc, 'ds2mermaid', 'ds2mermaid Documentation', |
187 | | - [author], 'ds2mermaid', description, |
| 178 | + (master_doc, 'simple', 'simple Documentation', |
| 179 | + [author], 'simple', description, |
188 | 180 | 'Miscellaneous'), |
189 | 181 | ] |
0 commit comments