mkdocstrings-python 1.12.1__tar.gz → 1.13.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_python-1.12.1 → mkdocstrings_python-1.13.0}/CHANGELOG.md +30 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/PKG-INFO +1 -2
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/README.md +0 -1
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/docs/.glossary.md +1 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/docs/insiders/index.md +2 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/docs/schema.json +1 -1
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/docs/usage/configuration/docstrings.md +1 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/docs/usage/configuration/signatures.md +14 -4
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/duties.py +8 -2
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/pyproject.toml +10 -5
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/scripts/gen_credits.py +1 -1
- mkdocstrings_python-1.13.0/scripts/get_version.py +27 -0
- mkdocstrings_python-1.13.0/scripts/make +1 -0
- mkdocstrings_python-1.12.1/scripts/make → mkdocstrings_python-1.13.0/scripts/make.py +18 -17
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/handler.py +4 -6
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/rendering.py +62 -12
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/attribute.html.jinja +1 -1
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/class.html.jinja +34 -17
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/examples.html.jinja +1 -1
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/expression.html.jinja +8 -7
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/signature.html.jinja +5 -5
- mkdocstrings_python-1.13.0/tests/conftest.py +137 -0
- mkdocstrings_python-1.12.1/tests/conftest.py → mkdocstrings_python-1.13.0/tests/helpers.py +12 -15
- mkdocstrings_python-1.13.0/tests/snapshots/__init__.py +405 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/.gitignore +2 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/052c34f22e4c711b1f13f53085cdd5e8edcfae4bdc1d8cb7f2ff76cd1c46cce5.html +132 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/052e71e7e9d5bec710fb2d36b009122c48eca0a19d0611df530e607f5bacdf6f.html +132 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/09d96d69d9dcbc54c8189fb885e8e06269c51be673389f29fa8b2d90cff54eb2.html +55 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/0b1372d7f7c057905f665ad506f3dd3bee62fb9b1c8b2a39991550e7845c2b02.html +506 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/0c2924ff976fa0e32ba66558a4f9e1eff4cd66196506a37977cdb33325a50718.html +355 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/0fac4f5e7f455b351c60268567bfcbd0259b652d0534259efea7815aa15b1122.html +320 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/11598fec2d07bb675dfa8a57e49136f18a94eedec6bc5a036dcecc005e70dc80.html +22 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/166b8dfab738b90f2ff0df84a048df96539455d9cad42b09b248ab65b5c742e2.html +55 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/247a6063b698c285bfef7addfd972ddf797f6a90dfd5a3e649e6e4c127b86562.html +57 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/26bc66c2ba29feddfbd06c2490eca42ec5a8f62db8d650231b0748ddce8c85f1.html +59 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/28d8862dd086c7d523516dd4091b57e5babd34165edccf619b62a06fc1936cd5.html +24 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/2bf34b4dd82e753b21200ec980cb197c530710fe8c150c4dd3fbbfb7d38928cc.html +55 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/347d4ffe2cb3f2ca3f0d1f3f09cffa96645eb2af29983e75d807fccff96d8f75.html +318 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/366b0537fe0625a10d55203a3532de5c360e49fb403078a82ec408d829afcb72.html +22 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/388a13d71284b1a4b0c457e9c8d1ec60dfefb8871c69ceb1d7a035bd3bdadab8.html +55 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/3d072a22b9513eecb51c6a5f39b978c1c1d3ef56a572031a307fe1cad1f17eff.html +324 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/3f5d794823a451ec9d4ed8c7e16d1354d39b74380402b255ee60741e97c9960c.html +22 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/42c053a5e567a777dfde62cd0d061112dc8098f90e71f71d5aceba8be188fcf7.html +26 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/4370d843cc76138927502402ac39c80414c8441a962f6466afdb280dc022af26.html +97 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/44e42f27bfe3d3b5ec14700c247c83195b1c6eea319d1a0679b2baa797d9859c.html +22 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/46e56f39b10d1e8ee4017bc11457bf76d169fc80b3d3e465213671b7f6e548eb.html +132 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/4892e0fe1920c0bb22fa4787b6e76cccaa968163b35641d705f288c04fe4937e.html +24 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/4f60da13e2d45e803f73ed41746d8b3570f0dac7e132efb1bf0cdbf77e9e2c59.html +24 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/59a9e1ffb2f0807b594a933444c78753a06f359527ea4adac85c72a7812b21d3.html +318 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/5a9c10410801aa75b33878971b939da701df9a7ce8006dc7781c148d27a89756.html +57 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/5cf0130e3b4fdd536b1c99ee66c66ec4245e286bf75b989cf50979ce187e1a16.html +22 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/62e18d3e57777d911c7fdee1fcc032a9c23ffe82913060e3b66f29bf81a6a585.html +55 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/6a02b544c12c68b75d9bf3b85b1800830fd980daabff9df8c3760eb6edea7915.html +136 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/6d12192d6b4dc0633bad697a683a3cdf3b2b9ceeb839044c72c63b469914f0a1.html +57 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/7107066872137b807b3f9d897e75eff78f5783b14d3c88e71c6477eaa8493113.html +24 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/728c1344630190ac84514ebd8e5ae2d95ba8685e16d2c79749f675b5b2a6cea5.html +289 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/735fc6ffdb82ce35cdab2aed2389a630e4d2c7ad95308bc5c7a56a8a8930b37f.html +190 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/74bfab19cbd4ba02673f6b9ee736a3b6727936de92f73f299ba238491f619937.html +24 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/76ee8e01e1c0b94de84d79da8443bc24f601f89cab70eae1b2af5ee21cfb1f3a.html +24 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/7c988c9e13efeadd20b911a95cc69973b715cceacdadefc540109aad3c274bde.html +508 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/7d5fe66539191786245991395e77d8ba0bbb22330cb08eaec2e84159bde4159b.html +353 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/83119803338105f101311992d31947e4fcaf2c5a6c68cad6355d8611c1cc2e3f.html +318 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/88855b0284174733b57edd2043e0e8cd6a1a0223055f08b80031452eb05d9484.html +318 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/8b097c69ac2fd52857f33e1b008f4d99a53ed21894c51517b3d79da445b0a705.html +59 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/8d4e1f9af9971bd21234c7c45dfbd59a1aee444bfa0cd3b9cfb6d052d378a041.html +57 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/955e5111f4262f280b0787a22dfa46c9ea93c80bc49e1a1de100349341d93fb9.html +97 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/95f8e480937f7a2b956392ed4d8058052d9748874cdd911feacdd31d1abe5d97.html +24 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/96cf94f4822a5cf5d72407eab5a5dddda972f16623f7710f738ffe2bcf9130d9.html +57 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/981438492e387bc82b23f09e3c5e0b452db5a1ffd88e52479db2b52a170fd8f9.html +506 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/9bd282a6f2fe82f3ffe66b175bf90ab3e808e3a67f3c15a9f9e3e143d7956e49.html +22 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/9c0bfc0ee40732505dc3dab8c95ad4ed6582d10df2449c7d92f1e43a91610666.html +97 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/9d03089a46fab9a86b0836444cabb6225798eaf25be6fd4171bd73b7354509b6.html +55 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/a1167b14f5a71a283817bf5866d2bb0bd08bf23dc054c6f7938a04f42feab99d.html +167 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/a185e216dc7b7ebb31b46ea0e7ed446cf9da94eee8db306f08bae1ca0db0ca1d.html +24 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/a200913d9a7d51c52ab58f6fc4e9ea7be278d7890c46cf28ecc3cfd35a36fb46.html +55 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/a2c5be9bd5d1f0db3ff64b44353c1760f5eb69d7db6401da2f28518d0e8065c4.html +318 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/ab0ddac637b536c06014746a4a8f8e0921b074015ae19680abf5df995c233ba1.html +24 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/ae74b5980f9b6996ed6e112d53168fde16c32d92bed42fb3193f98e0e3f04602.html +353 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/afd5c166367dd47e4f9843d906b3a1ad12398888fdad84bfbda3de8b19072611.html +57 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/b060b701543e5503dc848538a164e80480ab25f8885aa83b97776e6b0cc6b570.html +136 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/b0a9b08f1f721721c4dd110cb8f85ffda5caf1f1479851275bc227857fb01400.html +22 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/b4b490164ab1a724cac7aba25bbc69a33e7dd44500e9337718cd96da1bb56325.html +320 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/ba51e100acd4f6ad91f1ef484aa5f1bd537e661588b1742d93d0a6543cc3592c.html +477 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/bd6594ae3b516bf84cd0b0e6605087f430f62d787c32225ac8b4039c92e20b76.html +55 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/c260e7f4ef3b8b228bb25879d3adcf6610f1c2c971c9c46b5665d276716b8821.html +24 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/c6e7ef9564cdc8449a98c0ef790d652dee02c47b1339f858fc1d7a54aae9ed46.html +26 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/c915eb92fd5dcc4e2c9da41ca72c726e65fcd85804942be0c67b4f05f452a549.html +22 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/c9a15552eed32a233795c2086a7c766ad95e05197d30d881540fbe52cdc07ff8.html +55 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/cc19537fdba4a26b10c60d5586b0eb7ef0264a783a3c47d1114d21fa8cfa3947.html +506 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/cdc8126d78b690d11c09e3128df0f8d65379375a6bd390da30f5676bf2289cf2.html +289 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/ce06da7f07b34e4f9071c5c001a8626f2d5fd8eed9a3ba81abebd76f8afc6861.html +22 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/cfcd41685591bcc497f9d1e9fd20006fc3acd857f068e78e6d1c2461bbd4063f.html +57 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/d1216ebf8e30ec559861678318efb45bef54a847517e5d90e130818c2a06b163.html +190 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/d540895f6bf91c8c8e4abc02f40529a61c6cec71b18da2e4f02206ec18b901ef.html +353 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/d5a6bf59c663338bef9fdc2391f482aee444228e86e23357c11881498e711bb2.html +24 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/d726cb8367d95b67ce78e718e88ee528d3abc2fbd04413d1c11916a243d7567a.html +24 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/e3defc3620e5fee20f9400c33b7b541fde66297f257d9baf1b0f94b3ea49e6e0.html +24 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/e6a9b76f268cde81a129e7273038db0ff3fcd73530442a30c48cf01dcbc30aaa.html +318 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/e8be7a9b1410e40dac79fe0ee29d3036e707a177b2ba2bdad25a6998bec570b7.html +506 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/e90c3e0c85ddaa068f3d063c6a1ef718bb3ae2092760b707e838fb73164b3720.html +57 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/eee65d3705a655eec6512c4aa09d55f5d2e7c62dd245fed4b3f002a5e9a4d646.html +24 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/f0014d9505eceb38ba1e36c380a97ebe4d43669929ec1cdedba4d418899aecc7.html +26 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/f3f3acb6b51ba98f5a06e7c62e85b791b6521504f19a8d7496592dee59c7f199.html +24 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/f5ce06acbb7a31658cc6367db31caaf7a210c0a31e71de950e791c5eb33a6258.html +97 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/f6e292b8358a04e3471ba11c8820307076be3cf83b0a9ec2fb5c949324b7e172.html +57 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/f7711b8af7689b331209f8c034c8cc3a2ec894372644a8eaee597418e9b55b3c.html +318 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/f77f1c850398f972a7ae2229f918ba497874115be6c5e9431838b4bb6931b2f4.html +22 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/f848d4a9e516beeb1b1719630e34aa243a093ccd362a63e33dbd6202ae8ab75d.html +353 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/f8f32ea6a0c80a63854f8c8d78b3706797feb3042ac88c8fcf0a6da277eddb9d.html +26 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/fb5ebb7546d8d63744d7e6713ab5317b8c3d00d1108d28d7ef2949994b41dcbd.html +24 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/fb65efbbfc3ef9c2a06e6f539f8a75bec4276e61254539632a1d5f8f2c6c3452.html +318 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/fb770e6537bc1b98c0de03db7810404967562a2ffd1700ca35c9788949ca55c0.html +22 -0
- mkdocstrings_python-1.13.0/tests/snapshots/external/fba0d78ae23e4f52b5e6f0fe003ea3edf681a937f647b11925e9932006648a11.html +22 -0
- mkdocstrings_python-1.13.0/tests/test_end_to_end.py +168 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/tests/test_handler.py +5 -4
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/tests/test_rendering.py +13 -5
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/tests/test_themes.py +3 -7
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/CODE_OF_CONDUCT.md +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/CONTRIBUTING.md +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/LICENSE +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/config/black.toml +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/config/coverage.ini +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/config/git-changelog.toml +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/config/mypy.ini +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/config/pytest.ini +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/config/ruff.toml +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/config/vscode/launch.json +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/config/vscode/settings.json +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/config/vscode/tasks.json +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/docs/.overrides/main.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/docs/.overrides/partials/comments.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/docs/changelog.md +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/docs/code_of_conduct.md +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/docs/contributing.md +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/docs/credits.md +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/docs/css/insiders.css +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/docs/css/material.css +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/docs/css/mkdocstrings.css +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/docs/index.md +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/docs/insiders/changelog.md +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/docs/insiders/goals.yml +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/docs/insiders/installation.md +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/docs/js/feedback.js +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/docs/js/insiders.js +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/docs/license.md +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/docs/logo.png +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/docs/snippets/package/__init__.py +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/docs/snippets/package/modern.py +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/docs/usage/configuration/general.md +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/docs/usage/configuration/headings.md +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/docs/usage/configuration/members.md +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/docs/usage/customization.md +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/docs/usage/docstrings/google.md +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/docs/usage/docstrings/numpy.md +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/docs/usage/docstrings/sphinx.md +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/docs/usage/extensions.md +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/docs/usage/index.md +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/mkdocs.yml +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/scripts/gen_ref_nav.py +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/scripts/insiders.py +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/__init__.py +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/debug.py +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/py.typed +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/attribute.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/children.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/children.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/class.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/admonition.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/admonition.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/attributes.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/attributes.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/classes.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/classes.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/examples.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/functions.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/functions.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/modules.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/modules.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/other_parameters.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/other_parameters.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/parameters.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/parameters.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/raises.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/raises.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/receives.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/receives.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/returns.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/returns.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/warns.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/warns.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/yields.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/docstring/yields.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/docstring.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/docstring.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/expression.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/function.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/function.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/labels.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/labels.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/language.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/language.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/languages/en.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/languages/en.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/languages/ja.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/languages/ja.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/languages/zh.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/languages/zh.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/module.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/module.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/signature.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/summary/attributes.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/summary/attributes.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/summary/classes.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/summary/classes.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/summary/functions.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/summary/functions.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/summary/modules.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/summary/modules.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/summary.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/_base/summary.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/attribute.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/attribute.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/children.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/children.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/class.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/class.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/docstring/admonition.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/docstring/admonition.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/docstring/attributes.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/docstring/attributes.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/docstring/classes.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/docstring/classes.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/docstring/examples.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/docstring/examples.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/docstring/functions.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/docstring/functions.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/docstring/modules.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/docstring/modules.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/docstring/other_parameters.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/docstring/other_parameters.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/docstring/parameters.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/docstring/parameters.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/docstring/raises.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/docstring/raises.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/docstring/receives.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/docstring/receives.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/docstring/returns.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/docstring/returns.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/docstring/warns.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/docstring/warns.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/docstring/yields.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/docstring/yields.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/docstring.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/docstring.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/expression.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/expression.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/function.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/function.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/labels.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/labels.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/language.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/language.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/languages/en.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/languages/en.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/languages/ja.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/languages/ja.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/languages/zh.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/languages/zh.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/module.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/module.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/signature.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/signature.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/style.css +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/summary/attributes.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/summary/attributes.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/summary/classes.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/summary/classes.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/summary/functions.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/summary/functions.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/summary/modules.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/summary/modules.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/summary.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/material/summary.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/attributes.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/attributes.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/other_parameters.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/other_parameters.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/parameters.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/parameters.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/raises.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/raises.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/receives.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/receives.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/returns.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/returns.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/warns.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/warns.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/yields.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/docstring/yields.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/language.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/language.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/languages/en.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/languages/en.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/languages/ja.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/languages/ja.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/languages/zh.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/readthedocs/_base/languages/zh.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/readthedocs/docstring/attributes.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/readthedocs/docstring/attributes.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/readthedocs/docstring/other_parameters.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/readthedocs/docstring/other_parameters.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/readthedocs/docstring/parameters.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/readthedocs/docstring/parameters.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/readthedocs/docstring/raises.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/readthedocs/docstring/raises.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/readthedocs/docstring/receives.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/readthedocs/docstring/receives.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/readthedocs/docstring/returns.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/readthedocs/docstring/returns.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/readthedocs/docstring/warns.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/readthedocs/docstring/warns.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/readthedocs/docstring/yields.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/readthedocs/docstring/yields.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/readthedocs/language.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/readthedocs/language.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/readthedocs/languages/en.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/readthedocs/languages/en.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/readthedocs/languages/ja.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/readthedocs/languages/ja.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/readthedocs/languages/zh.html +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/readthedocs/languages/zh.html.jinja +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/src/mkdocstrings_handlers/python/templates/readthedocs/style.css +0 -0
- {mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/tests/__init__.py +0 -0
|
@@ -5,6 +5,36 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
|
|
5
5
|
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
7
|
<!-- insertion marker -->
|
|
8
|
+
## [1.13.0](https://github.com/mkdocstrings/python/releases/tag/1.13.0) - 2024-12-26
|
|
9
|
+
|
|
10
|
+
<small>[Compare with 1.12.2](https://github.com/mkdocstrings/python/compare/1.12.2...1.13.0)</small>
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
- Allow using Ruff to format signatures and attribute values ([d67215c](https://github.com/mkdocstrings/python/commit/d67215c976938ef1e169f16dd0b6166067ebd7bc) by dm). [PR-216](https://github.com/mkdocstrings/python/pull/216)
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
- Respect `show_signature_annotations` option for attribute signatures in headings ([e93d166](https://github.com/mkdocstrings/python/commit/e93d166a14d0944d30ff2f28f21f2262ac396bff) by Timothée Mazzucotelli). [Issue-griffe-pydantic#9](https://github.com/mkdocstrings/griffe-pydantic/issues/9)
|
|
19
|
+
- Handle `__init__` overloads when merging into class ([af6fab3](https://github.com/mkdocstrings/python/commit/af6fab31142204872ace716392dcb314b2cb5d0f) by Timothée Mazzucotelli). [Issue-212](https://github.com/mkdocstrings/python/issues/212)
|
|
20
|
+
- Actually check if a module is public when rendering auto-generated summary table for modules ([3bf55b2](https://github.com/mkdocstrings/python/commit/3bf55b22ce9a841242c55b2efcedbd8f3a99ccc9) by Timothée Mazzucotelli). [Issue-203](https://github.com/mkdocstrings/python/issues/203)
|
|
21
|
+
- Never render line numbers for signatures and attribute values ([a669f1c](https://github.com/mkdocstrings/python/commit/a669f1caefbd54305cc4610bdd57a529aa1208cf) by Timothée Mazzucotelli). [Issue-192](https://github.com/mkdocstrings/python/issues/192)
|
|
22
|
+
- Respect highlight's `linenums` config for `pycon` examples in docstrings ([53eb82a](https://github.com/mkdocstrings/python/commit/53eb82a21bbcaa959306e909bf0d4ac468f87580) by Timothée Mazzucotelli). [Related-to-#192](https://github.com/mkdocstrings/python/issues/192)
|
|
23
|
+
- Fix normalization of extension paths on the annoying operating system and Python 3.13 ([101a6dc](https://github.com/mkdocstrings/python/commit/101a6dc428da59a512da617a0a2453f2b6ef4387) by Timothée Mazzucotelli).
|
|
24
|
+
- Don't merge parent `__init__` docstring into class docstring if such inherited method wasn't selected through the `inherited_members` configuration option ([6c5b5c3](https://github.com/mkdocstrings/python/commit/6c5b5c341940af9425b3de0672ac400794b3f6e5) by Timothée Mazzucotelli). [Issue-189](https://github.com/mkdocstrings/python/issues/189)
|
|
25
|
+
|
|
26
|
+
### Code Refactoring
|
|
27
|
+
|
|
28
|
+
- Render `*` and `**` outside of cross-references in signatures ([c4506f0](https://github.com/mkdocstrings/python/commit/c4506f080e0c75cd32d6512c80f5016e82fc12bc) by Timothée Mazzucotelli). [Needed-for-PR-216](https://github.com/mkdocstrings/python/pull/216)
|
|
29
|
+
|
|
30
|
+
## [1.12.2](https://github.com/mkdocstrings/python/releases/tag/1.12.2) - 2024-10-19
|
|
31
|
+
|
|
32
|
+
<small>[Compare with 1.12.1](https://github.com/mkdocstrings/python/compare/1.12.1...1.12.2)</small>
|
|
33
|
+
|
|
34
|
+
### Bug Fixes
|
|
35
|
+
|
|
36
|
+
- Always render cross-references outside of signatures ([73f11dc](https://github.com/mkdocstrings/python/commit/73f11dcc584a672af7e17738cba08a50f119176a) by Timothée Mazzucotelli). [Issue-mkdocstrings#700](https://github.com/mkdocstrings/mkdocstrings/issues/700)
|
|
37
|
+
|
|
8
38
|
## [1.12.1](https://github.com/mkdocstrings/python/releases/tag/1.12.1) - 2024-10-14
|
|
9
39
|
|
|
10
40
|
<small>[Compare with 1.12.0](https://github.com/mkdocstrings/python/compare/1.12.0...1.12.1)</small>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: mkdocstrings-python
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.13.0
|
|
4
4
|
Summary: A Python handler for mkdocstrings.
|
|
5
5
|
Author-Email: =?utf-8?q?Timoth=C3=A9e_Mazzucotelli?= <dev@pawamoy.fr>
|
|
6
6
|
License: ISC
|
|
@@ -41,7 +41,6 @@ Description-Content-Type: text/markdown
|
|
|
41
41
|
[](https://github.com/mkdocstrings/python/actions?query=workflow%3Aci)
|
|
42
42
|
[](https://mkdocstrings.github.io/python/)
|
|
43
43
|
[](https://pypi.org/project/mkdocstrings-python/)
|
|
44
|
-
[](https://gitpod.io/#https://github.com/mkdocstrings/python)
|
|
45
44
|
[](https://app.gitter.im/#/room/#python:gitter.im)
|
|
46
45
|
|
|
47
46
|
---
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
[](https://github.com/mkdocstrings/python/actions?query=workflow%3Aci)
|
|
6
6
|
[](https://mkdocstrings.github.io/python/)
|
|
7
7
|
[](https://pypi.org/project/mkdocstrings-python/)
|
|
8
|
-
[](https://gitpod.io/#https://github.com/mkdocstrings/python)
|
|
9
8
|
[](https://app.gitter.im/#/room/#python:gitter.im)
|
|
10
9
|
|
|
11
10
|
---
|
|
@@ -92,6 +92,8 @@ else:
|
|
|
92
92
|
```
|
|
93
93
|
<!-- blacken-docs:on -->
|
|
94
94
|
|
|
95
|
+
Additionally, your sponsorship will give more weight to your upvotes on issues, helping us prioritize work items in our backlog. For more information on how we prioritize work, see this page: [Backlog management](https://pawamoy.github.io/backlog/).
|
|
96
|
+
|
|
95
97
|
## How to become a sponsor
|
|
96
98
|
|
|
97
99
|
Thanks for your interest in sponsoring! In order to become an eligible sponsor
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
"default": false
|
|
146
146
|
},
|
|
147
147
|
"separate_signature": {
|
|
148
|
-
"title": "Whether to put the whole signature in a code block below the heading. If Black is installed, the signature is also formatted using it.",
|
|
148
|
+
"title": "Whether to put the whole signature in a code block below the heading. If a formatter (Black or Ruff) is installed, the signature is also formatted using it.",
|
|
149
149
|
"markdownDescription": "https://mkdocstrings.github.io/python/usage/configuration/signatures/#separate_signature",
|
|
150
150
|
"type": "boolean",
|
|
151
151
|
"default": false
|
{mkdocstrings_python-1.12.1 → mkdocstrings_python-1.13.0}/docs/usage/configuration/signatures.md
RENAMED
|
@@ -154,10 +154,15 @@ def convert(text: str, md: Markdown) -> Markup:
|
|
|
154
154
|
Maximum line length when formatting code/signatures.
|
|
155
155
|
|
|
156
156
|
When separating signatures from headings with the [`separate_signature`][] option,
|
|
157
|
-
the Python handler will try to format the signatures using
|
|
157
|
+
the Python handler will try to format the signatures using a formatter and
|
|
158
158
|
the specified line length.
|
|
159
159
|
|
|
160
|
-
|
|
160
|
+
The handler will automatically try to format using :
|
|
161
|
+
|
|
162
|
+
1. [Black]
|
|
163
|
+
2. [Ruff]
|
|
164
|
+
|
|
165
|
+
If a formatter is not found, the handler issues an INFO log once.
|
|
161
166
|
|
|
162
167
|
```yaml title="in mkdocs.yml (global configuration)"
|
|
163
168
|
plugins:
|
|
@@ -380,10 +385,15 @@ function(param1, param2=None)
|
|
|
380
385
|
Whether to put the whole signature in a code block below the heading.
|
|
381
386
|
|
|
382
387
|
When separating signatures from headings,
|
|
383
|
-
the Python handler will try to format the signatures using
|
|
388
|
+
the Python handler will try to format the signatures using a formatter and
|
|
384
389
|
the specified [line length][line_length].
|
|
385
390
|
|
|
386
|
-
|
|
391
|
+
The handler will automatically try to format using :
|
|
392
|
+
|
|
393
|
+
1. [Black]
|
|
394
|
+
2. [Ruff]
|
|
395
|
+
|
|
396
|
+
If a formatter is not found, the handler issues an INFO log once.
|
|
387
397
|
|
|
388
398
|
```yaml title="in mkdocs.yml (global configuration)"
|
|
389
399
|
plugins:
|
|
@@ -217,20 +217,26 @@ def coverage(ctx: Context) -> None:
|
|
|
217
217
|
|
|
218
218
|
|
|
219
219
|
@duty
|
|
220
|
-
def test(ctx: Context, *cli_args: str, match: str = "") -> None:
|
|
220
|
+
def test(ctx: Context, *cli_args: str, match: str = "", snapshot: str = "report") -> None:
|
|
221
221
|
"""Run the test suite.
|
|
222
222
|
|
|
223
223
|
Parameters:
|
|
224
224
|
match: A pytest expression to filter selected tests.
|
|
225
|
+
snapshot: Whether to "create", "fix", "trim", or "update" snapshots.
|
|
225
226
|
"""
|
|
226
227
|
py_version = f"{sys.version_info.major}{sys.version_info.minor}"
|
|
227
228
|
os.environ["COVERAGE_FILE"] = f".coverage.{py_version}"
|
|
229
|
+
args = list(cli_args)
|
|
230
|
+
if snapshot == "disable" or not snapshot:
|
|
231
|
+
args = ["-n", "auto", "--inline-snapshot=disable"]
|
|
232
|
+
else:
|
|
233
|
+
args = [f"--inline-snapshot={snapshot}"]
|
|
228
234
|
ctx.run(
|
|
229
235
|
tools.pytest(
|
|
230
236
|
"tests",
|
|
231
237
|
config_file="config/pytest.ini",
|
|
232
238
|
select=match,
|
|
233
239
|
color="yes",
|
|
234
|
-
).add_args(
|
|
240
|
+
).add_args(*args),
|
|
235
241
|
title=pyprefix("Running tests"),
|
|
236
242
|
)
|
|
@@ -37,7 +37,7 @@ dependencies = [
|
|
|
37
37
|
"mkdocs-autorefs>=1.2",
|
|
38
38
|
"griffe>=0.49",
|
|
39
39
|
]
|
|
40
|
-
version = "1.
|
|
40
|
+
version = "1.13.0"
|
|
41
41
|
|
|
42
42
|
[project.license]
|
|
43
43
|
text = "ISC"
|
|
@@ -53,7 +53,8 @@ Gitter = "https://gitter.im/mkdocstrings/python"
|
|
|
53
53
|
Funding = "https://github.com/sponsors/pawamoy"
|
|
54
54
|
|
|
55
55
|
[tool.pdm.version]
|
|
56
|
-
source = "
|
|
56
|
+
source = "call"
|
|
57
|
+
getter = "scripts.get_version:get_version"
|
|
57
58
|
|
|
58
59
|
[tool.pdm.build]
|
|
59
60
|
package-dir = "src"
|
|
@@ -81,9 +82,11 @@ data = [
|
|
|
81
82
|
{ path = "share/**/*", relative-to = "." },
|
|
82
83
|
]
|
|
83
84
|
|
|
84
|
-
[tool.
|
|
85
|
-
|
|
86
|
-
|
|
85
|
+
[tool.inline-snapshot]
|
|
86
|
+
storage-dir = "tests/snapshots"
|
|
87
|
+
|
|
88
|
+
[dependency-groups]
|
|
89
|
+
dev = [
|
|
87
90
|
"build>=1.2",
|
|
88
91
|
"git-changelog>=2.5",
|
|
89
92
|
"twine>=5.1",
|
|
@@ -93,6 +96,8 @@ dev-dependencies = [
|
|
|
93
96
|
"pytest-cov>=5.0",
|
|
94
97
|
"pytest-randomly>=3.15",
|
|
95
98
|
"pytest-xdist>=3.6",
|
|
99
|
+
"beautifulsoup4>=4.12.3",
|
|
100
|
+
"inline-snapshot>=0.18",
|
|
96
101
|
"mypy>=1.10",
|
|
97
102
|
"types-markdown>=3.6",
|
|
98
103
|
"types-pyyaml>=6.0",
|
|
@@ -27,7 +27,7 @@ with project_dir.joinpath("pyproject.toml").open("rb") as pyproject_file:
|
|
|
27
27
|
pyproject = tomllib.load(pyproject_file)
|
|
28
28
|
project = pyproject["project"]
|
|
29
29
|
project_name = project["name"]
|
|
30
|
-
devdeps = [dep for dep in pyproject["
|
|
30
|
+
devdeps = [dep for dep in pyproject["dependency-groups"]["dev"] if not dep.startswith("-e")]
|
|
31
31
|
|
|
32
32
|
PackageMetadata = dict[str, Union[str, Iterable[str]]]
|
|
33
33
|
Metadata = dict[str, PackageMetadata]
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"""Get current project version from Git tags or changelog."""
|
|
2
|
+
|
|
3
|
+
import re
|
|
4
|
+
from contextlib import suppress
|
|
5
|
+
from pathlib import Path
|
|
6
|
+
|
|
7
|
+
from pdm.backend.hooks.version import SCMVersion, Version, default_version_formatter, get_version_from_scm
|
|
8
|
+
|
|
9
|
+
_root = Path(__file__).parent.parent
|
|
10
|
+
_changelog = _root / "CHANGELOG.md"
|
|
11
|
+
_changelog_version_re = re.compile(r"^## \[(\d+\.\d+\.\d+)\].*$")
|
|
12
|
+
_default_scm_version = SCMVersion(Version("0.0.0"), None, False, None, None) # noqa: FBT003
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
def get_version() -> str:
|
|
16
|
+
"""Get current project version from Git tags or changelog."""
|
|
17
|
+
scm_version = get_version_from_scm(_root) or _default_scm_version
|
|
18
|
+
if scm_version.version <= Version("0.1"): # Missing Git tags?
|
|
19
|
+
with suppress(OSError, StopIteration): # noqa: SIM117
|
|
20
|
+
with _changelog.open("r", encoding="utf8") as file:
|
|
21
|
+
match = next(filter(None, map(_changelog_version_re.match, file)))
|
|
22
|
+
scm_version = scm_version._replace(version=Version(match.group(1)))
|
|
23
|
+
return default_version_formatter(scm_version)
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
if __name__ == "__main__":
|
|
27
|
+
print(get_version())
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
make.py
|
|
@@ -10,12 +10,16 @@ import sys
|
|
|
10
10
|
from contextlib import contextmanager
|
|
11
11
|
from pathlib import Path
|
|
12
12
|
from textwrap import dedent
|
|
13
|
-
from typing import
|
|
13
|
+
from typing import TYPE_CHECKING, Any
|
|
14
|
+
|
|
15
|
+
if TYPE_CHECKING:
|
|
16
|
+
from collections.abc import Iterator
|
|
17
|
+
|
|
14
18
|
|
|
15
19
|
PYTHON_VERSIONS = os.getenv("PYTHON_VERSIONS", "3.9 3.10 3.11 3.12 3.13 3.14").split()
|
|
16
20
|
|
|
17
21
|
|
|
18
|
-
def shell(cmd: str, capture_output: bool = False, **kwargs: Any) -> str | None:
|
|
22
|
+
def shell(cmd: str, *, capture_output: bool = False, **kwargs: Any) -> str | None:
|
|
19
23
|
"""Run a shell command."""
|
|
20
24
|
if capture_output:
|
|
21
25
|
return subprocess.check_output(cmd, shell=True, text=True, **kwargs) # noqa: S602
|
|
@@ -49,15 +53,15 @@ def setup() -> None:
|
|
|
49
53
|
if not shutil.which("uv"):
|
|
50
54
|
raise ValueError("make: setup: uv must be installed, see https://github.com/astral-sh/uv")
|
|
51
55
|
|
|
52
|
-
print("Installing dependencies (default environment)")
|
|
56
|
+
print("Installing dependencies (default environment)")
|
|
53
57
|
default_venv = Path(".venv")
|
|
54
58
|
if not default_venv.exists():
|
|
55
|
-
shell("uv venv
|
|
59
|
+
shell("uv venv")
|
|
56
60
|
uv_install(default_venv)
|
|
57
61
|
|
|
58
62
|
if PYTHON_VERSIONS:
|
|
59
63
|
for version in PYTHON_VERSIONS:
|
|
60
|
-
print(f"\nInstalling dependencies (python{version})")
|
|
64
|
+
print(f"\nInstalling dependencies (python{version})")
|
|
61
65
|
venv_path = Path(f".venvs/{version}")
|
|
62
66
|
if not venv_path.exists():
|
|
63
67
|
shell(f"uv venv --python {version} {venv_path}")
|
|
@@ -65,12 +69,10 @@ def setup() -> None:
|
|
|
65
69
|
uv_install(venv_path)
|
|
66
70
|
|
|
67
71
|
|
|
68
|
-
def run(version: str, cmd: str, *args: str,
|
|
72
|
+
def run(version: str, cmd: str, *args: str, **kwargs: Any) -> None:
|
|
69
73
|
"""Run a command in a virtual environment."""
|
|
70
74
|
kwargs = {"check": True, **kwargs}
|
|
71
|
-
uv_run = ["uv", "run"]
|
|
72
|
-
if no_sync:
|
|
73
|
-
uv_run.append("--no-sync")
|
|
75
|
+
uv_run = ["uv", "run", "--no-sync"]
|
|
74
76
|
if version == "default":
|
|
75
77
|
with environ(UV_PROJECT_ENVIRONMENT=".venv"):
|
|
76
78
|
subprocess.run([*uv_run, cmd, *args], **kwargs) # noqa: S603, PLW1510
|
|
@@ -99,7 +101,7 @@ def clean() -> None:
|
|
|
99
101
|
"""Delete build artifacts and cache files."""
|
|
100
102
|
paths_to_clean = ["build", "dist", "htmlcov", "site", ".coverage*", ".pdm-build"]
|
|
101
103
|
for path in paths_to_clean:
|
|
102
|
-
|
|
104
|
+
shutil.rmtree(path, ignore_errors=True)
|
|
103
105
|
|
|
104
106
|
cache_dirs = {".cache", ".pytest_cache", ".mypy_cache", ".ruff_cache", "__pycache__"}
|
|
105
107
|
for dirpath in Path(".").rglob("*/"):
|
|
@@ -109,8 +111,7 @@ def clean() -> None:
|
|
|
109
111
|
|
|
110
112
|
def vscode() -> None:
|
|
111
113
|
"""Configure VSCode to work on this project."""
|
|
112
|
-
|
|
113
|
-
shell("cp -v config/vscode/* .vscode")
|
|
114
|
+
shutil.copytree("config/vscode", ".vscode", dirs_exist_ok=True)
|
|
114
115
|
|
|
115
116
|
|
|
116
117
|
def main() -> int:
|
|
@@ -132,13 +133,13 @@ def main() -> int:
|
|
|
132
133
|
3.x Run a command in the virtual environment for Python 3.x.
|
|
133
134
|
clean Delete build artifacts and cache files.
|
|
134
135
|
vscode Configure VSCode to work on this project.
|
|
135
|
-
"""
|
|
136
|
+
""",
|
|
136
137
|
),
|
|
137
138
|
flush=True,
|
|
138
|
-
)
|
|
139
|
+
)
|
|
139
140
|
if os.path.exists(".venv"):
|
|
140
|
-
print("\nAvailable tasks", flush=True)
|
|
141
|
-
run("default", "duty", "--list"
|
|
141
|
+
print("\nAvailable tasks", flush=True)
|
|
142
|
+
run("default", "duty", "--list")
|
|
142
143
|
return 0
|
|
143
144
|
|
|
144
145
|
while args:
|
|
@@ -186,5 +187,5 @@ if __name__ == "__main__":
|
|
|
186
187
|
sys.exit(main())
|
|
187
188
|
except subprocess.CalledProcessError as process:
|
|
188
189
|
if process.output:
|
|
189
|
-
print(process.output, file=sys.stderr)
|
|
190
|
+
print(process.output, file=sys.stderr)
|
|
190
191
|
sys.exit(process.returncode)
|
|
@@ -201,7 +201,7 @@ class PythonHandler(BaseHandler):
|
|
|
201
201
|
show_signature_annotations (bool): Show the type annotations in methods and functions signatures. Default: `False`.
|
|
202
202
|
signature_crossrefs (bool): Whether to render cross-references for type annotations in signatures. Default: `False`.
|
|
203
203
|
separate_signature (bool): Whether to put the whole signature in a code block below the heading.
|
|
204
|
-
If Black is installed, the signature is also formatted using it. Default: `False`.
|
|
204
|
+
If a formatter (Black or Ruff) is installed, the signature is also formatted using it. Default: `False`.
|
|
205
205
|
unwrap_annotated (bool): Whether to unwrap `Annotated` types to show only the type without the annotations. Default: `False`.
|
|
206
206
|
modernize_annotations (bool): Whether to modernize annotations, for example `Optional[str]` into `str | None`. Default: `False`.
|
|
207
207
|
"""
|
|
@@ -469,11 +469,9 @@ class PythonHandler(BaseHandler):
|
|
|
469
469
|
pth = str(ext)
|
|
470
470
|
options = None
|
|
471
471
|
|
|
472
|
-
if pth.endswith(".py") or ".py:" in pth or "/" in pth or "\\" in pth:
|
|
473
|
-
# This is a
|
|
474
|
-
|
|
475
|
-
# Make path absolute relative to config file path.
|
|
476
|
-
pth = os.path.normpath(os.path.join(base_path, pth))
|
|
472
|
+
if pth.endswith(".py") or ".py:" in pth or "/" in pth or "\\" in pth:
|
|
473
|
+
# This is a system path. Normalize it, make it absolute relative to config file path.
|
|
474
|
+
pth = os.path.abspath(os.path.join(base_path, pth))
|
|
477
475
|
|
|
478
476
|
if options is not None:
|
|
479
477
|
normalized.append({pth: options})
|
|
@@ -6,6 +6,7 @@ import enum
|
|
|
6
6
|
import random
|
|
7
7
|
import re
|
|
8
8
|
import string
|
|
9
|
+
import subprocess
|
|
9
10
|
import sys
|
|
10
11
|
import warnings
|
|
11
12
|
from functools import lru_cache
|
|
@@ -71,11 +72,11 @@ order_map = {
|
|
|
71
72
|
|
|
72
73
|
|
|
73
74
|
def do_format_code(code: str, line_length: int) -> str:
|
|
74
|
-
"""Format code
|
|
75
|
+
"""Format code.
|
|
75
76
|
|
|
76
77
|
Parameters:
|
|
77
78
|
code: The code to format.
|
|
78
|
-
line_length: The line length
|
|
79
|
+
line_length: The line length.
|
|
79
80
|
|
|
80
81
|
Returns:
|
|
81
82
|
The same code, formatted.
|
|
@@ -83,7 +84,7 @@ def do_format_code(code: str, line_length: int) -> str:
|
|
|
83
84
|
code = code.strip()
|
|
84
85
|
if len(code) < line_length:
|
|
85
86
|
return code
|
|
86
|
-
formatter =
|
|
87
|
+
formatter = _get_formatter()
|
|
87
88
|
return formatter(code, line_length)
|
|
88
89
|
|
|
89
90
|
|
|
@@ -118,7 +119,7 @@ def _format_signature(name: Markup, signature: str, line_length: int) -> str:
|
|
|
118
119
|
# Black cannot format names with dots, so we replace
|
|
119
120
|
# the whole name with a string of equal length
|
|
120
121
|
name_length = len(name)
|
|
121
|
-
formatter =
|
|
122
|
+
formatter = _get_formatter()
|
|
122
123
|
formatable = f"def {'x' * name_length}{signature}: pass"
|
|
123
124
|
formatted = formatter(formatable, line_length)
|
|
124
125
|
|
|
@@ -137,13 +138,13 @@ def do_format_signature(
|
|
|
137
138
|
annotations: bool | None = None,
|
|
138
139
|
crossrefs: bool = False, # noqa: ARG001
|
|
139
140
|
) -> str:
|
|
140
|
-
"""Format a signature
|
|
141
|
+
"""Format a signature.
|
|
141
142
|
|
|
142
143
|
Parameters:
|
|
143
144
|
context: Jinja context, passed automatically.
|
|
144
145
|
callable_path: The path of the callable we render the signature of.
|
|
145
146
|
function: The function we render the signature of.
|
|
146
|
-
line_length: The line length
|
|
147
|
+
line_length: The line length.
|
|
147
148
|
annotations: Whether to show type annotations.
|
|
148
149
|
crossrefs: Whether to cross-reference types in the signature.
|
|
149
150
|
|
|
@@ -169,6 +170,7 @@ def do_format_signature(
|
|
|
169
170
|
language="python",
|
|
170
171
|
inline=False,
|
|
171
172
|
classes=["doc-signature"],
|
|
173
|
+
linenums=False,
|
|
172
174
|
),
|
|
173
175
|
)
|
|
174
176
|
|
|
@@ -198,13 +200,13 @@ def do_format_attribute(
|
|
|
198
200
|
*,
|
|
199
201
|
crossrefs: bool = False, # noqa: ARG001
|
|
200
202
|
) -> str:
|
|
201
|
-
"""Format an attribute
|
|
203
|
+
"""Format an attribute.
|
|
202
204
|
|
|
203
205
|
Parameters:
|
|
204
206
|
context: Jinja context, passed automatically.
|
|
205
207
|
attribute_path: The path of the callable we render the signature of.
|
|
206
208
|
attribute: The attribute we render the signature of.
|
|
207
|
-
line_length: The line length
|
|
209
|
+
line_length: The line length.
|
|
208
210
|
crossrefs: Whether to cross-reference types in the signature.
|
|
209
211
|
|
|
210
212
|
Returns:
|
|
@@ -230,6 +232,7 @@ def do_format_attribute(
|
|
|
230
232
|
language="python",
|
|
231
233
|
inline=False,
|
|
232
234
|
classes=["doc-signature"],
|
|
235
|
+
linenums=False,
|
|
233
236
|
),
|
|
234
237
|
)
|
|
235
238
|
|
|
@@ -432,12 +435,59 @@ def do_filter_objects(
|
|
|
432
435
|
|
|
433
436
|
|
|
434
437
|
@lru_cache(maxsize=1)
|
|
435
|
-
def
|
|
438
|
+
def _get_formatter() -> Callable[[str, int], str]:
|
|
439
|
+
for formatter_function in [
|
|
440
|
+
_get_black_formatter,
|
|
441
|
+
_get_ruff_formatter,
|
|
442
|
+
]:
|
|
443
|
+
if (formatter := formatter_function()) is not None:
|
|
444
|
+
return formatter
|
|
445
|
+
|
|
446
|
+
logger.info("Formatting signatures requires either Black or Ruff to be installed.")
|
|
447
|
+
return lambda text, _: text
|
|
448
|
+
|
|
449
|
+
|
|
450
|
+
def _get_ruff_formatter() -> Callable[[str, int], str] | None:
|
|
451
|
+
try:
|
|
452
|
+
from ruff.__main__ import find_ruff_bin
|
|
453
|
+
except ImportError:
|
|
454
|
+
return None
|
|
455
|
+
|
|
456
|
+
try:
|
|
457
|
+
ruff_bin = find_ruff_bin()
|
|
458
|
+
except FileNotFoundError:
|
|
459
|
+
ruff_bin = "ruff"
|
|
460
|
+
|
|
461
|
+
def formatter(code: str, line_length: int) -> str:
|
|
462
|
+
try:
|
|
463
|
+
completed_process = subprocess.run( # noqa: S603
|
|
464
|
+
[
|
|
465
|
+
ruff_bin,
|
|
466
|
+
"format",
|
|
467
|
+
"--config",
|
|
468
|
+
f"line-length={line_length}",
|
|
469
|
+
"--stdin-filename",
|
|
470
|
+
"file.py",
|
|
471
|
+
"-",
|
|
472
|
+
],
|
|
473
|
+
check=True,
|
|
474
|
+
capture_output=True,
|
|
475
|
+
text=True,
|
|
476
|
+
input=code,
|
|
477
|
+
)
|
|
478
|
+
except subprocess.CalledProcessError:
|
|
479
|
+
return code
|
|
480
|
+
else:
|
|
481
|
+
return completed_process.stdout
|
|
482
|
+
|
|
483
|
+
return formatter
|
|
484
|
+
|
|
485
|
+
|
|
486
|
+
def _get_black_formatter() -> Callable[[str, int], str] | None:
|
|
436
487
|
try:
|
|
437
488
|
from black import InvalidInput, Mode, format_str
|
|
438
489
|
except ModuleNotFoundError:
|
|
439
|
-
|
|
440
|
-
return lambda text, _: text
|
|
490
|
+
return None
|
|
441
491
|
|
|
442
492
|
def formatter(code: str, line_length: int) -> str:
|
|
443
493
|
mode = Mode(line_length=line_length)
|
|
@@ -592,7 +642,7 @@ def do_as_modules_section(
|
|
|
592
642
|
description=module.docstring.value.split("\n", 1)[0] if module.docstring else "",
|
|
593
643
|
)
|
|
594
644
|
for module in modules
|
|
595
|
-
if not check_public or module
|
|
645
|
+
if not check_public or module.is_public
|
|
596
646
|
],
|
|
597
647
|
)
|
|
598
648
|
|
|
@@ -52,7 +52,7 @@ Context:
|
|
|
52
52
|
<span class="doc doc-object-name doc-attribute-name">{{ attribute_name }}</span>
|
|
53
53
|
{% else %}
|
|
54
54
|
{%+ filter highlight(language="python", inline=True) %}
|
|
55
|
-
{{ attribute_name }}{% if attribute.annotation %}: {{ attribute.annotation }}{% endif %}
|
|
55
|
+
{{ attribute_name }}{% if attribute.annotation and config.show_signature_annotations %}: {{ attribute.annotation }}{% endif %}
|
|
56
56
|
{% if attribute.value %} = {{ attribute.value }}{% endif %}
|
|
57
57
|
{% endfilter %}
|
|
58
58
|
{% endif %}
|
|
@@ -18,7 +18,7 @@ Context:
|
|
|
18
18
|
{% endblock logs %}
|
|
19
19
|
|
|
20
20
|
<div class="doc doc-object doc-class">
|
|
21
|
-
{% with obj = class, html_id = class.path %}
|
|
21
|
+
{% with obj = class, html_id = class.path, all_members = class.all_members %}
|
|
22
22
|
|
|
23
23
|
{% if root %}
|
|
24
24
|
{% set show_full_path = config.show_root_full_path %}
|
|
@@ -49,8 +49,8 @@ Context:
|
|
|
49
49
|
{% if config.show_symbol_type_heading %}<code class="doc-symbol doc-symbol-heading doc-symbol-class"></code>{% endif %}
|
|
50
50
|
{% if config.separate_signature %}
|
|
51
51
|
<span class="doc doc-object-name doc-class-name">{{ class_name }}</span>
|
|
52
|
-
{% elif config.merge_init_into_class and "__init__" in
|
|
53
|
-
{% with function =
|
|
52
|
+
{% elif config.merge_init_into_class and "__init__" in all_members %}
|
|
53
|
+
{% with function = all_members["__init__"] %}
|
|
54
54
|
{%+ filter highlight(language="python", inline=True) %}
|
|
55
55
|
{{ class_name }}{% include "signature"|get_template with context %}
|
|
56
56
|
{% endfilter %}
|
|
@@ -76,13 +76,26 @@ Context:
|
|
|
76
76
|
{#- Signature block.
|
|
77
77
|
|
|
78
78
|
This block renders the signature for the class.
|
|
79
|
+
Overloads of the `__init__` method are rendered if `merge_init_into_class` is enabled.
|
|
80
|
+
The actual `__init__` method signature is only rendered if `separate_signature` is also enabled.
|
|
79
81
|
-#}
|
|
80
|
-
{% if config.
|
|
81
|
-
{% if "__init__" in
|
|
82
|
-
{% with function =
|
|
83
|
-
{%
|
|
84
|
-
|
|
85
|
-
|
|
82
|
+
{% if config.merge_init_into_class %}
|
|
83
|
+
{% if "__init__" in all_members %}
|
|
84
|
+
{% with function = all_members["__init__"] %}
|
|
85
|
+
{% if function.overloads %}
|
|
86
|
+
<div class="doc-overloads">
|
|
87
|
+
{% for overload in function.overloads %}
|
|
88
|
+
{% filter format_signature(overload, config.line_length, annotations=True, crossrefs=config.signature_crossrefs) %}
|
|
89
|
+
{{ class.name }}
|
|
90
|
+
{% endfilter %}
|
|
91
|
+
{% endfor %}
|
|
92
|
+
</div>
|
|
93
|
+
{% endif %}
|
|
94
|
+
{% if config.separate_signature %}
|
|
95
|
+
{% filter format_signature(function, config.line_length, crossrefs=config.signature_crossrefs) %}
|
|
96
|
+
{{ class.name }}
|
|
97
|
+
{% endfilter %}
|
|
98
|
+
{% endif %}
|
|
86
99
|
{% endwith %}
|
|
87
100
|
{% endif %}
|
|
88
101
|
{% endif %}
|
|
@@ -132,13 +145,17 @@ Context:
|
|
|
132
145
|
{% include "docstring"|get_template with context %}
|
|
133
146
|
{% endwith %}
|
|
134
147
|
{% if config.merge_init_into_class %}
|
|
135
|
-
{
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
148
|
+
{# We don't want to merge the inherited `__init__` method docstring into the class docstring #}
|
|
149
|
+
{# if such inherited method was not selected through `inherited_members`. #}
|
|
150
|
+
{% with check_members = all_members if (config.inherited_members is true or (config.inherited_members is iterable and "__init__" in config.inherited_members)) else class.members %}
|
|
151
|
+
{% if "__init__" in check_members and check_members["__init__"].has_docstring %}
|
|
152
|
+
{% with function = check_members["__init__"] %}
|
|
153
|
+
{% with obj = function, docstring_sections = function.docstring.parsed %}
|
|
154
|
+
{% include "docstring"|get_template with context %}
|
|
155
|
+
{% endwith %}
|
|
139
156
|
{% endwith %}
|
|
140
|
-
{%
|
|
141
|
-
{%
|
|
157
|
+
{% endif %}
|
|
158
|
+
{% endwith %}
|
|
142
159
|
{% endif %}
|
|
143
160
|
{% endblock docstring %}
|
|
144
161
|
|
|
@@ -157,8 +174,8 @@ Context:
|
|
|
157
174
|
-#}
|
|
158
175
|
{% if config.show_source %}
|
|
159
176
|
{% if config.merge_init_into_class %}
|
|
160
|
-
{% if "__init__" in
|
|
161
|
-
{% with init =
|
|
177
|
+
{% if "__init__" in all_members and all_members["__init__"].source %}
|
|
178
|
+
{% with init = all_members["__init__"] %}
|
|
162
179
|
<details class="quote">
|
|
163
180
|
<summary>Source code in <code>
|
|
164
181
|
{%- if init.relative_filepath.is_absolute() -%}
|
|
@@ -23,6 +23,6 @@ Context:
|
|
|
23
23
|
{% if section_type.value == "text" %}
|
|
24
24
|
{{ sub_section|convert_markdown(heading_level, html_id, autoref_hook=autoref_hook) }}
|
|
25
25
|
{% elif section_type.value == "examples" %}
|
|
26
|
-
{{ sub_section|highlight(language="pycon"
|
|
26
|
+
{{ sub_section|highlight(language="pycon") }}
|
|
27
27
|
{% endif %}
|
|
28
28
|
{% endfor %}
|