mkdocstrings-github 0.7.2__tar.gz → 0.8.0__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.
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/.github/renovate.json5 +0 -6
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/.github/workflows/docs.yaml +18 -9
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/.github/workflows/example_workflow.yml +1 -1
- mkdocstrings_github-0.8.0/.github/workflows/qualify.yaml +198 -0
- mkdocstrings_github-0.8.0/.github/workflows/release.yaml +110 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/PKG-INFO +2 -1
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/docs/index.md +1 -1
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/docs/usage/general.md +8 -1
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/docs/usage/index.md +49 -22
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/docs/usage/signatures.md +38 -0
- mkdocstrings_github-0.8.0/mkdocs.yml +151 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/pyproject.toml +15 -38
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/src/mkdocstrings_handlers/github/config.py +15 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/src/mkdocstrings_handlers/github/handler.py +6 -4
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/src/mkdocstrings_handlers/github/rendering.py +43 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/src/mkdocstrings_handlers/github/templates/material/action.html.jinja +2 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/src/mkdocstrings_handlers/github/templates/material/workflow.html.jinja +2 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/__init__.py +114 -48
- mkdocstrings_github-0.7.2/test/snapshots/external/23cc1367f9dd06c1d51e4b1c8a5a2ea807f32a78de9c061438f4d2315bcc3d0e.html → mkdocstrings_github-0.8.0/test/snapshots/__inline_snapshot__/__init__/__module__/037d80cd-da83-4d19-8888-e7f9390b550b.html +3 -0
- mkdocstrings_github-0.7.2/test/snapshots/external/6d20fba34c55a0c3c25d29a29470de573812305d70dabac3104a7d18d92b2b86.html → mkdocstrings_github-0.8.0/test/snapshots/__inline_snapshot__/__init__/__module__/063645f0-29c6-4f7f-b2f3-5a9d2c793666.html +3 -0
- mkdocstrings_github-0.7.2/test/snapshots/external/e567efbdae19280c4c56a70a27de39e0efdc422d99c9d497629128fd3ec553d5.html → mkdocstrings_github-0.8.0/test/snapshots/__inline_snapshot__/__init__/__module__/0ac97022-7141-4bb9-a8d3-4bdcbdb70c74.html +3 -0
- mkdocstrings_github-0.8.0/test/snapshots/__inline_snapshot__/__init__/__module__/17188464-b5ec-4710-9343-dbf3781e9e30.html +51 -0
- mkdocstrings_github-0.7.2/test/snapshots/external/94b8c0c6610d32e8a877cb18b47ff8b072203c6a1e8fddc67be1d7e5b963c385.html → mkdocstrings_github-0.8.0/test/snapshots/__inline_snapshot__/__init__/__module__/1dd1041a-d181-4982-836f-ed1c1940c821.html +3 -0
- mkdocstrings_github-0.7.2/test/snapshots/external/2500c66e16468b20050dd9b8b152a48644d008c0316e444f47afc7bc5117e004.html → mkdocstrings_github-0.8.0/test/snapshots/__inline_snapshot__/__init__/__module__/27f2c7bb-b035-4ccb-ab04-c5796ebaedc9.html +3 -0
- mkdocstrings_github-0.8.0/test/snapshots/__inline_snapshot__/__init__/__module__/34497817-1e3c-460c-a14b-6f51cb376504.html +37 -0
- mkdocstrings_github-0.7.2/test/snapshots/external/0ca94ffd86a19ad7ce822b865ce27acd6cd70b62ef52d70809162653caf6c388.html → mkdocstrings_github-0.8.0/test/snapshots/__inline_snapshot__/__init__/__module__/55f75be9-b107-41a2-a0b2-4ff9acfd05b6.html +3 -0
- mkdocstrings_github-0.8.0/test/snapshots/__inline_snapshot__/__init__/__module__/8d0569cd-6e85-42f2-84b5-a9c7dadb83d9.html +36 -0
- mkdocstrings_github-0.8.0/test/snapshots/__inline_snapshot__/__init__/__module__/d0993653-9afc-413e-b639-b46c37b29f42.html +46 -0
- mkdocstrings_github-0.7.2/test/snapshots/external/c08f860e46cad95600d1ca35eeb6c22981e32c4dffe14f52cc515e379e650b85.html → mkdocstrings_github-0.8.0/test/snapshots/__inline_snapshot__/__init__/__module__/d6598e85-238f-4bd9-96eb-8f34ae2b5b68.html +3 -0
- mkdocstrings_github-0.7.2/test/snapshots/external/98e4b6474a6f67576ae40a75e152e6bd8c3e743259ad7f1d08890def2ff858d1.html → mkdocstrings_github-0.8.0/test/snapshots/__inline_snapshot__/__init__/__module__/e57d4579-0c36-44c8-a220-707089e190fc.html +3 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/test_coverage.py +30 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/test_render_action.py +10 -5
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/test_render_workflow.py +10 -5
- mkdocstrings_github-0.8.0/zensical.toml +113 -0
- mkdocstrings_github-0.7.2/.github/workflows/qualify.yaml +0 -183
- mkdocstrings_github-0.7.2/.github/workflows/release.yaml +0 -162
- mkdocstrings_github-0.7.2/mkdocs.yml +0 -164
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/.github/CODEOWNERS +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/.github/CONTRIBUTING.md +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/.github/FUNDING.yml +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/.gitignore +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/.gitmodules +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/.pre-commit-config.yaml +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/LICENSE +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/README.md +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/action.yaml +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/docs/changelog.md +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/docs/contributing.md +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/docs/credits.md +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/docs/favicon.png +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/docs/img/example_dark.png +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/docs/img/example_light.png +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/docs/img/logo.png +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/docs/license-page.md +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/docs/overrides/main.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/docs/overrides/partials/toc-item.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/docs/stylesheets/extra.css +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/docs/usage/headings.md +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/docs/usage/parameters.md +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/src/mkdocstrings_handlers/github/__init__.py +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/src/mkdocstrings_handlers/github/objects.py +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/src/mkdocstrings_handlers/github/py.typed +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/src/mkdocstrings_handlers/github/templates/material/_macros.html.jinja +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/src/mkdocstrings_handlers/github/templates/material/heading.html.jinja +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/src/mkdocstrings_handlers/github/templates/material/inputs.html.jinja +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/src/mkdocstrings_handlers/github/templates/material/outputs.html.jinja +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/src/mkdocstrings_handlers/github/templates/material/secrets.html.jinja +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/src/mkdocstrings_handlers/github/templates/material/style.css +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/__init__.py +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/conftest.py +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/docs/.gitkeep +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/helpers.py +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/.gitignore +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/0175e682b75586565fa4f3b689cea42f88c66099896487a6493e584e05fd5b98.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/074e6b0350e6835d8a5461f936fc6ff8a0c46dc4c80c5ad5cd0b835cae19e2cd.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/0a37a4286738a72a224871dbd1bcd3c662e768f800a8e2b92c410d672c1d19fc.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/0bed6d92c16c4e133ffbed2d273614bca1be0d8a22afed48b36bd244e7eb261b.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/0d0e2427b85f5904c7c3970d7b411e0f2337a3c91a25beb18348e6d4a51e48ec.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/0de8e0706404a3d84a59420f94558fc0687324dad2f1340cec32bd4368626262.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/1322d6390dbc167e4d2734b6ff7ac30265a52feb242ece864fd08dd36a88214a.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/1efa0765882b4ea1a66fc91ef88418634786028dfcec5879aed9c268749de63c.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/1f92a9273cccc3fc7a358dfeca8bb2cbb5ede804ff490106eb2322cddd78f256.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/22929d6c2b70b481583d7b07fd7bff72dba985a465d42ad4ee5a7f557429102f.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/24b2b02efe6eb2db3069c3d1717c3f7ad9bc47321acfd63979748b0a8378b169.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/27af0061b4353d60bc86fadef002e4cad8d8774c06c3a720050c2b8b6726feae.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/28df0ab9fe5662687b72cbb8b2c8e2e18b98beb5a114a505ad845c91b8955a2e.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/2eb63f18b2d0aaf8000ffcc081c80067937fc7cacea496c2871198aa3bc12a14.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/361203a8fe1654bbfd22dcf01308d9b587b187f72c45754e2e35d1638696c35d.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/36d5597971381260ce0cd98b6ba1c3973134add32288bf34f47290fdbe55b0ec.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/3cb099624d882a4cde3ef6fdbea56c9aced9331dca1e19c7bc311c2611782e0d.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/43ad574e6f4bd9d7c1e5b41f74e890f314d86accf94396a2266e8736f8baf07a.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/47004f712909b0981384b3b51f7395939ee5ed669d38f620cc8275e700925371.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/50af1499553795c8cd859a1c9aa5ba162ef1c3dd9fa466668fc2da5bb002a61c.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/5508680ad1969ec83c9f6986137cca92bace28f3c5c75a67337753ee384c6783.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/576e1574c21783af2860477da76aee77b565db51777a0482f4276b59eea77823.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/5a2f11e94bc00c7a5122364dcffcdc9bd5c514a773fbf4d1b04fa7e96ba2cfa5.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/5d0abaf6f1a04083e3236ea03d57897ba0d03c9fe047738d0d9b065c8b45eff5.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/5e3b7eb70931d08e482575fcc2a24460f6a47c5ab58ffe37125d139a56cc5a0d.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/62bff06eac186bef15cc125315a29901d284d4e1b9b2e8ee7890ad1296cd8342.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/66a319534331c51a39c04e1c278747db6e1bb3ce99877c91e9af556da2de3182.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/6962c89022a7a9efbb57250e05f28f5375d5012b6a7d974040affe180c6fff0f.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/699c6bcc632255eb0d6715e054b5fb1a9328e5abc414a3f2b3605514eb440247.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/6af63bf65a648dc8a89b9fd67e7c2434ce2d004b54d21db2310f38de4c6a2038.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/72b55cb37adc5eeaaeedc47e092dce6ada6193137372da90d471284b95714a24.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/757b79d7975f29e7b7eeda8c910578cb858a867dc4c647c4b5bc9a4c45dbf62e.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/78feb92e4171bf067dd1615523e5c9cac0de998bb7102ee70da2e145d1262339.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/7a54a2a8729f165bbdb1980498724d4de8e886d849b7407b4969bde8d14a7b88.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/81baa4bca07bde66951a18c2e99f3d86c4263bf01f054876225398e257390f00.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/8476f864e849f8e154b4144e873fbc540fb8e88c8ad095eb66925afe67c3fcac.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/856a4ff20ee15b09367d852d57cdb6a3376b799760365dbf7677c216156a7b4d.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/8b65d193fe31a661d1aa1b882b5d6cee96dcaaa4d28b057cdde5ccec660e9cb1.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/8bacb89d75273f2bfee27f0d86fd49def327fd3e33ba7595aac8058ab214181d.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/8be1b8e706865cf70d8de162b0bca0d4ceecc8ea3d9c285354c7e654c50623f5.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/8bedbe96ebb5c09a621a72f4cf16b73cf538cd5bfb3549a99e3283f5bd97ef08.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/93bf082d40ca4b6730a503aa4d265901a8cfed7ed1a6e9bb6e584c2c3ebd18af.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/9cc6f18114bfd48128d8cc74d40d4f19911408af280ba1866f07209ae80d5e42.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/a34a87167e37faaf559d506c0c2a72913d0a225c06784d9ad71d91ffd97c1f42.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/a683a1d590ea2a074bc13a38c02f9b708290f8de5ebd660c73edaaabe695bc32.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/ac47b3b933709154de762d06903d78925cea9f1ec93865386d669680cf17e4a8.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/b6163f7b64f009d0f8992a0ccb4da0af6b02b5411dceb42cb0816b5721ebade0.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/b972a05ffc5672d471d5b1e84b01470a3363a25f9d9adbc8d82f4b9fd21a94a1.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/bbea0ecf08aec9444ed75cbffd5424aa19e285ac64a53d1bb50f6130230b3c97.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/c2181f9e06dd6b7437f14e815c4fd32ec304e4474c93e86c02b43f41367a79ff.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/c50b7f91aafff5caf0fe0ff96a922b499617966705cde0d3622191f51f523b38.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/c8c895c400f0532aa3afe641f79ed14bc399b504169242c0a9f77572c185def2.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/cdad9a8909ec6448ff4392f523d4c7d41dcba61fc635e7e744026f901df04913.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/d0d656ae32436d7b190665f98f3fe2d7a6250ee7ff4e1fb1bcd9a1364d3da2cb.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/d3695fdb74725542e432d0cd239481b0e3ea11b671395255f6ad25875830324c.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/db0c43c8233d3c9719119d9e20bb483c48c42a01e488b7441664bdae58568d9f.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/dbdc3c6e76833bb444a7d291266713ec6cf3f196ddf27e2e30eb94da9efc2c1f.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/e728a11685286456b1d4c90386923bfd08af1311c7de06966affd011abde3be6.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/e943d5c405cb409c7ac458aca82fade02f0b3cfcbb6dcf4c27ad8a881d4869a7.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/ebb0bfe46e02e0e3fec3ac5a3bc44cddcab4d0f12871b708469db393e029b1e7.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/ecf772312e7e697bab6126468a698dc8184b2ff78361cf71e3fdc35157e7d542.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/f90542b4e3cbaf7e9820cdad6bbe707e3210983c911f11584cfae580e5cf6a04.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/snapshots/external/ffc40bfdc5e916d73943cd9bae0a3e893664bab1c10fc25a30f8243852022efb.html +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/test_handler.py +0 -0
- {mkdocstrings_github-0.7.2 → mkdocstrings_github-0.8.0}/test/test_signature_ref.py +0 -0
|
@@ -51,7 +51,6 @@
|
|
|
51
51
|
"pytest-cov",
|
|
52
52
|
"beautifulsoup4",
|
|
53
53
|
"inline-snapshot",
|
|
54
|
-
"python-semantic-release",
|
|
55
54
|
],
|
|
56
55
|
semanticCommitType: "build",
|
|
57
56
|
semanticCommitScope: "deps",
|
|
@@ -65,11 +64,6 @@
|
|
|
65
64
|
],
|
|
66
65
|
matchPackageNames: [
|
|
67
66
|
"mkdocs-material",
|
|
68
|
-
"markdown-exec",
|
|
69
|
-
"mkdocs-callouts",
|
|
70
|
-
"mkdocs-git-revision-date-localized-plugin",
|
|
71
|
-
"mkdocs-minify-plugin",
|
|
72
|
-
"mike",
|
|
73
67
|
],
|
|
74
68
|
semanticCommitType: "docs",
|
|
75
69
|
semanticCommitScope: "deps",
|
|
@@ -14,6 +14,11 @@ on:
|
|
|
14
14
|
Push the documentation to the remote branch
|
|
15
15
|
type: boolean
|
|
16
16
|
default: true
|
|
17
|
+
type:
|
|
18
|
+
description: >-
|
|
19
|
+
MkDocs or zensical
|
|
20
|
+
type: string
|
|
21
|
+
default: zensical
|
|
17
22
|
|
|
18
23
|
permissions:
|
|
19
24
|
contents: read
|
|
@@ -25,31 +30,35 @@ jobs:
|
|
|
25
30
|
runs-on: ubuntu-latest
|
|
26
31
|
|
|
27
32
|
steps:
|
|
28
|
-
- uses: actions/configure-pages@
|
|
33
|
+
- uses: actions/configure-pages@v6
|
|
29
34
|
|
|
30
|
-
- uses: actions/checkout@
|
|
35
|
+
- uses: actions/checkout@v7
|
|
31
36
|
with:
|
|
32
37
|
fetch-depth: 0 # Required to push to the documentation branch
|
|
33
|
-
ref: ${{ inputs.ref }}
|
|
38
|
+
ref: ${{ inputs.ref }}
|
|
34
39
|
|
|
35
40
|
- name: Install the latest version of uv
|
|
36
|
-
uses: astral-sh/setup-uv@
|
|
41
|
+
uses: astral-sh/setup-uv@v8.3.2
|
|
37
42
|
with:
|
|
38
43
|
version: "latest"
|
|
39
|
-
|
|
44
|
+
|
|
40
45
|
- name: Sync dependencies
|
|
46
|
+
if: inputs.type == 'zensical'
|
|
41
47
|
run: |
|
|
42
48
|
uv sync --no-dev --group docs
|
|
49
|
+
uv run zensical build --clean
|
|
43
50
|
|
|
44
51
|
- name: Build documentation
|
|
52
|
+
if: inputs.type == 'mkdocs'
|
|
45
53
|
run: |
|
|
46
|
-
uv
|
|
47
|
-
|
|
48
|
-
|
|
54
|
+
uv sync --no-dev --group mkdocs
|
|
55
|
+
uv run mkdocs build --clean
|
|
56
|
+
|
|
57
|
+
- uses: actions/upload-pages-artifact@v5
|
|
49
58
|
if: ${{ inputs.push }}
|
|
50
59
|
with:
|
|
51
60
|
path: site
|
|
52
61
|
|
|
53
|
-
- uses: actions/deploy-pages@
|
|
62
|
+
- uses: actions/deploy-pages@v5
|
|
54
63
|
if: ${{ inputs.push }}
|
|
55
64
|
id: deployment
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
name: Qualify
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
merge_group:
|
|
5
|
+
push:
|
|
6
|
+
branches: [main]
|
|
7
|
+
pull_request:
|
|
8
|
+
types:
|
|
9
|
+
- opened
|
|
10
|
+
- closed
|
|
11
|
+
- reopened
|
|
12
|
+
- synchronize
|
|
13
|
+
- labeled
|
|
14
|
+
- unlabeled
|
|
15
|
+
- edited
|
|
16
|
+
branches: [main]
|
|
17
|
+
|
|
18
|
+
concurrency:
|
|
19
|
+
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
|
|
20
|
+
cancel-in-progress: true
|
|
21
|
+
|
|
22
|
+
jobs:
|
|
23
|
+
docs:
|
|
24
|
+
name: Test deploy documentation
|
|
25
|
+
uses: ./.github/workflows/docs.yaml
|
|
26
|
+
strategy:
|
|
27
|
+
matrix:
|
|
28
|
+
type: [mkdocs, zensical]
|
|
29
|
+
permissions:
|
|
30
|
+
contents: read
|
|
31
|
+
pages: write
|
|
32
|
+
id-token: write
|
|
33
|
+
secrets: inherit
|
|
34
|
+
with:
|
|
35
|
+
push: false
|
|
36
|
+
type: ${{ matrix.type }}
|
|
37
|
+
|
|
38
|
+
setup:
|
|
39
|
+
runs-on: ubuntu-latest
|
|
40
|
+
permissions:
|
|
41
|
+
contents: read
|
|
42
|
+
outputs:
|
|
43
|
+
python-versions: ${{ steps.get-versions.outputs.python-versions }}
|
|
44
|
+
steps:
|
|
45
|
+
- name: Checkout code
|
|
46
|
+
uses: actions/checkout@v7
|
|
47
|
+
|
|
48
|
+
- name: Get Python versions from pyproject.toml
|
|
49
|
+
id: get-versions
|
|
50
|
+
run: |
|
|
51
|
+
# Extract Python versions from classifiers
|
|
52
|
+
versions=$(grep -E "Programming Language :: Python :: 3\.[0-9]+" pyproject.toml | \
|
|
53
|
+
sed -E 's/.*Python :: (3\.[0-9]+).*/\1/' | \
|
|
54
|
+
sort -V | \
|
|
55
|
+
jq -R -s -c 'split("\n")[:-1]')
|
|
56
|
+
echo "python-versions=$versions" >> $GITHUB_OUTPUT
|
|
57
|
+
echo "Found Python versions: $versions"
|
|
58
|
+
|
|
59
|
+
test:
|
|
60
|
+
name: Run checks and tests
|
|
61
|
+
needs: setup
|
|
62
|
+
permissions:
|
|
63
|
+
contents: read
|
|
64
|
+
strategy:
|
|
65
|
+
fail-fast: false
|
|
66
|
+
matrix:
|
|
67
|
+
python-version: ${{ fromJson(needs.setup.outputs.python-versions) }}
|
|
68
|
+
resolution: [highest, lowest]
|
|
69
|
+
runs-on: ubuntu-latest
|
|
70
|
+
steps:
|
|
71
|
+
- name: Checkout code
|
|
72
|
+
uses: actions/checkout@v7
|
|
73
|
+
with:
|
|
74
|
+
submodules: true
|
|
75
|
+
|
|
76
|
+
- name: Set up uv
|
|
77
|
+
uses: astral-sh/setup-uv@v8.3.2
|
|
78
|
+
with:
|
|
79
|
+
version: "latest"
|
|
80
|
+
|
|
81
|
+
- name: Cache uv
|
|
82
|
+
id: cache-uv
|
|
83
|
+
uses: actions/cache@v6
|
|
84
|
+
with:
|
|
85
|
+
path: .venv
|
|
86
|
+
key: ${{ runner.os }}-qualify-uv-${{ matrix.python-version }}-${{ matrix.resolution }}-${{ github.head_ref || github.ref_name }}-${{ hashFiles('pyproject.toml') }}
|
|
87
|
+
|
|
88
|
+
- name: Install dependencies
|
|
89
|
+
env:
|
|
90
|
+
PYTHON_VERSION: ${{ matrix.python-version }}
|
|
91
|
+
UV_RESOLUTION: ${{ matrix.resolution }}
|
|
92
|
+
run: |
|
|
93
|
+
uv sync --dev --python ${PYTHON_VERSION} --resolution ${UV_RESOLUTION}
|
|
94
|
+
|
|
95
|
+
- name: Run ruff linting
|
|
96
|
+
run: |
|
|
97
|
+
echo "## 🔍 Ruff Linting Results" >> $GITHUB_STEP_SUMMARY
|
|
98
|
+
if uv run ruff check --output-format=github .; then
|
|
99
|
+
echo "✅ No linting errors found" >> $GITHUB_STEP_SUMMARY
|
|
100
|
+
else
|
|
101
|
+
echo "❌ Linting errors found" >> $GITHUB_STEP_SUMMARY
|
|
102
|
+
exit 1
|
|
103
|
+
fi
|
|
104
|
+
|
|
105
|
+
- name: Run ruff formatting check
|
|
106
|
+
run: |
|
|
107
|
+
echo "## 🎨 Code Formatting Check" >> $GITHUB_STEP_SUMMARY
|
|
108
|
+
if uv run ruff format --check .; then
|
|
109
|
+
echo "✅ Code formatting is correct" >> $GITHUB_STEP_SUMMARY
|
|
110
|
+
else
|
|
111
|
+
echo "❌ Code formatting issues found" >> $GITHUB_STEP_SUMMARY
|
|
112
|
+
exit 1
|
|
113
|
+
fi
|
|
114
|
+
|
|
115
|
+
- name: Run Ty type checking
|
|
116
|
+
run: |
|
|
117
|
+
echo "## 🔧 Ty Type Checking Results" >> $GITHUB_STEP_SUMMARY
|
|
118
|
+
if uv run ty check; then
|
|
119
|
+
echo "✅ No type errors found" >> $GITHUB_STEP_SUMMARY
|
|
120
|
+
else
|
|
121
|
+
echo "❌ Type errors found" >> $GITHUB_STEP_SUMMARY
|
|
122
|
+
exit 1
|
|
123
|
+
fi
|
|
124
|
+
|
|
125
|
+
- name: Run tests
|
|
126
|
+
run: |
|
|
127
|
+
if uv run pytest -v --tb=short --color=yes \
|
|
128
|
+
--cov mkdocstrings_handlers.github --cov-branch --cov-report=xml \
|
|
129
|
+
--junit-xml=pytest.xml; then
|
|
130
|
+
echo '# ✅ Tests passed' >> $GITHUB_STEP_SUMMARY
|
|
131
|
+
else
|
|
132
|
+
echo '# ❌ Tests failed' >> $GITHUB_STEP_SUMMARY
|
|
133
|
+
exit 1
|
|
134
|
+
fi
|
|
135
|
+
|
|
136
|
+
- name: Generate test coverage report
|
|
137
|
+
if: (!cancelled())
|
|
138
|
+
run: |
|
|
139
|
+
echo '### Test Coverage Summary' >> $GITHUB_STEP_SUMMARY
|
|
140
|
+
uv run coverage report --show-missing --format=markdown >> $GITHUB_STEP_SUMMARY
|
|
141
|
+
|
|
142
|
+
- name: Upload Test Results
|
|
143
|
+
if: (!cancelled())
|
|
144
|
+
uses: actions/upload-artifact@v7
|
|
145
|
+
with:
|
|
146
|
+
name: python${{ matrix.python-version }}-${{ matrix.resolution }}
|
|
147
|
+
path: "*.xml"
|
|
148
|
+
|
|
149
|
+
summary:
|
|
150
|
+
runs-on: ubuntu-latest
|
|
151
|
+
needs: [setup, test]
|
|
152
|
+
if: (!cancelled())
|
|
153
|
+
permissions:
|
|
154
|
+
contents: read
|
|
155
|
+
checks: write
|
|
156
|
+
id-token: write
|
|
157
|
+
pull-requests: write
|
|
158
|
+
steps:
|
|
159
|
+
- name: Checkout
|
|
160
|
+
uses: actions/checkout@v7
|
|
161
|
+
with:
|
|
162
|
+
fetch-depth: 2
|
|
163
|
+
|
|
164
|
+
- name: Download Artifacts
|
|
165
|
+
uses: actions/download-artifact@v8
|
|
166
|
+
with:
|
|
167
|
+
path: results
|
|
168
|
+
|
|
169
|
+
- name: Publish Test Results
|
|
170
|
+
uses: EnricoMi/publish-unit-test-result-action@v2
|
|
171
|
+
with:
|
|
172
|
+
files: "results/**/pytest.xml"
|
|
173
|
+
|
|
174
|
+
- name: Upload coverage reports to Codecov
|
|
175
|
+
uses: codecov/codecov-action@v7
|
|
176
|
+
with:
|
|
177
|
+
use_oidc: true
|
|
178
|
+
directory: results
|
|
179
|
+
|
|
180
|
+
- name: Upload test results to Codecov
|
|
181
|
+
if: ${{ !cancelled() }}
|
|
182
|
+
uses: codecov/test-results-action@v1
|
|
183
|
+
with:
|
|
184
|
+
use_oidc: true
|
|
185
|
+
directory: results
|
|
186
|
+
|
|
187
|
+
- name: Check all jobs
|
|
188
|
+
run: |
|
|
189
|
+
if [[ "${{ needs.test.result }}" == "success" ]]; then
|
|
190
|
+
echo "✅ All Python versions passed CI checks"
|
|
191
|
+
echo "## 🎉 CI Summary" >> $GITHUB_STEP_SUMMARY
|
|
192
|
+
echo "All tests passed across Python versions: ${{ needs.setup.outputs.python-versions }}" >> $GITHUB_STEP_SUMMARY
|
|
193
|
+
else
|
|
194
|
+
echo "❌ Some Python versions failed CI checks"
|
|
195
|
+
echo "## ❌ CI Summary" >> $GITHUB_STEP_SUMMARY
|
|
196
|
+
echo "Some tests failed. Check individual job results for details." >> $GITHUB_STEP_SUMMARY
|
|
197
|
+
exit 1
|
|
198
|
+
fi
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
name: Release
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
pull_request:
|
|
5
|
+
types:
|
|
6
|
+
- closed
|
|
7
|
+
- opened
|
|
8
|
+
- reopened
|
|
9
|
+
- synchronize
|
|
10
|
+
branches: [main]
|
|
11
|
+
|
|
12
|
+
jobs:
|
|
13
|
+
release:
|
|
14
|
+
name: Semantic version release
|
|
15
|
+
runs-on: ubuntu-latest
|
|
16
|
+
permissions:
|
|
17
|
+
contents: write
|
|
18
|
+
pull-requests: write # Required for adding the labels to the PR
|
|
19
|
+
issues: write # Required for adding labels to the repository
|
|
20
|
+
outputs:
|
|
21
|
+
release: ${{ steps.get-version.outputs.release }}
|
|
22
|
+
tag: ${{ steps.get-version.outputs.tag }}
|
|
23
|
+
version: ${{ steps.get-version.outputs.version }}
|
|
24
|
+
steps:
|
|
25
|
+
- name: Get semantic version
|
|
26
|
+
uses: RonaldPhilipsen/semVersie@v2.3.4
|
|
27
|
+
id: get-version
|
|
28
|
+
with:
|
|
29
|
+
add-pr-label: true
|
|
30
|
+
label-prefix: false
|
|
31
|
+
|
|
32
|
+
deploy:
|
|
33
|
+
name: Deploy package distributions
|
|
34
|
+
needs: release
|
|
35
|
+
if: needs.release.outputs.release == 'true' && github.event.pull_request.merged
|
|
36
|
+
runs-on: ubuntu-latest
|
|
37
|
+
environment: release
|
|
38
|
+
defaults:
|
|
39
|
+
run:
|
|
40
|
+
shell: bash
|
|
41
|
+
permissions:
|
|
42
|
+
contents: write
|
|
43
|
+
id-token: write
|
|
44
|
+
steps:
|
|
45
|
+
- uses: actions/create-github-app-token@v3
|
|
46
|
+
id: app-token
|
|
47
|
+
with:
|
|
48
|
+
app-id: ${{ vars.APP_ID }}
|
|
49
|
+
private-key: ${{ secrets.APP_PRIVATE_KEY }}
|
|
50
|
+
|
|
51
|
+
- name: Install the latest version of uv
|
|
52
|
+
uses: astral-sh/setup-uv@v8.3.2
|
|
53
|
+
with:
|
|
54
|
+
version: "latest"
|
|
55
|
+
|
|
56
|
+
- name: Checkout repository
|
|
57
|
+
uses: actions/checkout@v7
|
|
58
|
+
with:
|
|
59
|
+
token: ${{ steps.app-token.outputs.token }}
|
|
60
|
+
|
|
61
|
+
- name: Set credentials for git
|
|
62
|
+
env:
|
|
63
|
+
GH_TOKEN: ${{ steps.app-token.outputs.token }}
|
|
64
|
+
APP_SLUG: ${{ steps.app-token.outputs.app-slug }}
|
|
65
|
+
INSTALLATION_ID: ${{ steps.app-token.outputs.installation-id }}
|
|
66
|
+
run: |
|
|
67
|
+
USER_ID=$(gh api "/users/${APP_SLUG}[bot]" --jq .id)
|
|
68
|
+
git config --global user.name "${APP_SLUG}[bot]"
|
|
69
|
+
git config --global user.email "${INSTALLATION_ID}+${USER_ID}[bot]@users.noreply.github.com"
|
|
70
|
+
|
|
71
|
+
- name: Update version in pyproject.toml
|
|
72
|
+
env:
|
|
73
|
+
VERSION: ${{ needs.release.outputs.version }}
|
|
74
|
+
TAG: ${{ needs.release.outputs.tag }}
|
|
75
|
+
run: |
|
|
76
|
+
sed -i "s/version = \"0.0.0\"/version = \"${VERSION}\"/" pyproject.toml
|
|
77
|
+
git add pyproject.toml
|
|
78
|
+
git commit -m "chore: bump version to ${VERSION}"
|
|
79
|
+
git tag -a ${TAG} -m "Release ${VERSION}"
|
|
80
|
+
git push -f origin ${TAG}
|
|
81
|
+
|
|
82
|
+
- name: Build and publish package distributions
|
|
83
|
+
run: |
|
|
84
|
+
uv sync --no-dev
|
|
85
|
+
uv build
|
|
86
|
+
uv publish
|
|
87
|
+
|
|
88
|
+
- name: Create release
|
|
89
|
+
env:
|
|
90
|
+
GH_TOKEN: ${{ steps.app-token.outputs.token }}
|
|
91
|
+
TAG: ${{ needs.release.outputs.tag }}
|
|
92
|
+
run: >
|
|
93
|
+
gh release create "${TAG}"
|
|
94
|
+
dist/*.whl
|
|
95
|
+
dist/*.tar.gz
|
|
96
|
+
--generate-notes
|
|
97
|
+
--verify-tag
|
|
98
|
+
|
|
99
|
+
document:
|
|
100
|
+
name: Deploy documentation
|
|
101
|
+
needs: [release]
|
|
102
|
+
if: github.event.pull_request.merged
|
|
103
|
+
uses: ./.github/workflows/docs.yaml
|
|
104
|
+
permissions:
|
|
105
|
+
contents: read
|
|
106
|
+
pages: write
|
|
107
|
+
id-token: write
|
|
108
|
+
secrets: inherit
|
|
109
|
+
with:
|
|
110
|
+
push: true
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mkdocstrings-github
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.8.0
|
|
4
4
|
Summary: A GitHub Action handler for mkdocstrings
|
|
5
5
|
Author-email: Mark Hu <watermarkhu@gmail.com>
|
|
6
6
|
License: MIT
|
|
@@ -23,6 +23,7 @@ Classifier: Typing :: Typed
|
|
|
23
23
|
Requires-Python: <3.15,>=3.10
|
|
24
24
|
Requires-Dist: gitpython<4,>=3.1.45
|
|
25
25
|
Requires-Dist: mkdocstrings<2,>=1
|
|
26
|
+
Requires-Dist: ruamel-yaml-clib<1,>=0.2.14
|
|
26
27
|
Requires-Dist: ruamel-yaml<1,>=0.18.16
|
|
27
28
|
Requires-Dist: typing-extensions>=4.0; python_version < '3.11'
|
|
28
29
|
Description-Content-Type: text/markdown
|
|
@@ -11,7 +11,7 @@ hide:
|
|
|
11
11
|
|
|
12
12
|
!!! note
|
|
13
13
|
|
|
14
|
-
Currently,
|
|
14
|
+
Currently, either [Material for MkDocs](https://github.com/squidfunk/mkdocs-material) or [Zensical](https://zensical.org/docs/get-started/) is supported
|
|
15
15
|
|
|
16
16
|
???+ example
|
|
17
17
|
|
|
@@ -67,7 +67,14 @@
|
|
|
67
67
|
::: mkdocstrings_handlers.github.config.GitHubOptions.workflow_chart
|
|
68
68
|
handler: python
|
|
69
69
|
|
|
70
|
-
|
|
70
|
+
=== "Setup for Material for MkDocs"
|
|
71
|
+
|
|
72
|
+
In order to display the mermaid diagram, you'll need to setup the configuration for [Mermaid.js](https://mermaid.ai/) in [mkdocs-material](https://squidfunk.github.io/mkdocs-material/reference/diagrams/#configuration) or via [mkdocs-mermaid2](https://mkdocs-mermaid2.readthedocs.io). Following the instructions in the linked pages to configure your `mkdocs.yml`. Additionally, we recommend setting up [Panzoom for MkDocs](https://github.com/PLAYG0N/mkdocs-panzoom), which allows zooming into the displayed diagram.
|
|
73
|
+
|
|
74
|
+
=== "Setup for Zensical"
|
|
75
|
+
|
|
76
|
+
Mermaid diagrams are supported natively by Zensical. No additional setup required.
|
|
77
|
+
|
|
71
78
|
|
|
72
79
|
In the output diagram, each step in a job is represented as a node, jobs are represented as groups, and dependencies between jobs are displayed as edges between groups. Steps that call actions are rounded. Jobs that call another workflow are shown as a subroutine. Jobs and steps without `name` are **omitted** from the graph.
|
|
73
80
|
|
|
@@ -22,13 +22,22 @@ This package is an extension for [*mkdocstrings*](https://mkdocstrings.github.io
|
|
|
22
22
|
|
|
23
23
|
--8<-- "README.md:install"
|
|
24
24
|
|
|
25
|
-
The default *mkdocstrings* handler is the [Python handler](https://mkdocstrings.github.io/python). You can change the default hanlder and set the GitHub handler as default be defining the `default_handler` configuration option of `mkdocstrings` in `mkdocs.yml
|
|
25
|
+
The default *mkdocstrings* handler is the [Python handler](https://mkdocstrings.github.io/python). You can change the default hanlder and set the GitHub handler as default be defining the `default_handler` configuration option of `mkdocstrings` in `mkdocs.yml` or `zensical.toml`
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
27
|
+
=== "mkdocs.yaml"
|
|
28
|
+
|
|
29
|
+
```yaml
|
|
30
|
+
plugins:
|
|
31
|
+
- mkdocstrings:
|
|
32
|
+
default_handler: github
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
=== "zensical.toml"
|
|
36
|
+
|
|
37
|
+
```toml
|
|
38
|
+
[project.plugins.mkdocstrings]
|
|
39
|
+
default_handler = "github"
|
|
40
|
+
```
|
|
32
41
|
|
|
33
42
|
## Injecting documentation
|
|
34
43
|
|
|
@@ -88,13 +97,22 @@ For every documented action or workflow, HTML tags are inserted on the page to a
|
|
|
88
97
|
|
|
89
98
|
When installed, the Github handler can be configured in `mkdocs.yml`
|
|
90
99
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
100
|
+
=== "mkdocs.yaml"
|
|
101
|
+
|
|
102
|
+
```yaml
|
|
103
|
+
plugins:
|
|
104
|
+
- mkdocstrings:
|
|
105
|
+
handlers:
|
|
106
|
+
github:
|
|
107
|
+
... # The GitHub handler configuration
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
=== "zensical.toml"
|
|
111
|
+
|
|
112
|
+
```toml
|
|
113
|
+
[project.plugins.mkdocstrings.handlers.github]
|
|
114
|
+
... # The GitHub handler configuration
|
|
115
|
+
```
|
|
98
116
|
|
|
99
117
|
### Global-only options
|
|
100
118
|
|
|
@@ -107,14 +125,23 @@ Some options are **global only**, and go directly under the handler's name.
|
|
|
107
125
|
|
|
108
126
|
The other options can be used both globally *and* locally, under the `options` key. For example, globally:
|
|
109
127
|
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
128
|
+
=== "mkdocs.yaml"
|
|
129
|
+
|
|
130
|
+
```yaml
|
|
131
|
+
plugins:
|
|
132
|
+
- mkdocstrings:
|
|
133
|
+
handlers:
|
|
134
|
+
github:
|
|
135
|
+
options:
|
|
136
|
+
do_something: true
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
=== "zensical.toml"
|
|
140
|
+
|
|
141
|
+
```toml
|
|
142
|
+
[project.plugins.mkdocstrings.handlers.github.options]
|
|
143
|
+
do_something = true
|
|
144
|
+
```
|
|
118
145
|
|
|
119
146
|
...and locally, overriding the global configuration:
|
|
120
147
|
|
|
@@ -138,4 +165,4 @@ These options affect how the documentation is collected from sources and rendere
|
|
|
138
165
|
show_bases: false
|
|
139
166
|
show_source: false
|
|
140
167
|
show_root_heading: false
|
|
141
|
-
members: false
|
|
168
|
+
members: false
|
|
@@ -155,3 +155,41 @@
|
|
|
155
155
|
options:
|
|
156
156
|
signature_version: string
|
|
157
157
|
signature_version_string: foobar
|
|
158
|
+
|
|
159
|
+
::: mkdocstrings_handlers.github.config.GitHubOptions.signature_prematter
|
|
160
|
+
handler: python
|
|
161
|
+
|
|
162
|
+
??? preview
|
|
163
|
+
|
|
164
|
+
=== "`signature_prematter: steps:`"
|
|
165
|
+
|
|
166
|
+
::: .github/workflows/example_workflow.yml
|
|
167
|
+
options:
|
|
168
|
+
signature_prematter: |
|
|
169
|
+
steps:
|
|
170
|
+
|
|
171
|
+
::: mkdocstrings_handlers.github.config.GitHubOptions.signature_indent
|
|
172
|
+
handler: python
|
|
173
|
+
|
|
174
|
+
??? preview
|
|
175
|
+
|
|
176
|
+
=== "`signature_indent: 4`"
|
|
177
|
+
|
|
178
|
+
::: .github/workflows/example_workflow.yml
|
|
179
|
+
options:
|
|
180
|
+
signature_prematter: |
|
|
181
|
+
jobs:
|
|
182
|
+
example:
|
|
183
|
+
signature_indent: 4
|
|
184
|
+
|
|
185
|
+
::: mkdocstrings_handlers.github.config.GitHubOptions.signature_postmatter
|
|
186
|
+
handler: python
|
|
187
|
+
|
|
188
|
+
??? preview
|
|
189
|
+
|
|
190
|
+
=== "`signature_postmatter: permissions: read-all`"
|
|
191
|
+
|
|
192
|
+
::: .github/workflows/example_workflow.yml
|
|
193
|
+
options:
|
|
194
|
+
signature_postmatter: |
|
|
195
|
+
permissions: read-all
|