diff --git a/Pipfile b/Pipfile index 2bbd5f08adc87621a009ed12c6d26818ec80ff5e..9dbe25e43fdfe6129e7e9f7ba59cf821f9b03266 100644 --- a/Pipfile +++ b/Pipfile @@ -8,9 +8,13 @@ name = "gitlab" url = "https://gitlab-forge.din.developpement-durable.gouv.fr/api/v4/projects/20363/packages/pypi/simple" verify_ssl = false +[[source]] +name = "gitlab-plugin" +url = "https://gitlab-forge.din.developpement-durable.gouv.fr/api/v4/projects/22396/packages/pypi/simple" +verify_ssl = false + [packages] -mkdocs-dsfr = {version="0.6.1", index="pypi"} -mkdocs = "*" +mkdocs-dsfr = {version="0.7.0", index="pypi"} [dev-packages] diff --git a/Pipfile.lock b/Pipfile.lock index 8694e821bcf0a3e9343f35570efe1eee4a236d02..5eebee529f16ea2440b1fe241ee85a9c65b1e696 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -1,7 +1,7 @@ { "_meta": { "hash": { - "sha256": "f3b570917eefe28b0c0750a7c4831099c97a6e4ee23c51830dc6b30a842302d2" + "sha256": "7419f0d6390a5e3fc7fe6113a5dc1d84dfd2cc3e6def246ec36abcc493e7c0b5" }, "pipfile-spec": 6, "requires": { @@ -17,6 +17,11 @@ "name": "gitlab", "url": "https://gitlab-forge.din.developpement-durable.gouv.fr/api/v4/projects/20363/packages/pypi/simple", "verify_ssl": false + }, + { + "name": "gitlab-plugin", + "url": "https://gitlab-forge.din.developpement-durable.gouv.fr/api/v4/projects/22396/packages/pypi/simple", + "verify_ssl": false } ] }, @@ -29,13 +34,13 @@ "markers": "python_version >= '3.7'", "version": "==8.1.7" }, - "colorama": { + "dsfr-structure": { "hashes": [ - "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44", - "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6" + "sha256:c2cb3b34b415b79e05f7ba41b5b0dda5067b850681274a0d689ef8dbd0c9ebf9", + "sha256:c5bc72d105013318d3a27ee0a969d65fe84a575c28b5f01d4f3f930429552e78" ], - "markers": "platform_system == 'Windows'", - "version": "==0.4.6" + "markers": "python_version >= '3.10' and python_version < '4.0'", + "version": "==0.1.0" }, "ghp-import": { "hashes": [ @@ -54,11 +59,11 @@ }, "markdown": { "hashes": [ - "sha256:4afb124395ce5fc34e6d9886dab977fd9ae987fc6e85689f08278cf0c69d4bf3", - "sha256:a807eb2e4778d9156c8f07876c6e4d50b5494c5665c4834f67b06459dfd877b3" + "sha256:5874b47d4ee3f0b14d764324d2c94c03ea66bee56f2d929da9f2508d65e722dc", + "sha256:b65d7beb248dc22f2e8a31fb706d93798093c308dc1aba295aedeb9d41a813bd" ], "markers": "python_version >= '3.8'", - "version": "==3.5" + "version": "==3.5.1" }, "markupsafe": { "hashes": [ @@ -139,16 +144,16 @@ "sha256:3b3a78e736b31158d64dbb2f8ba29bd46a379d0c6e324c2246c3bc3d2189cfc1", "sha256:eb7c99214dcb945313ba30426c2451b735992c73c2e10838f76d09e39ff4d0e2" ], - "index": "pypi", + "markers": "python_version >= '3.7'", "version": "==1.5.3" }, "mkdocs-dsfr": { "hashes": [ - "sha256:9d2dcc8c1af596cf27a8454298f192f8e76c87a1cc8d8d7a2ba6b6d6d27cd0e3", - "sha256:a9d4d6d339cf8927568659990fd00cabfbb24410580d7028f61ae2235c213a79" + "sha256:1e44480362010db9b0db6cc10d3f54cd57b9cd682a4707672f02b5698e940dfc", + "sha256:87fd4a1ada93f60631abf1be7034e30d8dd43b438dd8e95dc8f0c84fca3db08b" ], "index": "pypi", - "version": "==0.6.1" + "version": "==0.7.0" }, "packaging": { "hashes": [ @@ -168,18 +173,34 @@ }, "platformdirs": { "hashes": [ - "sha256:cf8ee52a3afdb965072dcc652433e0c7e3e40cf5ea1477cd4b3b1d2eb75495b3", - "sha256:e9d171d00af68be50e9202731309c4e658fd8bc76f55c11c7dd760d023bda68e" + "sha256:118c954d7e949b35437270383a3f2531e99dd93cf7ce4dc8340d3356d30f173b", + "sha256:cb633b2bcf10c51af60beb0ab06d2f1d69064b43abf4c185ca6b28865f3f9731" ], "markers": "python_version >= '3.7'", - "version": "==3.11.0" + "version": "==4.0.0" + }, + "pygments": { + "hashes": [ + "sha256:1b37f1b1e1bff2af52ecaf28cc601e2ef7077000b227a0675da25aef85784bc4", + "sha256:e45a0e74bf9c530f564ca81b8952343be986a29f6afe7f5ad95c5f06b7bdf5e8" + ], + "markers": "python_version >= '3.7'", + "version": "==2.17.1" + }, + "pymdown-extensions": { + "hashes": [ + "sha256:bc46f11749ecd4d6b71cf62396104b4a200bad3498cb0f5dad1b8502fe461a35", + "sha256:cfc28d6a09d19448bcbf8eee3ce098c7d17ff99f7bd3069db4819af181212037" + ], + "markers": "python_version >= '3.8'", + "version": "==10.4" }, "python-dateutil": { "hashes": [ "sha256:0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86", "sha256:961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9" ], - "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'", + "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2'", "version": "==2.8.2" }, "pyyaml": { @@ -251,7 +272,7 @@ "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926", "sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254" ], - "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'", + "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2'", "version": "==1.16.0" }, "watchdog": { diff --git a/docs/css/extra.css b/docs/css/extra.css index 92d95096f281b6cc9fd72471eabf69d6f93ebad0..fffabd5fb65f6d31bf7ae1213bf3b340bc8b18b1 100644 --- a/docs/css/extra.css +++ b/docs/css/extra.css @@ -1,19 +1,3 @@ /* This is for the footer to stick at the bottom */ -html, body { - display: flex; - flex-direction: column; - min-height: 100vh; - margin: 0; -} -footer { - margin-top: auto; - width: 100%; - position: absolute; - bottom: 0; - font-weight: 500; -} -li { - list-style: none; -} diff --git a/mkdocs.yml b/mkdocs.yml index cf49d86cde6a8fd4d6b01546d077bb30ba720a44..a9730234d477b5cf1ba5ff0c0ecfd0a5d1741190 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -37,3 +37,15 @@ theme: plugins: - search: lang: fr + +markdown_extensions: + - dsfr_structure.extension.all_extensions + - pymdownx.snippets + - pymdownx.highlight: + use_pygments: true + - pymdownx.superfences + - toc: + permalink: "" + - attr_list + - def_list + - tables \ No newline at end of file