mkdocstrings-github 0.6.1__tar.gz → 0.6.3__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.6.1 → mkdocstrings_github-0.6.3}/.github/workflows/docs.yaml +1 -1
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/.github/workflows/qualify.yaml +3 -3
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/.github/workflows/release.yaml +2 -2
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/PKG-INFO +2 -2
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/docs/changelog.md +27 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/pyproject.toml +4 -4
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/src/mkdocstrings_handlers/github/handler.py +8 -2
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/src/mkdocstrings_handlers/github/objects.py +8 -5
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/test_coverage.py +57 -31
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/.github/CODEOWNERS +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/.github/CONTRIBUTING.md +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/.github/FUNDING.yml +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/.github/renovate.json5 +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/.github/workflows/example_workflow.yml +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/.gitignore +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/.gitmodules +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/.pre-commit-config.yaml +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/LICENSE +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/README.md +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/action.yaml +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/docs/contributing.md +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/docs/credits.md +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/docs/favicon.png +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/docs/img/example_dark.png +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/docs/img/example_light.png +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/docs/img/logo.png +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/docs/index.md +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/docs/license-page.md +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/docs/overrides/main.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/docs/overrides/partials/toc-item.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/docs/stylesheets/extra.css +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/docs/usage/general.md +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/docs/usage/headings.md +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/docs/usage/index.md +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/docs/usage/parameters.md +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/docs/usage/signatures.md +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/mkdocs.yml +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/src/mkdocstrings_handlers/github/__init__.py +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/src/mkdocstrings_handlers/github/config.py +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/src/mkdocstrings_handlers/github/py.typed +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/src/mkdocstrings_handlers/github/rendering.py +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/src/mkdocstrings_handlers/github/templates/material/_macros.html.jinja +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/src/mkdocstrings_handlers/github/templates/material/action.html.jinja +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/src/mkdocstrings_handlers/github/templates/material/heading.html.jinja +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/src/mkdocstrings_handlers/github/templates/material/inputs.html.jinja +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/src/mkdocstrings_handlers/github/templates/material/outputs.html.jinja +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/src/mkdocstrings_handlers/github/templates/material/secrets.html.jinja +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/src/mkdocstrings_handlers/github/templates/material/style.css +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/src/mkdocstrings_handlers/github/templates/material/workflow.html.jinja +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/__init__.py +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/conftest.py +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/docs/.gitkeep +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/helpers.py +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/__init__.py +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/.gitignore +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/06f909d26ca3c2008ca57aeae14dc63fb04ade05997b8aed6ae1573bf42b5841.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/074e6b0350e6835d8a5461f936fc6ff8a0c46dc4c80c5ad5cd0b835cae19e2cd.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/0a37a4286738a72a224871dbd1bcd3c662e768f800a8e2b92c410d672c1d19fc.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/0bed6d92c16c4e133ffbed2d273614bca1be0d8a22afed48b36bd244e7eb261b.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/0d0e2427b85f5904c7c3970d7b411e0f2337a3c91a25beb18348e6d4a51e48ec.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/0de8e0706404a3d84a59420f94558fc0687324dad2f1340cec32bd4368626262.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/1322d6390dbc167e4d2734b6ff7ac30265a52feb242ece864fd08dd36a88214a.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/1efa0765882b4ea1a66fc91ef88418634786028dfcec5879aed9c268749de63c.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/1f92a9273cccc3fc7a358dfeca8bb2cbb5ede804ff490106eb2322cddd78f256.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/22929d6c2b70b481583d7b07fd7bff72dba985a465d42ad4ee5a7f557429102f.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/23cc1367f9dd06c1d51e4b1c8a5a2ea807f32a78de9c061438f4d2315bcc3d0e.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/24b2b02efe6eb2db3069c3d1717c3f7ad9bc47321acfd63979748b0a8378b169.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/2500c66e16468b20050dd9b8b152a48644d008c0316e444f47afc7bc5117e004.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/27af0061b4353d60bc86fadef002e4cad8d8774c06c3a720050c2b8b6726feae.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/28df0ab9fe5662687b72cbb8b2c8e2e18b98beb5a114a505ad845c91b8955a2e.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/2eb63f18b2d0aaf8000ffcc081c80067937fc7cacea496c2871198aa3bc12a14.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/361203a8fe1654bbfd22dcf01308d9b587b187f72c45754e2e35d1638696c35d.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/36d5597971381260ce0cd98b6ba1c3973134add32288bf34f47290fdbe55b0ec.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/3cb099624d882a4cde3ef6fdbea56c9aced9331dca1e19c7bc311c2611782e0d.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/43ad574e6f4bd9d7c1e5b41f74e890f314d86accf94396a2266e8736f8baf07a.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/47004f712909b0981384b3b51f7395939ee5ed669d38f620cc8275e700925371.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/50af1499553795c8cd859a1c9aa5ba162ef1c3dd9fa466668fc2da5bb002a61c.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/5508680ad1969ec83c9f6986137cca92bace28f3c5c75a67337753ee384c6783.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/5a2f11e94bc00c7a5122364dcffcdc9bd5c514a773fbf4d1b04fa7e96ba2cfa5.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/5d0abaf6f1a04083e3236ea03d57897ba0d03c9fe047738d0d9b065c8b45eff5.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/5e3b7eb70931d08e482575fcc2a24460f6a47c5ab58ffe37125d139a56cc5a0d.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/62bff06eac186bef15cc125315a29901d284d4e1b9b2e8ee7890ad1296cd8342.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/66a319534331c51a39c04e1c278747db6e1bb3ce99877c91e9af556da2de3182.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/6962c89022a7a9efbb57250e05f28f5375d5012b6a7d974040affe180c6fff0f.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/699c6bcc632255eb0d6715e054b5fb1a9328e5abc414a3f2b3605514eb440247.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/6af63bf65a648dc8a89b9fd67e7c2434ce2d004b54d21db2310f38de4c6a2038.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/6d20fba34c55a0c3c25d29a29470de573812305d70dabac3104a7d18d92b2b86.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/72b55cb37adc5eeaaeedc47e092dce6ada6193137372da90d471284b95714a24.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/757b79d7975f29e7b7eeda8c910578cb858a867dc4c647c4b5bc9a4c45dbf62e.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/78feb92e4171bf067dd1615523e5c9cac0de998bb7102ee70da2e145d1262339.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/7a54a2a8729f165bbdb1980498724d4de8e886d849b7407b4969bde8d14a7b88.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/81baa4bca07bde66951a18c2e99f3d86c4263bf01f054876225398e257390f00.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/8476f864e849f8e154b4144e873fbc540fb8e88c8ad095eb66925afe67c3fcac.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/856a4ff20ee15b09367d852d57cdb6a3376b799760365dbf7677c216156a7b4d.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/8b65d193fe31a661d1aa1b882b5d6cee96dcaaa4d28b057cdde5ccec660e9cb1.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/8bacb89d75273f2bfee27f0d86fd49def327fd3e33ba7595aac8058ab214181d.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/8bedbe96ebb5c09a621a72f4cf16b73cf538cd5bfb3549a99e3283f5bd97ef08.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/93bf082d40ca4b6730a503aa4d265901a8cfed7ed1a6e9bb6e584c2c3ebd18af.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/94b8c0c6610d32e8a877cb18b47ff8b072203c6a1e8fddc67be1d7e5b963c385.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/98e4b6474a6f67576ae40a75e152e6bd8c3e743259ad7f1d08890def2ff858d1.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/9cc6f18114bfd48128d8cc74d40d4f19911408af280ba1866f07209ae80d5e42.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/a34a87167e37faaf559d506c0c2a72913d0a225c06784d9ad71d91ffd97c1f42.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/a683a1d590ea2a074bc13a38c02f9b708290f8de5ebd660c73edaaabe695bc32.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/ac47b3b933709154de762d06903d78925cea9f1ec93865386d669680cf17e4a8.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/ace14d7e4e53515a281c109aca1d7b5bccb1259ff0c3e0c28a8e09908e4f2f26.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/b6163f7b64f009d0f8992a0ccb4da0af6b02b5411dceb42cb0816b5721ebade0.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/b972a05ffc5672d471d5b1e84b01470a3363a25f9d9adbc8d82f4b9fd21a94a1.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/bbea0ecf08aec9444ed75cbffd5424aa19e285ac64a53d1bb50f6130230b3c97.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/c2181f9e06dd6b7437f14e815c4fd32ec304e4474c93e86c02b43f41367a79ff.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/c50b7f91aafff5caf0fe0ff96a922b499617966705cde0d3622191f51f523b38.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/c8c895c400f0532aa3afe641f79ed14bc399b504169242c0a9f77572c185def2.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/cdad9a8909ec6448ff4392f523d4c7d41dcba61fc635e7e744026f901df04913.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/d0d656ae32436d7b190665f98f3fe2d7a6250ee7ff4e1fb1bcd9a1364d3da2cb.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/d3695fdb74725542e432d0cd239481b0e3ea11b671395255f6ad25875830324c.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/db0c43c8233d3c9719119d9e20bb483c48c42a01e488b7441664bdae58568d9f.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/dbdc3c6e76833bb444a7d291266713ec6cf3f196ddf27e2e30eb94da9efc2c1f.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/e567efbdae19280c4c56a70a27de39e0efdc422d99c9d497629128fd3ec553d5.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/e728a11685286456b1d4c90386923bfd08af1311c7de06966affd011abde3be6.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/ebb0bfe46e02e0e3fec3ac5a3bc44cddcab4d0f12871b708469db393e029b1e7.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/ecf772312e7e697bab6126468a698dc8184b2ff78361cf71e3fdc35157e7d542.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/f90542b4e3cbaf7e9820cdad6bbe707e3210983c911f11584cfae580e5cf6a04.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/snapshots/external/ffc40bfdc5e916d73943cd9bae0a3e893664bab1c10fc25a30f8243852022efb.html +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/test_handler.py +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/test_render_action.py +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/test_render_workflow.py +0 -0
- {mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/test/test_signature_ref.py +0 -0
|
@@ -40,7 +40,7 @@ jobs:
|
|
|
40
40
|
python-versions: ${{ steps.get-versions.outputs.python-versions }}
|
|
41
41
|
steps:
|
|
42
42
|
- name: Checkout code
|
|
43
|
-
uses: actions/checkout@
|
|
43
|
+
uses: actions/checkout@v6
|
|
44
44
|
|
|
45
45
|
- name: Get Python versions from pyproject.toml
|
|
46
46
|
id: get-versions
|
|
@@ -65,7 +65,7 @@ jobs:
|
|
|
65
65
|
runs-on: ubuntu-latest
|
|
66
66
|
steps:
|
|
67
67
|
- name: Checkout code
|
|
68
|
-
uses: actions/checkout@
|
|
68
|
+
uses: actions/checkout@v6
|
|
69
69
|
with:
|
|
70
70
|
submodules: true
|
|
71
71
|
|
|
@@ -143,7 +143,7 @@ jobs:
|
|
|
143
143
|
pull-requests: write
|
|
144
144
|
steps:
|
|
145
145
|
- name: Checkout
|
|
146
|
-
uses: actions/checkout@
|
|
146
|
+
uses: actions/checkout@v6
|
|
147
147
|
with:
|
|
148
148
|
fetch-depth: 2
|
|
149
149
|
|
|
@@ -39,7 +39,7 @@ jobs:
|
|
|
39
39
|
git config --global user.email '${{ steps.get-user-id.outputs.user-id }}+${{ steps.app-token.outputs.app-slug }}[bot]@users.noreply.github.com'
|
|
40
40
|
|
|
41
41
|
- name: Checkout repository
|
|
42
|
-
uses: actions/checkout@
|
|
42
|
+
uses: actions/checkout@v6
|
|
43
43
|
with:
|
|
44
44
|
fetch-depth: 0
|
|
45
45
|
ref: ${{ github.sha }}
|
|
@@ -123,7 +123,7 @@ jobs:
|
|
|
123
123
|
id-token: write
|
|
124
124
|
steps:
|
|
125
125
|
- name: Checkout repository
|
|
126
|
-
uses: actions/checkout@
|
|
126
|
+
uses: actions/checkout@v6
|
|
127
127
|
with:
|
|
128
128
|
ref: ${{ needs.release.outputs.next-tag }}
|
|
129
129
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mkdocstrings-github
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.3
|
|
4
4
|
Summary: A GitHub Action handler for mkdocstrings
|
|
5
5
|
Author-email: Mark Hu <watermarkhu@gmail.com>
|
|
6
6
|
License: MIT
|
|
@@ -22,7 +22,7 @@ Classifier: Topic :: Utilities
|
|
|
22
22
|
Classifier: Typing :: Typed
|
|
23
23
|
Requires-Python: <3.15,>=3.10
|
|
24
24
|
Requires-Dist: gitpython<4,>=3.1.45
|
|
25
|
-
Requires-Dist: mkdocstrings<1
|
|
25
|
+
Requires-Dist: mkdocstrings<2,>=1
|
|
26
26
|
Requires-Dist: ruamel-yaml<1,>=0.18.16
|
|
27
27
|
Requires-Dist: typing-extensions>=4.0; python_version < '3.11'
|
|
28
28
|
Description-Content-Type: text/markdown
|
|
@@ -2,6 +2,33 @@
|
|
|
2
2
|
|
|
3
3
|
<!-- version list -->
|
|
4
4
|
|
|
5
|
+
## v0.6.3 (2025-12-09)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
- Multiline comments ([#46](https://github.com/watermarkhu/mkdocstrings-github/pull/46),
|
|
10
|
+
[`3787e44`](https://github.com/watermarkhu/mkdocstrings-github/commit/3787e4437bd879ae779ff4d128827ed407385131))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
## v0.6.2 (2025-11-30)
|
|
14
|
+
|
|
15
|
+
### Chores
|
|
16
|
+
|
|
17
|
+
- **deps**: Update group-pyproject
|
|
18
|
+
([#45](https://github.com/watermarkhu/mkdocstrings-github/pull/45),
|
|
19
|
+
[`5b13468`](https://github.com/watermarkhu/mkdocstrings-github/commit/5b1346847e9e9347ee8d9cbd84d62d23c1c82223))
|
|
20
|
+
|
|
21
|
+
- **deps**: Update group-pyproject (major)
|
|
22
|
+
([#45](https://github.com/watermarkhu/mkdocstrings-github/pull/45),
|
|
23
|
+
[`5b13468`](https://github.com/watermarkhu/mkdocstrings-github/commit/5b1346847e9e9347ee8d9cbd84d62d23c1c82223))
|
|
24
|
+
|
|
25
|
+
### Continuous Integration
|
|
26
|
+
|
|
27
|
+
- **deps**: Update actions/checkout action to v6
|
|
28
|
+
([#44](https://github.com/watermarkhu/mkdocstrings-github/pull/44),
|
|
29
|
+
[`738ef72`](https://github.com/watermarkhu/mkdocstrings-github/commit/738ef727a737de1851fb4ecd556f5f4cf6c6d667))
|
|
30
|
+
|
|
31
|
+
|
|
5
32
|
## v0.6.1 (2025-11-10)
|
|
6
33
|
|
|
7
34
|
### Build System
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "mkdocstrings-github"
|
|
3
|
-
version = "0.6.
|
|
3
|
+
version = "0.6.3"
|
|
4
4
|
description = "A GitHub Action handler for mkdocstrings"
|
|
5
5
|
authors = [
|
|
6
6
|
{ name = "Mark Hu", email = "watermarkhu@gmail.com" }
|
|
@@ -28,14 +28,14 @@ classifiers = [
|
|
|
28
28
|
|
|
29
29
|
dependencies = [
|
|
30
30
|
"gitpython>=3.1.45,<4",
|
|
31
|
-
"mkdocstrings>=
|
|
31
|
+
"mkdocstrings>=1,<2",
|
|
32
32
|
"ruamel.yaml>=0.18.16,<1",
|
|
33
33
|
"typing-extensions>=4.0; python_version < '3.11'",
|
|
34
34
|
]
|
|
35
35
|
|
|
36
36
|
[dependency-groups]
|
|
37
37
|
dev = [
|
|
38
|
-
"ty~=0.0.
|
|
38
|
+
"ty~=0.0.1a29",
|
|
39
39
|
"ruff~=0.14.0",
|
|
40
40
|
"prek>=0.2.1",
|
|
41
41
|
"pydantic~=2.12",
|
|
@@ -50,7 +50,7 @@ docs = [
|
|
|
50
50
|
"mkdocs-callouts~=1.15",
|
|
51
51
|
"mkdocs-git-revision-date-localized-plugin~=1.3",
|
|
52
52
|
"mkdocs-minify-plugin~=0.8",
|
|
53
|
-
"mkdocstrings-python~=
|
|
53
|
+
"mkdocstrings-python~=2.0.0",
|
|
54
54
|
"mike~=2.1",
|
|
55
55
|
"griffe-pydantic~=1.1.7",
|
|
56
56
|
]
|
{mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/src/mkdocstrings_handlers/github/handler.py
RENAMED
|
@@ -179,7 +179,10 @@ class GitHubHandler(BaseHandler):
|
|
|
179
179
|
self.env.globals["repository_name"] = self.get_repository_name()
|
|
180
180
|
|
|
181
181
|
def collect(self, identifier: str, options: GitHubOptions) -> Workflow | Action | None:
|
|
182
|
-
|
|
182
|
+
working_tree_dir = self.repo.working_tree_dir
|
|
183
|
+
if working_tree_dir is None:
|
|
184
|
+
raise CollectionError("Repository working tree directory is not available.")
|
|
185
|
+
path = Path(working_tree_dir) / identifier
|
|
183
186
|
|
|
184
187
|
if path.suffix in (".yml", ".yaml"):
|
|
185
188
|
if not path.is_file():
|
|
@@ -199,12 +202,15 @@ class GitHubHandler(BaseHandler):
|
|
|
199
202
|
)
|
|
200
203
|
return data
|
|
201
204
|
|
|
202
|
-
def render(
|
|
205
|
+
def render(
|
|
206
|
+
self, data: Workflow | Action, options: GitHubOptions, *, locale: str | None = None
|
|
207
|
+
) -> str:
|
|
203
208
|
"""Render a template using provided data and configuration options.
|
|
204
209
|
|
|
205
210
|
Arguments:
|
|
206
211
|
data: The collected data to render.
|
|
207
212
|
options: The handler's configuration options.
|
|
213
|
+
locale: The locale to use for rendering (unused in this handler).
|
|
208
214
|
|
|
209
215
|
Returns:
|
|
210
216
|
The rendered template as HTML.
|
{mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/src/mkdocstrings_handlers/github/objects.py
RENAMED
|
@@ -6,18 +6,21 @@ from typing import Any, Literal, Optional
|
|
|
6
6
|
|
|
7
7
|
from ruamel.yaml import YAML
|
|
8
8
|
from ruamel.yaml.comments import CommentedMap
|
|
9
|
-
|
|
10
|
-
yaml = YAML()
|
|
11
|
-
|
|
9
|
+
from ruamel.yaml.tokens import CommentToken
|
|
12
10
|
|
|
13
11
|
GROUP_PATTERN = r"#\s*group:\s*(.+)$"
|
|
12
|
+
yaml = YAML()
|
|
14
13
|
|
|
15
14
|
|
|
16
15
|
def group_from_map(map: CommentedMap) -> str:
|
|
17
16
|
"""Extract group string from a comment line if it matches the group pattern."""
|
|
18
17
|
if map.ca.comment:
|
|
19
|
-
for
|
|
20
|
-
if
|
|
18
|
+
for comments in map.ca.comment:
|
|
19
|
+
if comments is None:
|
|
20
|
+
continue
|
|
21
|
+
elif isinstance(comments, CommentToken):
|
|
22
|
+
comments = [comments]
|
|
23
|
+
for comment in comments:
|
|
21
24
|
group_matches = re.finditer(GROUP_PATTERN, comment.value)
|
|
22
25
|
group_string = next((m.group(1).strip() for m in group_matches), "")
|
|
23
26
|
if group_string:
|
|
@@ -213,29 +213,35 @@ jobs:
|
|
|
213
213
|
class TestHandler:
|
|
214
214
|
"""Test handler module functions."""
|
|
215
215
|
|
|
216
|
-
def test_get_releases_exception_handling(self):
|
|
216
|
+
def test_get_releases_exception_handling(self, handler: GitHubHandler):
|
|
217
217
|
"""Test get_releases handles exception when getting git tags fails."""
|
|
218
|
-
from mkdocstrings_handlers.github.config import GitHubConfig
|
|
219
|
-
from mkdocstrings_handlers.github.handler import GitHubHandler
|
|
220
|
-
|
|
221
218
|
# Create a mock repo that raises exception when accessing tags
|
|
222
219
|
mock_repo = Mock()
|
|
223
220
|
mock_repo.tags = Mock(side_effect=Exception("Git error"))
|
|
224
221
|
|
|
225
|
-
handler
|
|
222
|
+
# Replace the handler's repo with our mock
|
|
223
|
+
original_repo = handler.repo
|
|
224
|
+
original_semver = handler.semver
|
|
225
|
+
original_major = handler.major
|
|
226
|
+
handler.repo = mock_repo
|
|
227
|
+
handler.semver = ""
|
|
228
|
+
handler.major = ""
|
|
226
229
|
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
230
|
+
try:
|
|
231
|
+
# Should handle exception gracefully without raising
|
|
232
|
+
handler.get_releases()
|
|
233
|
+
assert handler.semver == ""
|
|
234
|
+
assert handler.major == ""
|
|
235
|
+
finally:
|
|
236
|
+
# Restore original repo and values
|
|
237
|
+
handler.repo = original_repo
|
|
238
|
+
handler.semver = original_semver
|
|
239
|
+
handler.major = original_major
|
|
231
240
|
|
|
232
|
-
def test_get_releases_with_invalid_version_tag(self, tmp_path):
|
|
241
|
+
def test_get_releases_with_invalid_version_tag(self, handler: GitHubHandler, tmp_path):
|
|
233
242
|
"""Test get_releases handles tags with invalid version format."""
|
|
234
243
|
import git
|
|
235
244
|
|
|
236
|
-
from mkdocstrings_handlers.github.config import GitHubConfig
|
|
237
|
-
from mkdocstrings_handlers.github.handler import GitHubHandler
|
|
238
|
-
|
|
239
245
|
# Create a temporary git repo with a commit
|
|
240
246
|
repo = git.Repo.init(tmp_path)
|
|
241
247
|
|
|
@@ -251,18 +257,30 @@ class TestHandler:
|
|
|
251
257
|
repo.create_tag("v1.2.3") # Valid semver
|
|
252
258
|
repo.create_tag("v99.99.99") # Valid semver
|
|
253
259
|
|
|
254
|
-
handler
|
|
255
|
-
handler.
|
|
260
|
+
# Replace the handler's repo with our test repo
|
|
261
|
+
original_repo = handler.repo
|
|
262
|
+
original_semver = handler.semver
|
|
263
|
+
original_major = handler.major
|
|
264
|
+
handler.repo = repo
|
|
265
|
+
# Reset values so get_releases starts fresh
|
|
266
|
+
handler.semver = ""
|
|
267
|
+
handler.major = ""
|
|
256
268
|
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
assert handler.major == ""
|
|
269
|
+
try:
|
|
270
|
+
handler.get_releases()
|
|
260
271
|
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
272
|
+
# Should use the latest valid semver tag
|
|
273
|
+
assert handler.semver == "v99.99.99"
|
|
274
|
+
# No major tags (v1, v2, etc.) were created, only semver tags
|
|
275
|
+
assert handler.major == ""
|
|
276
|
+
finally:
|
|
277
|
+
# Restore original repo and values
|
|
278
|
+
handler.repo = original_repo
|
|
279
|
+
handler.semver = original_semver
|
|
280
|
+
handler.major = original_major
|
|
265
281
|
|
|
282
|
+
def test_get_releases_with_tags_triggering_invalid_version(self, handler: GitHubHandler):
|
|
283
|
+
"""Test get_releases handles tags that trigger InvalidVersion exception."""
|
|
266
284
|
# Create a mock repo with tags that will trigger InvalidVersion
|
|
267
285
|
mock_tag1 = Mock()
|
|
268
286
|
mock_tag1.name = "vinvalid" # Matches major pattern but invalid version
|
|
@@ -273,30 +291,36 @@ class TestHandler:
|
|
|
273
291
|
mock_repo = Mock()
|
|
274
292
|
mock_repo.tags = [mock_tag1, mock_tag2]
|
|
275
293
|
|
|
276
|
-
handler
|
|
277
|
-
handler.
|
|
294
|
+
# Replace the handler's repo with our mock
|
|
295
|
+
original_repo = handler.repo
|
|
296
|
+
handler.repo = mock_repo
|
|
297
|
+
|
|
298
|
+
try:
|
|
299
|
+
handler.get_releases()
|
|
278
300
|
|
|
279
|
-
|
|
280
|
-
|
|
301
|
+
# Should gracefully handle the invalid version and use the valid one
|
|
302
|
+
assert handler.major == "v1"
|
|
303
|
+
finally:
|
|
304
|
+
# Restore original repo
|
|
305
|
+
handler.repo = original_repo
|
|
281
306
|
|
|
282
307
|
def test_get_options_invalid(self, handler: GitHubHandler):
|
|
283
308
|
"""Test get_options raises PluginError for invalid options."""
|
|
284
309
|
with pytest.raises(PluginError, match="Invalid options"):
|
|
285
310
|
handler.get_options({"invalid_option": "value", "heading_level": "not_an_int"})
|
|
286
311
|
|
|
287
|
-
def test_get_repository_name_no_remotes(self, tmp_path):
|
|
312
|
+
def test_get_repository_name_no_remotes(self, handler: GitHubHandler, tmp_path):
|
|
288
313
|
"""Test get_repository_name raises error when no valid remote is found."""
|
|
289
314
|
import os
|
|
290
315
|
|
|
291
316
|
import git
|
|
292
317
|
|
|
293
|
-
from mkdocstrings_handlers.github.config import GitHubConfig
|
|
294
|
-
from mkdocstrings_handlers.github.handler import GitHubHandler
|
|
295
|
-
|
|
296
318
|
# Create a temporary git repo without any remotes
|
|
297
319
|
repo = git.Repo.init(tmp_path)
|
|
298
320
|
|
|
299
|
-
handler
|
|
321
|
+
# Replace the handler's repo with our test repo
|
|
322
|
+
original_repo = handler.repo
|
|
323
|
+
handler.repo = repo
|
|
300
324
|
|
|
301
325
|
# Temporarily clear GITHUB_ACTIONS and GITHUB_REPOSITORY env vars
|
|
302
326
|
# to ensure the test actually checks the remote URL logic
|
|
@@ -310,6 +334,8 @@ class TestHandler:
|
|
|
310
334
|
):
|
|
311
335
|
handler.get_repository_name()
|
|
312
336
|
finally:
|
|
337
|
+
# Restore original repo
|
|
338
|
+
handler.repo = original_repo
|
|
313
339
|
# Restore environment variables
|
|
314
340
|
if github_actions is not None:
|
|
315
341
|
os.environ["GITHUB_ACTIONS"] = github_actions
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/.github/workflows/example_workflow.yml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/docs/overrides/partials/toc-item.html
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/src/mkdocstrings_handlers/github/__init__.py
RENAMED
|
File without changes
|
{mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/src/mkdocstrings_handlers/github/config.py
RENAMED
|
File without changes
|
{mkdocstrings_github-0.6.1 → mkdocstrings_github-0.6.3}/src/mkdocstrings_handlers/github/py.typed
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|