mkdocs 1.6.1__tar.gz → 2.0.dev0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (292) hide show
  1. mkdocs-2.0.dev0/.github/workflows/docs.yml +28 -0
  2. mkdocs-2.0.dev0/.github/workflows/test-suite.yml +36 -0
  3. mkdocs-2.0.dev0/.gitignore +4 -0
  4. mkdocs-2.0.dev0/PKG-INFO +21 -0
  5. mkdocs-2.0.dev0/README.md +74 -0
  6. mkdocs-2.0.dev0/docs/img/codercat.png +0 -0
  7. mkdocs-2.0.dev0/docs/img/kelp.png +0 -0
  8. mkdocs-2.0.dev0/docs/img/mkdocs.png +0 -0
  9. mkdocs-2.0.dev0/docs/index.md +60 -0
  10. mkdocs-2.0.dev0/docs/navigation.md +92 -0
  11. mkdocs-2.0.dev0/docs/styling.md +153 -0
  12. mkdocs-2.0.dev0/docs/writing.md +241 -0
  13. mkdocs-2.0.dev0/mkdocs.toml +15 -0
  14. mkdocs-2.0.dev0/pyproject.toml +37 -0
  15. mkdocs-2.0.dev0/requirements.txt +3 -0
  16. mkdocs-2.0.dev0/scripts/install +19 -0
  17. mkdocs-2.0.dev0/scripts/test +10 -0
  18. mkdocs-2.0.dev0/src/mkdocs/__init__.py +15 -0
  19. mkdocs-2.0.dev0/src/mkdocs/__version__.py +2 -0
  20. mkdocs-2.0.dev0/src/mkdocs/default/base.html +17 -0
  21. mkdocs-2.0.dev0/src/mkdocs/default/favicon.html +1 -0
  22. mkdocs-2.0.dev0/src/mkdocs/default/highlight.css +86 -0
  23. mkdocs-2.0.dev0/src/mkdocs/default/style.css +148 -0
  24. mkdocs-2.0.dev0/src/mkdocs/extensions/relative_urls.py +59 -0
  25. mkdocs-2.0.dev0/src/mkdocs/extensions/short_codes.py +38 -0
  26. mkdocs-2.0.dev0/src/mkdocs/extensions/strike_thru.py +19 -0
  27. mkdocs-2.0.dev0/src/mkdocs/mkdocs.py +237 -0
  28. mkdocs-2.0.dev0/tests/test_mkdocs.py +2 -0
  29. mkdocs-2.0.dev0/uv.lock +168 -0
  30. mkdocs-1.6.1/.gitignore +0 -70
  31. mkdocs-1.6.1/LICENSE +0 -26
  32. mkdocs-1.6.1/PKG-INFO +0 -143
  33. mkdocs-1.6.1/README.md +0 -79
  34. mkdocs-1.6.1/hatch_build.py +0 -14
  35. mkdocs-1.6.1/mkdocs/__init__.py +0 -5
  36. mkdocs-1.6.1/mkdocs/__main__.py +0 -370
  37. mkdocs-1.6.1/mkdocs/commands/build.py +0 -369
  38. mkdocs-1.6.1/mkdocs/commands/gh_deploy.py +0 -169
  39. mkdocs-1.6.1/mkdocs/commands/new.py +0 -53
  40. mkdocs-1.6.1/mkdocs/commands/serve.py +0 -112
  41. mkdocs-1.6.1/mkdocs/config/__init__.py +0 -3
  42. mkdocs-1.6.1/mkdocs/config/base.py +0 -392
  43. mkdocs-1.6.1/mkdocs/config/config_options.py +0 -1226
  44. mkdocs-1.6.1/mkdocs/config/defaults.py +0 -218
  45. mkdocs-1.6.1/mkdocs/contrib/__init__.py +0 -0
  46. mkdocs-1.6.1/mkdocs/contrib/search/__init__.py +0 -120
  47. mkdocs-1.6.1/mkdocs/contrib/search/lunr-language/lunr.ar.js +0 -381
  48. mkdocs-1.6.1/mkdocs/contrib/search/lunr-language/lunr.da.js +0 -284
  49. mkdocs-1.6.1/mkdocs/contrib/search/lunr-language/lunr.de.js +0 -384
  50. mkdocs-1.6.1/mkdocs/contrib/search/lunr-language/lunr.du.js +0 -450
  51. mkdocs-1.6.1/mkdocs/contrib/search/lunr-language/lunr.es.js +0 -599
  52. mkdocs-1.6.1/mkdocs/contrib/search/lunr-language/lunr.fi.js +0 -541
  53. mkdocs-1.6.1/mkdocs/contrib/search/lunr-language/lunr.fr.js +0 -703
  54. mkdocs-1.6.1/mkdocs/contrib/search/lunr-language/lunr.hi.js +0 -123
  55. mkdocs-1.6.1/mkdocs/contrib/search/lunr-language/lunr.hu.js +0 -565
  56. mkdocs-1.6.1/mkdocs/contrib/search/lunr-language/lunr.hy.js +0 -98
  57. mkdocs-1.6.1/mkdocs/contrib/search/lunr-language/lunr.it.js +0 -617
  58. mkdocs-1.6.1/mkdocs/contrib/search/lunr-language/lunr.ja.js +0 -188
  59. mkdocs-1.6.1/mkdocs/contrib/search/lunr-language/lunr.jp.js +0 -5
  60. mkdocs-1.6.1/mkdocs/contrib/search/lunr-language/lunr.kn.js +0 -110
  61. mkdocs-1.6.1/mkdocs/contrib/search/lunr-language/lunr.ko.js +0 -114
  62. mkdocs-1.6.1/mkdocs/contrib/search/lunr-language/lunr.multi.js +0 -79
  63. mkdocs-1.6.1/mkdocs/contrib/search/lunr-language/lunr.nl.js +0 -448
  64. mkdocs-1.6.1/mkdocs/contrib/search/lunr-language/lunr.no.js +0 -258
  65. mkdocs-1.6.1/mkdocs/contrib/search/lunr-language/lunr.pt.js +0 -570
  66. mkdocs-1.6.1/mkdocs/contrib/search/lunr-language/lunr.ro.js +0 -558
  67. mkdocs-1.6.1/mkdocs/contrib/search/lunr-language/lunr.ru.js +0 -391
  68. mkdocs-1.6.1/mkdocs/contrib/search/lunr-language/lunr.sa.js +0 -110
  69. mkdocs-1.6.1/mkdocs/contrib/search/lunr-language/lunr.stemmer.support.js +0 -304
  70. mkdocs-1.6.1/mkdocs/contrib/search/lunr-language/lunr.sv.js +0 -256
  71. mkdocs-1.6.1/mkdocs/contrib/search/lunr-language/lunr.ta.js +0 -123
  72. mkdocs-1.6.1/mkdocs/contrib/search/lunr-language/lunr.te.js +0 -122
  73. mkdocs-1.6.1/mkdocs/contrib/search/lunr-language/lunr.th.js +0 -99
  74. mkdocs-1.6.1/mkdocs/contrib/search/lunr-language/lunr.tr.js +0 -1087
  75. mkdocs-1.6.1/mkdocs/contrib/search/lunr-language/lunr.vi.js +0 -84
  76. mkdocs-1.6.1/mkdocs/contrib/search/lunr-language/lunr.zh.js +0 -145
  77. mkdocs-1.6.1/mkdocs/contrib/search/lunr-language/tinyseg.js +0 -206
  78. mkdocs-1.6.1/mkdocs/contrib/search/prebuild-index.js +0 -56
  79. mkdocs-1.6.1/mkdocs/contrib/search/search_index.py +0 -225
  80. mkdocs-1.6.1/mkdocs/contrib/search/templates/search/lunr.js +0 -3475
  81. mkdocs-1.6.1/mkdocs/contrib/search/templates/search/main.js +0 -109
  82. mkdocs-1.6.1/mkdocs/contrib/search/templates/search/worker.js +0 -133
  83. mkdocs-1.6.1/mkdocs/exceptions.py +0 -41
  84. mkdocs-1.6.1/mkdocs/livereload/__init__.py +0 -381
  85. mkdocs-1.6.1/mkdocs/localization.py +0 -92
  86. mkdocs-1.6.1/mkdocs/plugins.py +0 -697
  87. mkdocs-1.6.1/mkdocs/py.typed +0 -0
  88. mkdocs-1.6.1/mkdocs/structure/__init__.py +0 -36
  89. mkdocs-1.6.1/mkdocs/structure/files.py +0 -626
  90. mkdocs-1.6.1/mkdocs/structure/nav.py +0 -251
  91. mkdocs-1.6.1/mkdocs/structure/pages.py +0 -569
  92. mkdocs-1.6.1/mkdocs/structure/toc.py +0 -80
  93. mkdocs-1.6.1/mkdocs/templates/sitemap.xml +0 -11
  94. mkdocs-1.6.1/mkdocs/tests/__init__.py +0 -16
  95. mkdocs-1.6.1/mkdocs/tests/base.py +0 -129
  96. mkdocs-1.6.1/mkdocs/tests/build_tests.py +0 -898
  97. mkdocs-1.6.1/mkdocs/tests/cli_tests.py +0 -646
  98. mkdocs-1.6.1/mkdocs/tests/config/__init__.py +0 -0
  99. mkdocs-1.6.1/mkdocs/tests/config/base_tests.py +0 -274
  100. mkdocs-1.6.1/mkdocs/tests/config/config_options_legacy_tests.py +0 -1646
  101. mkdocs-1.6.1/mkdocs/tests/config/config_options_tests.py +0 -2420
  102. mkdocs-1.6.1/mkdocs/tests/config/config_tests.py +0 -272
  103. mkdocs-1.6.1/mkdocs/tests/gh_deploy_tests.py +0 -185
  104. mkdocs-1.6.1/mkdocs/tests/integration/complicated_config/documentation/custom.html +0 -9
  105. mkdocs-1.6.1/mkdocs/tests/integration/complicated_config/documentation/index.md +0 -4
  106. mkdocs-1.6.1/mkdocs/tests/integration/complicated_config/documentation/tweak.css +0 -3
  107. mkdocs-1.6.1/mkdocs/tests/integration/complicated_config/documentation/tweak.js +0 -1
  108. mkdocs-1.6.1/mkdocs/tests/integration/complicated_config/mkdocs.yml +0 -46
  109. mkdocs-1.6.1/mkdocs/tests/integration/complicated_config/theme_tweaks/404.html +0 -7
  110. mkdocs-1.6.1/mkdocs/tests/integration/minimal/docs/testing.md +0 -17
  111. mkdocs-1.6.1/mkdocs/tests/integration/minimal/mkdocs.yml +0 -6
  112. mkdocs-1.6.1/mkdocs/tests/integration/projects.yaml +0 -82
  113. mkdocs-1.6.1/mkdocs/tests/integration/subpages/docs/image.png +0 -0
  114. mkdocs-1.6.1/mkdocs/tests/integration/subpages/docs/index.md +0 -23
  115. mkdocs-1.6.1/mkdocs/tests/integration/subpages/docs/metadata.md +0 -5
  116. mkdocs-1.6.1/mkdocs/tests/integration/subpages/docs/non-index.md +0 -23
  117. mkdocs-1.6.1/mkdocs/tests/integration/subpages/docs/page-title.md +0 -1
  118. mkdocs-1.6.1/mkdocs/tests/integration/subpages/docs/pageTitle.md +0 -1
  119. mkdocs-1.6.1/mkdocs/tests/integration/subpages/docs/sub1/image.png +0 -0
  120. mkdocs-1.6.1/mkdocs/tests/integration/subpages/docs/sub1/index.md +0 -38
  121. mkdocs-1.6.1/mkdocs/tests/integration/subpages/docs/sub1/non-index.md +0 -38
  122. mkdocs-1.6.1/mkdocs/tests/integration/subpages/docs/sub1/sub1a/index.md +0 -30
  123. mkdocs-1.6.1/mkdocs/tests/integration/subpages/docs/sub1/sub1a/non-index.md +0 -30
  124. mkdocs-1.6.1/mkdocs/tests/integration/subpages/docs/sub2/index.md +0 -31
  125. mkdocs-1.6.1/mkdocs/tests/integration/subpages/docs/sub2/non-index.md +0 -31
  126. mkdocs-1.6.1/mkdocs/tests/integration/subpages/mkdocs.yml +0 -1
  127. mkdocs-1.6.1/mkdocs/tests/integration/unicode/docs/index.md +0 -2
  128. mkdocs-1.6.1/mkdocs/tests/integration/unicode/docs//303/234bersicht.md +0 -17
  129. mkdocs-1.6.1/mkdocs/tests/integration/unicode/docs//342/231/252.md +0 -17
  130. mkdocs-1.6.1/mkdocs/tests/integration/unicode/mkdocs.yml +0 -1
  131. mkdocs-1.6.1/mkdocs/tests/integration.py +0 -75
  132. mkdocs-1.6.1/mkdocs/tests/livereload_tests.py +0 -626
  133. mkdocs-1.6.1/mkdocs/tests/localization_tests.py +0 -74
  134. mkdocs-1.6.1/mkdocs/tests/new_tests.py +0 -24
  135. mkdocs-1.6.1/mkdocs/tests/plugin_tests.py +0 -328
  136. mkdocs-1.6.1/mkdocs/tests/search_tests.py +0 -633
  137. mkdocs-1.6.1/mkdocs/tests/structure/__init__.py +0 -0
  138. mkdocs-1.6.1/mkdocs/tests/structure/file_tests.py +0 -746
  139. mkdocs-1.6.1/mkdocs/tests/structure/nav_tests.py +0 -550
  140. mkdocs-1.6.1/mkdocs/tests/structure/page_tests.py +0 -1382
  141. mkdocs-1.6.1/mkdocs/tests/structure/toc_tests.py +0 -198
  142. mkdocs-1.6.1/mkdocs/tests/theme_tests.py +0 -125
  143. mkdocs-1.6.1/mkdocs/tests/utils/__init__.py +0 -0
  144. mkdocs-1.6.1/mkdocs/tests/utils/babel_stub_tests.py +0 -55
  145. mkdocs-1.6.1/mkdocs/tests/utils/templates_tests.py +0 -49
  146. mkdocs-1.6.1/mkdocs/tests/utils/utils_tests.py +0 -602
  147. mkdocs-1.6.1/mkdocs/theme.py +0 -166
  148. mkdocs-1.6.1/mkdocs/themes/__init__.py +0 -0
  149. mkdocs-1.6.1/mkdocs/themes/babel.cfg +0 -6
  150. mkdocs-1.6.1/mkdocs/themes/mkdocs/404.html +0 -12
  151. mkdocs-1.6.1/mkdocs/themes/mkdocs/__init__.py +0 -0
  152. mkdocs-1.6.1/mkdocs/themes/mkdocs/base.html +0 -251
  153. mkdocs-1.6.1/mkdocs/themes/mkdocs/content.html +0 -9
  154. mkdocs-1.6.1/mkdocs/themes/mkdocs/css/base.css +0 -366
  155. mkdocs-1.6.1/mkdocs/themes/mkdocs/css/bootstrap.min.css +0 -12
  156. mkdocs-1.6.1/mkdocs/themes/mkdocs/css/bootstrap.min.css.map +0 -1
  157. mkdocs-1.6.1/mkdocs/themes/mkdocs/css/brands.min.css +0 -6
  158. mkdocs-1.6.1/mkdocs/themes/mkdocs/css/fontawesome.min.css +0 -9
  159. mkdocs-1.6.1/mkdocs/themes/mkdocs/css/solid.min.css +0 -6
  160. mkdocs-1.6.1/mkdocs/themes/mkdocs/css/v4-font-face.min.css +0 -6
  161. mkdocs-1.6.1/mkdocs/themes/mkdocs/img/favicon.ico +0 -0
  162. mkdocs-1.6.1/mkdocs/themes/mkdocs/img/grid.png +0 -0
  163. mkdocs-1.6.1/mkdocs/themes/mkdocs/js/base.js +0 -287
  164. mkdocs-1.6.1/mkdocs/themes/mkdocs/js/bootstrap.bundle.min.js +0 -7
  165. mkdocs-1.6.1/mkdocs/themes/mkdocs/js/bootstrap.bundle.min.js.map +0 -1
  166. mkdocs-1.6.1/mkdocs/themes/mkdocs/js/darkmode.js +0 -65
  167. mkdocs-1.6.1/mkdocs/themes/mkdocs/keyboard-modal.html +0 -40
  168. mkdocs-1.6.1/mkdocs/themes/mkdocs/locales/de/LC_MESSAGES/messages.mo +0 -0
  169. mkdocs-1.6.1/mkdocs/themes/mkdocs/locales/de/LC_MESSAGES/messages.po +0 -103
  170. mkdocs-1.6.1/mkdocs/themes/mkdocs/locales/es/LC_MESSAGES/messages.mo +0 -0
  171. mkdocs-1.6.1/mkdocs/themes/mkdocs/locales/es/LC_MESSAGES/messages.po +0 -103
  172. mkdocs-1.6.1/mkdocs/themes/mkdocs/locales/fa/LC_MESSAGES/messages.mo +0 -0
  173. mkdocs-1.6.1/mkdocs/themes/mkdocs/locales/fa/LC_MESSAGES/messages.po +0 -103
  174. mkdocs-1.6.1/mkdocs/themes/mkdocs/locales/fr/LC_MESSAGES/messages.mo +0 -0
  175. mkdocs-1.6.1/mkdocs/themes/mkdocs/locales/fr/LC_MESSAGES/messages.po +0 -103
  176. mkdocs-1.6.1/mkdocs/themes/mkdocs/locales/id/LC_MESSAGES/messages.mo +0 -0
  177. mkdocs-1.6.1/mkdocs/themes/mkdocs/locales/id/LC_MESSAGES/messages.po +0 -103
  178. mkdocs-1.6.1/mkdocs/themes/mkdocs/locales/it/LC_MESSAGES/messages.mo +0 -0
  179. mkdocs-1.6.1/mkdocs/themes/mkdocs/locales/it/LC_MESSAGES/messages.po +0 -103
  180. mkdocs-1.6.1/mkdocs/themes/mkdocs/locales/ja/LC_MESSAGES/messages.mo +0 -0
  181. mkdocs-1.6.1/mkdocs/themes/mkdocs/locales/ja/LC_MESSAGES/messages.po +0 -101
  182. mkdocs-1.6.1/mkdocs/themes/mkdocs/locales/nb/LC_MESSAGES/messages.mo +0 -0
  183. mkdocs-1.6.1/mkdocs/themes/mkdocs/locales/nb/LC_MESSAGES/messages.po +0 -101
  184. mkdocs-1.6.1/mkdocs/themes/mkdocs/locales/nl/LC_MESSAGES/messages.mo +0 -0
  185. mkdocs-1.6.1/mkdocs/themes/mkdocs/locales/nl/LC_MESSAGES/messages.po +0 -102
  186. mkdocs-1.6.1/mkdocs/themes/mkdocs/locales/nn/LC_MESSAGES/messages.mo +0 -0
  187. mkdocs-1.6.1/mkdocs/themes/mkdocs/locales/nn/LC_MESSAGES/messages.po +0 -101
  188. mkdocs-1.6.1/mkdocs/themes/mkdocs/locales/pl/LC_MESSAGES/messages.mo +0 -0
  189. mkdocs-1.6.1/mkdocs/themes/mkdocs/locales/pl/LC_MESSAGES/messages.po +0 -104
  190. mkdocs-1.6.1/mkdocs/themes/mkdocs/locales/pt_BR/LC_MESSAGES/messages.mo +0 -0
  191. mkdocs-1.6.1/mkdocs/themes/mkdocs/locales/pt_BR/LC_MESSAGES/messages.po +0 -103
  192. mkdocs-1.6.1/mkdocs/themes/mkdocs/locales/ru/LC_MESSAGES/messages.mo +0 -0
  193. mkdocs-1.6.1/mkdocs/themes/mkdocs/locales/ru/LC_MESSAGES/messages.po +0 -104
  194. mkdocs-1.6.1/mkdocs/themes/mkdocs/locales/tr/LC_MESSAGES/messages.mo +0 -0
  195. mkdocs-1.6.1/mkdocs/themes/mkdocs/locales/tr/LC_MESSAGES/messages.po +0 -103
  196. mkdocs-1.6.1/mkdocs/themes/mkdocs/locales/uk/LC_MESSAGES/messages.mo +0 -0
  197. mkdocs-1.6.1/mkdocs/themes/mkdocs/locales/uk/LC_MESSAGES/messages.po +0 -102
  198. mkdocs-1.6.1/mkdocs/themes/mkdocs/locales/zh_CN/LC_MESSAGES/messages.mo +0 -0
  199. mkdocs-1.6.1/mkdocs/themes/mkdocs/locales/zh_CN/LC_MESSAGES/messages.po +0 -101
  200. mkdocs-1.6.1/mkdocs/themes/mkdocs/locales/zh_TW/LC_MESSAGES/messages.mo +0 -0
  201. mkdocs-1.6.1/mkdocs/themes/mkdocs/locales/zh_TW/LC_MESSAGES/messages.po +0 -101
  202. mkdocs-1.6.1/mkdocs/themes/mkdocs/main.html +0 -10
  203. mkdocs-1.6.1/mkdocs/themes/mkdocs/messages.pot +0 -101
  204. mkdocs-1.6.1/mkdocs/themes/mkdocs/mkdocs_theme.yml +0 -28
  205. mkdocs-1.6.1/mkdocs/themes/mkdocs/nav-sub.html +0 -14
  206. mkdocs-1.6.1/mkdocs/themes/mkdocs/search-modal.html +0 -21
  207. mkdocs-1.6.1/mkdocs/themes/mkdocs/toc.html +0 -26
  208. mkdocs-1.6.1/mkdocs/themes/mkdocs/webfonts/fa-brands-400.ttf +0 -0
  209. mkdocs-1.6.1/mkdocs/themes/mkdocs/webfonts/fa-brands-400.woff2 +0 -0
  210. mkdocs-1.6.1/mkdocs/themes/mkdocs/webfonts/fa-regular-400.ttf +0 -0
  211. mkdocs-1.6.1/mkdocs/themes/mkdocs/webfonts/fa-regular-400.woff2 +0 -0
  212. mkdocs-1.6.1/mkdocs/themes/mkdocs/webfonts/fa-solid-900.ttf +0 -0
  213. mkdocs-1.6.1/mkdocs/themes/mkdocs/webfonts/fa-solid-900.woff2 +0 -0
  214. mkdocs-1.6.1/mkdocs/themes/mkdocs/webfonts/fa-v4compatibility.ttf +0 -0
  215. mkdocs-1.6.1/mkdocs/themes/mkdocs/webfonts/fa-v4compatibility.woff2 +0 -0
  216. mkdocs-1.6.1/mkdocs/themes/readthedocs/404.html +0 -9
  217. mkdocs-1.6.1/mkdocs/themes/readthedocs/__init__.py +0 -0
  218. mkdocs-1.6.1/mkdocs/themes/readthedocs/base.html +0 -199
  219. mkdocs-1.6.1/mkdocs/themes/readthedocs/breadcrumbs.html +0 -44
  220. mkdocs-1.6.1/mkdocs/themes/readthedocs/css/fonts/Roboto-Slab-Bold.woff +0 -0
  221. mkdocs-1.6.1/mkdocs/themes/readthedocs/css/fonts/Roboto-Slab-Bold.woff2 +0 -0
  222. mkdocs-1.6.1/mkdocs/themes/readthedocs/css/fonts/Roboto-Slab-Regular.woff +0 -0
  223. mkdocs-1.6.1/mkdocs/themes/readthedocs/css/fonts/Roboto-Slab-Regular.woff2 +0 -0
  224. mkdocs-1.6.1/mkdocs/themes/readthedocs/css/fonts/fontawesome-webfont.eot +0 -0
  225. mkdocs-1.6.1/mkdocs/themes/readthedocs/css/fonts/fontawesome-webfont.svg +0 -2671
  226. mkdocs-1.6.1/mkdocs/themes/readthedocs/css/fonts/fontawesome-webfont.ttf +0 -0
  227. mkdocs-1.6.1/mkdocs/themes/readthedocs/css/fonts/fontawesome-webfont.woff +0 -0
  228. mkdocs-1.6.1/mkdocs/themes/readthedocs/css/fonts/fontawesome-webfont.woff2 +0 -0
  229. mkdocs-1.6.1/mkdocs/themes/readthedocs/css/fonts/lato-bold-italic.woff +0 -0
  230. mkdocs-1.6.1/mkdocs/themes/readthedocs/css/fonts/lato-bold-italic.woff2 +0 -0
  231. mkdocs-1.6.1/mkdocs/themes/readthedocs/css/fonts/lato-bold.woff +0 -0
  232. mkdocs-1.6.1/mkdocs/themes/readthedocs/css/fonts/lato-bold.woff2 +0 -0
  233. mkdocs-1.6.1/mkdocs/themes/readthedocs/css/fonts/lato-normal-italic.woff +0 -0
  234. mkdocs-1.6.1/mkdocs/themes/readthedocs/css/fonts/lato-normal-italic.woff2 +0 -0
  235. mkdocs-1.6.1/mkdocs/themes/readthedocs/css/fonts/lato-normal.woff +0 -0
  236. mkdocs-1.6.1/mkdocs/themes/readthedocs/css/fonts/lato-normal.woff2 +0 -0
  237. mkdocs-1.6.1/mkdocs/themes/readthedocs/css/theme.css +0 -13
  238. mkdocs-1.6.1/mkdocs/themes/readthedocs/css/theme_extra.css +0 -197
  239. mkdocs-1.6.1/mkdocs/themes/readthedocs/footer.html +0 -26
  240. mkdocs-1.6.1/mkdocs/themes/readthedocs/img/favicon.ico +0 -0
  241. mkdocs-1.6.1/mkdocs/themes/readthedocs/js/html5shiv.min.js +0 -4
  242. mkdocs-1.6.1/mkdocs/themes/readthedocs/js/jquery-3.6.0.min.js +0 -2
  243. mkdocs-1.6.1/mkdocs/themes/readthedocs/js/theme.js +0 -2
  244. mkdocs-1.6.1/mkdocs/themes/readthedocs/js/theme_extra.js +0 -8
  245. mkdocs-1.6.1/mkdocs/themes/readthedocs/locales/de/LC_MESSAGES/messages.mo +0 -0
  246. mkdocs-1.6.1/mkdocs/themes/readthedocs/locales/de/LC_MESSAGES/messages.po +0 -111
  247. mkdocs-1.6.1/mkdocs/themes/readthedocs/locales/es/LC_MESSAGES/messages.mo +0 -0
  248. mkdocs-1.6.1/mkdocs/themes/readthedocs/locales/es/LC_MESSAGES/messages.po +0 -113
  249. mkdocs-1.6.1/mkdocs/themes/readthedocs/locales/fa/LC_MESSAGES/messages.mo +0 -0
  250. mkdocs-1.6.1/mkdocs/themes/readthedocs/locales/fa/LC_MESSAGES/messages.po +0 -113
  251. mkdocs-1.6.1/mkdocs/themes/readthedocs/locales/fr/LC_MESSAGES/messages.mo +0 -0
  252. mkdocs-1.6.1/mkdocs/themes/readthedocs/locales/fr/LC_MESSAGES/messages.po +0 -113
  253. mkdocs-1.6.1/mkdocs/themes/readthedocs/locales/id/LC_MESSAGES/messages.mo +0 -0
  254. mkdocs-1.6.1/mkdocs/themes/readthedocs/locales/id/LC_MESSAGES/messages.po +0 -114
  255. mkdocs-1.6.1/mkdocs/themes/readthedocs/locales/it/LC_MESSAGES/messages.mo +0 -0
  256. mkdocs-1.6.1/mkdocs/themes/readthedocs/locales/it/LC_MESSAGES/messages.po +0 -113
  257. mkdocs-1.6.1/mkdocs/themes/readthedocs/locales/ja/LC_MESSAGES/messages.mo +0 -0
  258. mkdocs-1.6.1/mkdocs/themes/readthedocs/locales/ja/LC_MESSAGES/messages.po +0 -111
  259. mkdocs-1.6.1/mkdocs/themes/readthedocs/locales/nl/LC_MESSAGES/messages.mo +0 -0
  260. mkdocs-1.6.1/mkdocs/themes/readthedocs/locales/nl/LC_MESSAGES/messages.po +0 -114
  261. mkdocs-1.6.1/mkdocs/themes/readthedocs/locales/pl/LC_MESSAGES/messages.mo +0 -0
  262. mkdocs-1.6.1/mkdocs/themes/readthedocs/locales/pl/LC_MESSAGES/messages.po +0 -114
  263. mkdocs-1.6.1/mkdocs/themes/readthedocs/locales/pt_BR/LC_MESSAGES/messages.mo +0 -0
  264. mkdocs-1.6.1/mkdocs/themes/readthedocs/locales/pt_BR/LC_MESSAGES/messages.po +0 -114
  265. mkdocs-1.6.1/mkdocs/themes/readthedocs/locales/ru/LC_MESSAGES/messages.mo +0 -0
  266. mkdocs-1.6.1/mkdocs/themes/readthedocs/locales/ru/LC_MESSAGES/messages.po +0 -114
  267. mkdocs-1.6.1/mkdocs/themes/readthedocs/locales/tr/LC_MESSAGES/messages.mo +0 -0
  268. mkdocs-1.6.1/mkdocs/themes/readthedocs/locales/tr/LC_MESSAGES/messages.po +0 -113
  269. mkdocs-1.6.1/mkdocs/themes/readthedocs/locales/uk/LC_MESSAGES/messages.mo +0 -0
  270. mkdocs-1.6.1/mkdocs/themes/readthedocs/locales/uk/LC_MESSAGES/messages.po +0 -114
  271. mkdocs-1.6.1/mkdocs/themes/readthedocs/locales/zh_CN/LC_MESSAGES/messages.mo +0 -0
  272. mkdocs-1.6.1/mkdocs/themes/readthedocs/locales/zh_CN/LC_MESSAGES/messages.po +0 -113
  273. mkdocs-1.6.1/mkdocs/themes/readthedocs/locales/zh_TW/LC_MESSAGES/messages.mo +0 -0
  274. mkdocs-1.6.1/mkdocs/themes/readthedocs/locales/zh_TW/LC_MESSAGES/messages.po +0 -111
  275. mkdocs-1.6.1/mkdocs/themes/readthedocs/main.html +0 -10
  276. mkdocs-1.6.1/mkdocs/themes/readthedocs/messages.pot +0 -109
  277. mkdocs-1.6.1/mkdocs/themes/readthedocs/mkdocs_theme.yml +0 -25
  278. mkdocs-1.6.1/mkdocs/themes/readthedocs/nav.html +0 -22
  279. mkdocs-1.6.1/mkdocs/themes/readthedocs/search.html +0 -16
  280. mkdocs-1.6.1/mkdocs/themes/readthedocs/searchbox.html +0 -5
  281. mkdocs-1.6.1/mkdocs/themes/readthedocs/toc.html +0 -12
  282. mkdocs-1.6.1/mkdocs/themes/readthedocs/versions.html +0 -27
  283. mkdocs-1.6.1/mkdocs/utils/__init__.py +0 -410
  284. mkdocs-1.6.1/mkdocs/utils/babel_stub.py +0 -29
  285. mkdocs-1.6.1/mkdocs/utils/cache.py +0 -36
  286. mkdocs-1.6.1/mkdocs/utils/filters.py +0 -1
  287. mkdocs-1.6.1/mkdocs/utils/meta.py +0 -100
  288. mkdocs-1.6.1/mkdocs/utils/rendering.py +0 -104
  289. mkdocs-1.6.1/mkdocs/utils/templates.py +0 -55
  290. mkdocs-1.6.1/mkdocs/utils/yaml.py +0 -150
  291. mkdocs-1.6.1/pyproject.toml +0 -239
  292. {mkdocs-1.6.1/mkdocs/commands → mkdocs-2.0.dev0/src/mkdocs/extensions}/__init__.py +0 -0
