|
| 1 | +[project] |
| 2 | +site_name = "template" |
| 3 | +site_description = "This is the template package!" |
| 4 | +site_author = "YourName" |
| 5 | +repo_url = "https://github.com/Quantum-Accelerators/template/" |
| 6 | +edit_uri = "blob/main/docs/" |
| 7 | +use_directory_urls = false |
| 8 | + |
| 9 | +nav = [ |
| 10 | + { "Home" = "index.md" }, |
| 11 | + { "Overview" = [ |
| 12 | + "example_docs/intro/why.md", |
| 13 | + "example_docs/intro/resources.md" |
| 14 | + ] }, |
| 15 | + { "Setup" = [ |
| 16 | + "example_docs/setup/prep.md", |
| 17 | + "example_docs/setup/name.md", |
| 18 | + "example_docs/setup/basics.md" |
| 19 | + ] }, |
| 20 | + { "Installation" = [ |
| 21 | + "example_docs/installation/pyproject.md", |
| 22 | + "example_docs/installation/install.md" |
| 23 | + ] }, |
| 24 | + { "Code" = [ |
| 25 | + "example_docs/code/source.md", |
| 26 | + "example_docs/code/hints.md", |
| 27 | + "example_docs/code/tests.md" |
| 28 | + ] }, |
| 29 | + { "Documentation" = [ |
| 30 | + "example_docs/zensical/docs.md", |
| 31 | + "example_docs/zensical/build.md" |
| 32 | + ] }, |
| 33 | + { "GitHub and CI" = [ |
| 34 | + "example_docs/github/commits.md", |
| 35 | + "example_docs/github/workflows.md" |
| 36 | + ] }, |
| 37 | + { "Code Documentation" = [ |
| 38 | + "reference/" |
| 39 | + ] }, |
| 40 | + { "About" = [ |
| 41 | + "example_docs/about/changelog.md", |
| 42 | + "example_docs/about/conduct.md", |
| 43 | + "example_docs/about/license.md" |
| 44 | + ] } |
| 45 | +] |
| 46 | + |
| 47 | +[project.theme] |
| 48 | +features = [ |
| 49 | + "content.action.edit", |
| 50 | + "content.code.copy", |
| 51 | + "content.code.select", |
| 52 | + "content.code.annotate", |
| 53 | + "content.tabs.link", |
| 54 | + "content.tooltips", |
| 55 | + "navigation.footer", |
| 56 | + "navigation.path", |
| 57 | + "navigation.tracking", |
| 58 | + "navigation.sections", |
| 59 | + "navigation.top", |
| 60 | + "search.highlight", |
| 61 | + "search.suggest", |
| 62 | + "search.share", |
| 63 | + "header.autohide", |
| 64 | + "toc.follow" |
| 65 | +] |
| 66 | + |
| 67 | +[project.theme.palette] |
| 68 | +primary = "orange" |
| 69 | +scheme = "slate" |
| 70 | + |
| 71 | +[project.markdown_extensions.abbr] |
| 72 | + |
| 73 | +[project.markdown_extensions.admonition] |
| 74 | + |
| 75 | +[project.markdown_extensions.attr_list] |
| 76 | + |
| 77 | +[project.markdown_extensions.def_list] |
| 78 | + |
| 79 | +[project.markdown_extensions.footnotes] |
| 80 | + |
| 81 | +[project.markdown_extensions.md_in_html] |
| 82 | + |
| 83 | +[project.markdown_extensions.toc] |
| 84 | +permalink = true |
| 85 | + |
| 86 | +[project.markdown_extensions.pymdownx.arithmatex] |
| 87 | +generic = true |
| 88 | + |
| 89 | +[project.markdown_extensions.pymdownx.betterem] |
| 90 | +smart_enable = "all" |
| 91 | + |
| 92 | +[project.markdown_extensions.pymdownx.caret] |
| 93 | + |
| 94 | +[project.markdown_extensions.pymdownx.details] |
| 95 | + |
| 96 | +[project.markdown_extensions.pymdownx.highlight] |
| 97 | +anchor_linenums = true |
| 98 | +line_spans = "__span" |
| 99 | +pygments_lang_class = true |
| 100 | + |
| 101 | +[project.markdown_extensions.pymdownx.inlinehilite] |
| 102 | + |
| 103 | +[project.markdown_extensions.pymdownx.keys] |
| 104 | + |
| 105 | +[project.markdown_extensions.pymdownx.magiclink] |
| 106 | + |
| 107 | +[project.markdown_extensions.pymdownx.mark] |
| 108 | + |
| 109 | +[project.markdown_extensions.pymdownx.snippets] |
| 110 | + |
| 111 | +[project.markdown_extensions.pymdownx.smartsymbols] |
| 112 | + |
| 113 | +[project.markdown_extensions.pymdownx.superfences] |
| 114 | +custom_fences = [ |
| 115 | + { name = "mermaid", class = "mermaid", format = "pymdownx.superfences.fence_code_format" } |
| 116 | +] |
| 117 | + |
| 118 | +[project.markdown_extensions.pymdownx.tabbed] |
| 119 | +alternate_style = true |
| 120 | + |
| 121 | +[project.markdown_extensions.pymdownx.tasklist] |
| 122 | +custom_checkbox = true |
| 123 | + |
| 124 | +[project.markdown_extensions.pymdownx.tilde] |
| 125 | + |
| 126 | +[project.plugins.search] |
| 127 | +separator = '[\\s\\-,:!=\\[\\]()\"`/]+|\\.(?!\\d)|&[lg]t;|(?!\\b)(?=[A-Z][a-z])' |
| 128 | + |
| 129 | +[project.plugins.autorefs] |
| 130 | + |
| 131 | +# https://github.com/zensical/backlog/issues/37 |
| 132 | +[project.plugins.social] |
| 133 | + |
| 134 | +[project.plugins.offline] |
| 135 | + |
| 136 | +[project.plugins.mkdocstrings] |
| 137 | +default_handler = "python" |
| 138 | + |
| 139 | +[project.plugins.mkdocstrings.handlers.python] |
| 140 | +inventories = [ |
| 141 | + "https://docs.python.org/3/objects.inv", |
| 142 | + "https://numpy.org/doc/stable/objects.inv" |
| 143 | +] |
| 144 | + |
| 145 | +[project.plugins.mkdocstrings.handlers.python.options] |
| 146 | +docstring_style = "numpy" |
| 147 | +docstring_section_style = "list" |
| 148 | +separate_signature = true |
| 149 | +merge_init_into_class = true |
| 150 | +show_signature_annotations = true |
| 151 | +signature_crossrefs = true |
| 152 | +show_if_no_docstring = true |
| 153 | + |
| 154 | +[project.plugins.mkdocstrings.handlers.python.options.docstring_options] |
| 155 | +ignore_init_summary = true |
| 156 | + |
| 157 | +# https://github.com/zensical/backlog/issues/8 |
| 158 | +[project.plugins.gen-files] |
| 159 | +scripts = ["docs/gen_ref_pages.py"] |
| 160 | + |
| 161 | +# https://github.com/zensical/backlog/issues/13 |
| 162 | +[project.plugins.literate-nav] |
| 163 | +nav_file = "SUMMARY.md" |
0 commit comments