|
1 | 1 | # basic configuration: |
2 | 2 | site_name: "somesy" |
3 | | -site_description: "Somesy is a CLI tool to avoid messy software project metadata by keeping it in sync." |
| 3 | +site_description: "A CLI tool for synchronizing software project metadata." |
4 | 4 | site_url: "https://materials-data-science-and-informatics.github.io/somesy" |
5 | 5 | repo_url: "https://github.com/Materials-Data-Science-and-Informatics/somesy" |
6 | 6 | edit_uri: "blob/main/docs/" |
7 | 7 | repo_name: "Materials-Data-Science-and-Informatics/somesy" |
8 | 8 |
|
9 | 9 | # navigation structure (TOC + respective markdown files): |
10 | 10 | nav: |
11 | | - - Home: |
12 | | - - Overview: index.md |
13 | | - - Changelog: changelog.md |
14 | | - - Credits: credits.md |
15 | | - - License: license.md |
16 | | - - Usage: |
17 | | - - Quickstart: quickstart.md |
18 | | - - User Manual: manual.md |
19 | | - - API: reference/ # auto-generated (from Python docstrings) |
20 | | - - Development: |
21 | | - - How To Contribute: contributing.md |
22 | | - - Developer Guide: dev_guide.md |
23 | | - - Code of Conduct: code_of_conduct.md |
24 | | - - Coverage Report: coverage.md # cov report (pytest --cov --cov-report html) |
| 11 | +- Home: |
| 12 | + - Overview: index.md |
| 13 | + - Changelog: changelog.md |
| 14 | + - Credits: credits.md |
| 15 | + - License: license.md |
| 16 | +- Usage: |
| 17 | + - Quickstart: quickstart.md |
| 18 | + - User Manual: manual.md |
| 19 | + - API: reference/ # auto-generated (from Python docstrings) |
| 20 | +- Development: |
| 21 | + - How To Contribute: contributing.md |
| 22 | + - Developer Guide: dev_guide.md |
| 23 | + - Code of Conduct: code_of_conduct.md |
| 24 | + - Coverage Report: coverage.md # cov report (pytest --cov --cov-report html) |
25 | 25 |
|
26 | 26 | extra: |
27 | 27 | # social links in footer: |
28 | 28 | social: |
29 | | - - icon: 'fontawesome/brands/github' |
30 | | - link: 'https://github.com/Materials-Data-Science-and-Informatics' |
31 | | - - icon: 'fontawesome/solid/globe' |
32 | | - link: 'https://github.com/Materials-Data-Science-and-Informatics' |
| 29 | + - icon: 'fontawesome/brands/github' |
| 30 | + link: 'https://github.com/Materials-Data-Science-and-Informatics' |
| 31 | + - icon: 'fontawesome/solid/globe' |
| 32 | + link: 'https://github.com/Materials-Data-Science-and-Informatics' |
33 | 33 |
|
34 | 34 | # versioned docs: https://squidfunk.github.io/mkdocs-material/setup/setting-up-versioning/ |
35 | 35 | version: |
@@ -63,93 +63,94 @@ theme: |
63 | 63 |
|
64 | 64 | # light/dark mode toggle: https://squidfunk.github.io/mkdocs-material/setup/changing-the-colors/ |
65 | 65 | palette: |
66 | | - - media: "(prefers-color-scheme: light)" |
67 | | - scheme: default |
68 | | - toggle: |
69 | | - icon: material/brightness-7 |
70 | | - name: Switch to dark mode |
71 | | - - media: "(prefers-color-scheme: dark)" |
72 | | - scheme: slate |
73 | | - toggle: |
74 | | - icon: material/brightness-4 |
75 | | - name: Switch to light mode |
| 66 | + - media: "(prefers-color-scheme: light)" |
| 67 | + scheme: default |
| 68 | + toggle: |
| 69 | + icon: material/brightness-7 |
| 70 | + name: Switch to dark mode |
| 71 | + - media: "(prefers-color-scheme: dark)" |
| 72 | + scheme: slate |
| 73 | + toggle: |
| 74 | + icon: material/brightness-4 |
| 75 | + name: Switch to light mode |
76 | 76 | logo: "https://github.com/Materials-Data-Science-and-Informatics/Logos/raw/main/Somesy/Somesy_Logo.png" |
77 | 77 | favicon: "https://github.com/Materials-Data-Science-and-Informatics/Logos/raw/main/Somesy/Somesy_Logo.png" |
78 | 78 |
|
79 | 79 | extra_css: |
80 | 80 | # list of extra CSS files to override and configure defaults: |
81 | | - - css/style.css |
| 81 | +- css/style.css |
82 | 82 |
|
83 | 83 | markdown_extensions: |
84 | 84 | # Enable permalink to sections: |
85 | | - - toc: |
86 | | - permalink: true |
| 85 | +- toc: |
| 86 | + permalink: true |
87 | 87 | # Setting HTML/CSS attributes: https://python-markdown.github.io/extensions/attr_list/ |
88 | | - - attr_list |
| 88 | +- attr_list |
89 | 89 | # Definitions: https://python-markdown.github.io/extensions/definition_lists/ |
90 | | - - def_list |
| 90 | +- def_list |
91 | 91 | # Footnotes: https://squidfunk.github.io/mkdocs-material/reference/footnotes/ |
92 | | - - footnotes |
| 92 | +- footnotes |
93 | 93 | # Various boxes: https://squidfunk.github.io/mkdocs-material/reference/admonitions/ |
94 | | - - admonition |
95 | | - - pymdownx.details |
96 | | - - pymdownx.superfences |
| 94 | +- admonition |
| 95 | +- pymdownx.details |
| 96 | +- pymdownx.superfences |
97 | 97 | # smart links: https://facelessuser.github.io/pymdown-extensions/extensions/magiclink/ |
98 | | - - pymdownx.magiclink: |
99 | | - repo_url_shorthand: true |
| 98 | +- pymdownx.magiclink: |
| 99 | + repo_url_shorthand: true |
100 | 100 | # Superscript: https://facelessuser.github.io/pymdown-extensions/extensions/caret/ |
101 | | - - pymdownx.caret |
| 101 | +- pymdownx.caret |
102 | 102 | # Strikethrough markup: https://facelessuser.github.io/pymdown-extensions/extensions/tilde/ |
103 | | - - pymdownx.tilde |
| 103 | +- pymdownx.tilde |
104 | 104 | # Auto-Unicode for common symbols: https://facelessuser.github.io/pymdown-extensions/extensions/smartsymbols/ |
105 | | - - pymdownx.smartsymbols |
| 105 | +- pymdownx.smartsymbols |
106 | 106 | # Github-style task list: https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#tasklist |
107 | | - - pymdownx.tasklist: |
108 | | - custom_checkbox: true |
| 107 | +- pymdownx.tasklist: |
| 108 | + custom_checkbox: true |
109 | 109 | # Tabbed boxes: https://facelessuser.github.io/pymdown-extensions/extensions/tabbed/ |
110 | | - - pymdownx.tabbed: |
111 | | - alternate_style: true |
| 110 | +- pymdownx.tabbed: |
| 111 | + alternate_style: true |
112 | 112 | # Inlining markdown: https://facelessuser.github.io/pymdown-extensions/extensions/snippets/ |
113 | | - - pymdownx.snippets: |
114 | | - check_paths: true |
| 113 | +- pymdownx.snippets: |
| 114 | + check_paths: true |
115 | 115 | # Icons and Emoji: https://squidfunk.github.io/mkdocs-material/reference/icons-emojis/ |
116 | | - - pymdownx.emoji: |
117 | | - emoji_index: !!python/name:material.extensions.emoji.twemoji |
118 | | - emoji_generator: !!python/name:material.extensions.emoji.to_svg |
| 116 | +- pymdownx.emoji: |
| 117 | + emoji_index: !!python/name:material.extensions.emoji.twemoji |
| 118 | + emoji_generator: !!python/name:material.extensions.emoji.to_svg |
119 | 119 |
|
120 | 120 | plugins: |
121 | 121 | # default search box (must be listed if plugins are added) |
122 | | - - search |
| 122 | +- search |
123 | 123 | # embed coverage report: https://pawamoy.github.io/mkdocs-coverage/ |
124 | | - - coverage |
| 124 | +- coverage |
125 | 125 | # execute code (e.g. generate diagrams): https://pawamoy.github.io/markdown-exec/ |
126 | | - - markdown-exec |
| 126 | +- markdown-exec |
127 | 127 | # automatic API docs: https://mkdocstrings.github.io/recipes/#automatic-code-reference-pages |
128 | | - - gen-files: |
129 | | - scripts: |
130 | | - - docs/scripts/gen_ref_pages.py |
131 | | - - literate-nav: |
132 | | - nav_file: SUMMARY.md |
133 | | - - section-index |
134 | | - - mkdocstrings: |
135 | | - handlers: |
136 | | - python: |
137 | | - paths: [src] |
138 | | - options: |
139 | | - members_order: source |
140 | | - separate_signature: true |
141 | | - show_signature_annotations: true |
| 128 | +- gen-files: |
| 129 | + scripts: |
| 130 | + - docs/scripts/gen_ref_pages.py |
| 131 | +- literate-nav: |
| 132 | + nav_file: SUMMARY.md |
| 133 | +- section-index |
| 134 | +- mkdocstrings: |
| 135 | + handlers: |
| 136 | + python: |
| 137 | + paths: [src] |
| 138 | + options: |
| 139 | + members_order: source |
| 140 | + separate_signature: true |
| 141 | + show_signature_annotations: true |
142 | 142 | # https://squidfunk.github.io/mkdocs-material/setup/building-for-offline-usage/#built-in-offline-plugin |
143 | 143 | # To allow building for offline usage, e.g. with: OFFLINE=true mkdocs build |
144 | | - - offline: |
145 | | - enabled: !ENV [OFFLINE, false] |
| 144 | +- offline: |
| 145 | + enabled: !ENV [OFFLINE, false] |
146 | 146 | # to make multi-version docs work right |
147 | | - - mike |
148 | | - - exclude: |
149 | | - glob: |
150 | | - - "_*.md" # for internal purposes |
| 147 | +- mike |
| 148 | +- exclude: |
| 149 | + glob: |
| 150 | + - "_*.md" # for internal purposes |
151 | 151 |
|
152 | 152 | hooks: |
153 | | - - docs/scripts/coverage_status.py |
| 153 | +- docs/scripts/coverage_status.py |
154 | 154 |
|
155 | 155 | strict: true |
| 156 | +site_author: Mustafa Soylu <m.soylu@fz-juelich.de> |
0 commit comments