@@ -0,0 +1,28 @@
1
+ name: Documentation
2
+ on:
3
+ push:
4
+ branches:
5
+ - main
6
+ permissions:
7
+ contents: read
8
+ pages: write
9
+ id-token: write
10
+ jobs:
11
+ deploy:
12
+ environment:
13
+ name: github-pages
14
+ url: ${{ steps.deployment.outputs.page_url }}
15
+ runs-on: ubuntu-latest
16
+ steps:
17
+ - uses: actions/configure-pages@v5
18
+ - uses: actions/checkout@v5
19
+ - uses: actions/setup-python@v5
20
+ with:
21
+ python-version: 3.x
22
+ - run: pip install -r requirements.txt
23
+ - run: mkdocs build
24
+ - uses: actions/upload-pages-artifact@v4
25
+ with:
26
+ path: site
27
+ - uses: actions/deploy-pages@v4
28
+ id: deployment
@@ -0,0 +1,36 @@
1
+ ---
2
+ name: Test Suite
3
+
4
+ on:
5
+ push:
6
+ branches: ["main"]
7
+ pull_request:
8
+ branches: ["main"]
9
+
10
+ jobs:
11
+ tests:
12
+ name: "Python ${{ matrix.python-version }}"
13
+ runs-on: "ubuntu-latest"
14
+
15
+ strategy:
16
+ matrix:
17
+ python-version: ["3.10"]
18
+
19
+ steps:
20
+ - uses: "actions/checkout@v4"
21
+ - uses: "actions/setup-python@v6"
22
+ with:
23
+ python-version: "${{ matrix.python-version }}"
24
+ - name: "Install dependencies"
25
+ run: "scripts/install"
26
+ - name: "Run tests"
27
+ run: "scripts/test"
28
+
29
+ # - name: "Run linting checks"
30
+ # run: "scripts/check"
31
+ # - name: "Build package & docs"
32
+ # run: "scripts/build"
33
+ # - name: "Run tests"
34
+ # run: "scripts/test"
35
+ # - name: "Enforce coverage"
36
+ # run: "scripts/coverage"
@@ -0,0 +1,4 @@
1
+ *.pyc
2
+ venv/
3
+ dist/
4
+ site/
@@ -0,0 +1,21 @@
1
+ Metadata-Version: 2.5
2
+ Name: mkdocs
3
+ Version: 2.0.dev0
4
+ Summary: HTTP, for Python.
5
+ Author-email: Kim Christie <noreply@lovelydinosaur.com>
6
+ Classifier: Development Status :: 4 - Beta
7
+ Classifier: Environment :: Web Environment
8
+ Classifier: Intended Audience :: Developers
9
+ Classifier: Operating System :: OS Independent
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: Programming Language :: Python :: 3.10
12
+ Classifier: Programming Language :: Python :: 3.11
13
+ Classifier: Programming Language :: Python :: 3.12
14
+ Classifier: Programming Language :: Python :: 3.13
15
+ Classifier: Topic :: Internet :: WWW/HTTP
16
+ Requires-Python: >=3.10
17
+ Requires-Dist: click
18
+ Requires-Dist: httpx>=1.0.dev5
19
+ Requires-Dist: jinja2
20
+ Requires-Dist: markdown
21
+ Requires-Dist: pygments
@@ -0,0 +1,74 @@
1
+ # MkDocs
2
+
3
+ MkDocs is a smart, simple, website design tool.
4
+
5
+ ![MkDocs](docs/img/mkdocs.png)
6
+
7
+ <br/>
8
+
9
+ ## Installation
10
+
11
+ Install the `mkdocs` command line tool...
12
+
13
+ ```shell
14
+ $ pip install git+https://github.com/encode/mkdocs.git
15
+ ```
16
+
17
+ *This will install the version 2.0 pre-release.*
18
+
19
+ <br/>
20
+
21
+ ## Getting started
22
+
23
+ 1. Create a `README.md` page.
24
+ 2. Run `mkdocs serve` to view your documentation in a browser.
25
+ 3. Run `mkdocs build` to build a static website ready to host.
26
+
27
+ *MkDocs supports [GitHub Flavored Markdown](docs/writing.md) for page authoring.*
28
+
29
+ <br/>
30
+
31
+ ## Writing your docs
32
+
33
+ 1. Create additional markdown pages.
34
+ 2. Use [markdown interlinking](docs/navigation.md#interlinking) between pages.
35
+ 3. Create a `mkdocs.toml` file to define [the site navigation](docs/navigation.md#navigation) and other configuration.
36
+ 4. Move your markdown pages into a `docs` directory, and update the config.
37
+
38
+ An example `mkdocs.toml`...
39
+
40
+ ```toml
41
+ [mkdocs]
42
+ nav = [
43
+ {path="README.md", title="Introduction"},
44
+ {path="CREDITS.md", title="Credits"},
45
+ ]
46
+
47
+ [loaders]
48
+ theme = "pkg://mkdocs/default"
49
+ docs = "dir://docs"
50
+
51
+ [context]
52
+ title = "Documentation"
53
+ favicon = "📘"
54
+ ```
55
+
56
+ *Use either [`README.md` or `index.md`](docs/navigation.md#url-structure) for the homepage.*
57
+
58
+ <br/>
59
+
60
+ ## Custom styling
61
+
62
+ Styling adaptations can be kept simple, such as customising the colour scheme, or more comprehensive, such as creating an entirely new theme.
63
+
64
+ 1. Configure the base theme for your project.
65
+ 2. Modify [the HTML templating](docs/styling.md#templates) to customise the layout.
66
+ 3. Override or add [CSS and JavaScript](docs/styling.md#statics) static assets.
67
+
68
+ Take a look at the [default theme](https://github.com/lovelydinosaur/mkdocs-theme) and the [kelp theme](https://github.com/lovelydinosaur/kelp-theme) for examples of getting started with theming.
69
+
70
+ <br/>
71
+
72
+ ![Kelp](docs/img/kelp.png)
73
+
74
+ *The MkDocs documentation, served with the Kelp theme.*
Binary file
Binary file
Binary file
@@ -0,0 +1,60 @@
1
+ # MkDocs
2
+
3
+ MkDocs is a smart, simple, website design tool.
4
+
5
+ ![MkDocs](img/mkdocs.png)
6
+
7
+ ## Installation
8
+
9
+ Install the `mkdocs` command line tool...
10
+
11
+ ```shell
12
+ $ pip install git+https://github.com/encode/mkdocs.git
13
+ ```
14
+
15
+ *This will install the version 2.0 pre-release.*
16
+
17
+ ## Getting started
18
+
19
+ 1. Create a `README.md` page.
20
+ 2. Run `mkdocs serve` to view your documentation in a browser.
21
+ 3. Run `mkdocs build` to build a static website ready to host.
22
+
23
+ *MkDocs supports [GitHub Flavored Markdown](writing.md) for page authoring.*
24
+
25
+ ## Writing your docs
26
+
27
+ 1. Create additional markdown pages.
28
+ 2. Use [markdown interlinking](navigation.md#interlinking) between pages.
29
+ 3. Create a `mkdocs.toml` file to define [the site navigation](navigation.md#navigation) and other configuration.
30
+ 4. Move your markdown pages into a `docs` directory, and update the config.
31
+
32
+ An example `mkdocs.toml`...
33
+
34
+ ```toml
35
+ [mkdocs]
36
+ nav = [
37
+ {path="README.md", title="Introduction"},
38
+ {path="CREDITS.md", title="Credits"},
39
+ ]
40
+
41
+ [loaders]
42
+ theme = "pkg://mkdocs/default"
43
+ docs = "dir://docs"
44
+
45
+ [context]
46
+ title = "Documentation"
47
+ favicon = "📘"
48
+ ```
49
+
50
+ *Use either [`README.md` or `index.md`](navigation.md#url-structure) for the homepage.*
51
+
52
+ ## Custom styling
53
+
54
+ Styling adaptations can be kept simple, such as customising the colour scheme, or more comprehensive, such as creating an entirely new theme.
55
+
56
+ 1. Configure the base theme for your project.
57
+ 2. Modify [the HTML templating](styling.md#templates) to customise the layout.
58
+ 3. Override or add [CSS and JavaScript](styling.md#statics) static assets.
59
+
60
+ Take a look at the [default theme](https://github.com/lovelydinosaur/mkdocs-theme) and the [kelp theme](https://github.com/lovelydinosaur/kelp-theme) for examples of getting started with theming.
@@ -0,0 +1,92 @@
1
+ # Interlinking & Navigation
2
+
3
+ Navigation within your documentation is handled by using [document interlinking](#interlinking), and optional [site-wide navigation](#navigation).
4
+
5
+ ## Interlinking
6
+
7
+ Use relative markdown links to allow users to navigate between documents.
8
+
9
+ For example, a website with `README.md` and `CONTRIBUTING.md` pages, might include the following&hellip;
10
+
11
+ ```markdown
12
+ See our [contribution documentation](CONTRIBUTING.md) for more details on getting involved.
13
+ ```
14
+
15
+ If your site includes pages within a directory structure, the page interlinking might also include [relative paths between directories](https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#relative-links).
16
+
17
+ ## Navigation
18
+
19
+ You can include site-wide navigation by using the `mkdocs.toml` configuration.
20
+
21
+ This is typically used by the HTML styling to include a navigation menu.
22
+
23
+ ```toml
24
+ [mkdocs]
25
+ nav = [
26
+ {title="Introduction", path="index.md"},
27
+ {title="Writing Markdown", path="markdown.md"},
28
+ {title="Site Navigation", path="navigation.md"},
29
+ {title="HTML Styling", path="styling.md"}
30
+ ]
31
+ ```
32
+
33
+ This allows the theme to display navigation controls, as well as including `← previous` and `next →` links.
34
+
35
+ The navigation configuration can also include nested elements.
36
+
37
+ ```toml
38
+ [mkdocs]
39
+ nav = [
40
+ {title="Introduction", path="index.md"},
41
+ {title="Tutorial", children=[
42
+ {title="Creating a project", path="tutorial/new.md"},
43
+ {title="Adding pages", path="tutorial/pages.md"},
44
+ {title="Publishing your work", path="tutorial/publish.md"},
45
+ ]},
46
+ {title="Topics", children=[
47
+ {title="Page layouts", path="topics/layouts.md"},
48
+ {title="Typography", path="topics/typography.md"},
49
+ {title="Color schemes", path="topics/schemes.md"},
50
+ ]}
51
+ ]
52
+ ```
53
+
54
+ ## URL Structure
55
+
56
+ Ensuring your website has a clean, meaningful URL structure is important for navigation.
57
+
58
+ * Markdown pages are lowercased.
59
+ * The file extension is not included in the URL.
60
+ * Use either `index.md` or `README.md` for root URLs.
61
+
62
+ **Examples**
63
+
64
+ A standard documentation site...
65
+
66
+ | **Markdown Page** | **HTML output** | **URL** |
67
+ |-------------------|-------------------------|----------------|
68
+ | `index.md` | `index.html` | `/` |
69
+ | `markdown.md` | `markdown/index.html` | `/markdown/` |
70
+ | `navigation.md` | `navigation/index.html` | `/navigation/` |
71
+ | `styling.md` | `styling/index.html` | `/styling/` |
72
+
73
+ <br/>
74
+
75
+ Uppercase filenames and GitHub style document paths...
76
+
77
+ | **Markdown Page** | **HTML output** | **URL** |
78
+ |-------------------|--------------------------|----------------|
79
+ | `README.md` | `index.html` | `/` |
80
+ | `ABOUT.md` | `about.html` | `/about/` |
81
+
82
+ <br/>
83
+
84
+ Documentation structure including subdirectories...
85
+
86
+ | **Markdown Page** | **HTML output** | **URL** |
87
+ |--------------------------|----------------------------------|-------------------------|
88
+ | `index.md` | `index.html` | `/` |
89
+ | `tutorial/quickstart.md` | `tutorial/quickstart/index.html` | `/tutorial/quickstart/` |
90
+ | `tutorial/next-steps.md` | `tutorial/next-steps/index.html` | `/tutorial/next-steps/` |
91
+
92
+ <br/>
@@ -0,0 +1,153 @@
1
+ # Themes & Styling
2
+
3
+ Styling is handled with HTML templating and regular web design.
4
+
5
+ The build is made up of various web resources...
6
+
7
+ * [Templates](#templates) - *The HTML templates used to render documentation pages.*
8
+ * [Pages](#pages) - *The markdown files comprising the documentation.*
9
+ * [Statics](#statics) - *Media assests including images, CSS, and JavaScript.*
10
+
11
+ Resources are loaded either from a *theme* or from the *project documentation*. The theme system allows minor local styling overrides, or complete site customisation.
12
+
13
+ * [Themes](#themes) - *Theme and documentation configuration is handled in the `mkdocs.toml` file.*
14
+
15
+ ## Templates
16
+
17
+ Anything in the `/templates/` directory is treated as a [Jinja template](https://jinja.palletsprojects.com/en/stable/templates/), and is used to render markdown pages. You can override templates locally and adapt them to make layout changes.
18
+
19
+ The base template for rendering markdown pages is **`templates/base.html`**.
20
+
21
+ ```html
22
+ <html>
23
+ <head>
24
+ <meta charset="utf-8">
25
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
26
+ <title>{{ nav.current.title or page.title }}{{ " - " ~ config.context.title if config.context.title }}</title>
27
+ <link rel="icon" href="data:image/svg+xml,&lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; viewBox=&quot;0 0 100 100&quot;&gt;&lt;text y=&quot;.9em&quot; font-size=&quot;90&quot;&gt;{{ config.mkdocs.favicon or '📘' }}&lt;/text&gt;&lt;/svg&gt;">
28
+ <link rel="stylesheet" href="{{ '/css/highlightjs.min.css' | url }}">
29
+ <link rel="stylesheet" href="{{ '/css/highlightjs-copy.min.css' | url }}">
30
+ <link rel="stylesheet" href="{{ '/css/theme.css' | url }}">
31
+ <script src="{{ '/js/highlightjs.min.js' | url }}"></script>
32
+ <script src="{{ '/js/highlightjs-copy.min.js' | url }}"></script>
33
+ <script src="{{ '/js/theme.js' | url }}"></script>
34
+ </head>
35
+ <body>
36
+ <nav class="left">
37
+ {{ nav.html }}
38
+ </nav>
39
+ <nav class="right">
40
+ {{ page.toc }}
41
+ </nav>
42
+ <main>
43
+ {{ page.html }}
44
+ {% if nav.previous or nav.next %}
45
+ <div class="pagination">
46
+ {% if nav.previous %}
47
+ <a class="previous" href="{{ nav.previous.url }}">← {{ nav.previous.title }}</a>
48
+ {% endif %}
49
+ {% if nav.next %}
50
+ <a class="next" href="{{ nav.next.url }}">{{ nav.next.title }} →</a>
51
+ {% endif %}
52
+ </div>
53
+ {% endif %}
54
+ </main>
55
+ </body>
56
+ </html>
57
+ ```
58
+
59
+ The following template is included in [the default theme](https://github.com/encode/mkdocs/blob/main/src/mkdocs/theme/)...
60
+
61
+ * `templates/base.html`- The base template used for rendering markdown pages.
62
+
63
+ The following context is passed to the template rendering...
64
+
65
+
66
+ *Variable* | *Description*
67
+ ---------------------|--------------------------------------
68
+ `page` | The markdown page.
69
+ `page.html` | The page contents, rendered as HTML.
70
+ `page.text` | The text of the page, as markdown.
71
+ `page.path` | The path of the source file.
72
+ `page.url` | The URL from which the page is served.
73
+ `page.toc` | The table of contents for the page, as HTML.
74
+ `page.title` | The first heading in the table of contents.
75
+ `nav` | The site navigation.
76
+ `nav.html` | The site navigation, rendered into HTML.
77
+ `nav.previous` | The previous page, as configured in the nav.
78
+ `nav.previous.title` | The title of the previous page.
79
+ `nav.previous.url` | The url of the previous page.
80
+ `nav.next` | The next page, as configured in the nav.
81
+ `nav.next.title` | The title of the next page.
82
+ `nav.next.url` | The url of the next page.
83
+ `config` | The `mkdocs.toml` configuration.
84
+
85
+ ## Pages
86
+
87
+ Any files ending with the `*.md` extension are treated as markdown pages, and rendered into HTML, then included in the base template.
88
+
89
+ The following are treated as index pages...
90
+
91
+ * `README.md` - Served as `/`.
92
+ * `index.md` - Served as `/`.
93
+
94
+ All other pages are lowercased, and served from a URL without the markdown extension...
95
+
96
+ * `CONTRIBUTING.md` - Served as `/contributing/`.
97
+
98
+ ## Statics
99
+
100
+ Any files that are not Markdown pages `*.md`, or templates `/templates/*`, are treated as static media and are included in the website without modification.
101
+
102
+ This can include images, stylesheets, javascript, fonts, video and audio.
103
+
104
+ The default theme includes the following static media...
105
+
106
+ * [`css/theme.css`](css/theme.css)
107
+ * [`css/highlightjs.min.css`](css/highlightjs.min.css)
108
+ * [`css/highlightjs-copy.min.css`](css/highlightjs-copy.min.css)
109
+ * [`js/theme.js`](js/theme.js)
110
+ * [`js/highlightjs.min.js`](js/highlightjs.min.js)
111
+ * [`js/highlightjs-copy.min.js`](js/highlightjs-copy.min.js)
112
+
113
+ ## Themes
114
+
115
+ Themes can be packaged and distributed as part of a zip archive. The archive can the either be loaded remotely from a URL, or downloaded and included locally.
116
+
117
+ Controlling how resources are loaded for the theme and documentation is handled with the `mkdocs.toml` config file.
118
+
119
+ **Example configurations**
120
+
121
+ *The default theme supplied by the `mkdocs` package, and the documentation served directly from the project directory. This is the default configuration...*
122
+
123
+ ```toml
124
+ [loaders]
125
+ theme = "pkg://mkdocs/default"
126
+ docs = "dir://"
127
+ ```
128
+
129
+ *The default theme as a `.zip` URL, and a local `docs` directory...*
130
+
131
+ ```toml
132
+ [loaders]
133
+ theme = "https://github.com/lovelydinosaur/mkdocs-theme/archive/refs/heads/main.zip"
134
+ docs = "dir://docs"
135
+ ```
136
+
137
+ *A theme downloaded locally, and a `docs` directory...*
138
+
139
+ ```toml
140
+ [loaders]
141
+ theme = "dir://theme"
142
+ docs = "dir://docs"
143
+ ```
144
+
145
+ *Both the theme and the documentation included in a single directory...*
146
+
147
+ ```toml
148
+ [mkdocs]
149
+ theme = "dir://docs"
150
+ docs = "dir://docs"
151
+ ```
152
+
153
+ <br/>