Skip to main content

A GitHub Action handler for mkdocstrings

Project description

mkdocstrings-github

A GitHub Actions handler for mkdocstrings.

Qualify documentation pypi version codecov

For example, the following page is generated from actions/checkout:

Fallback image description

You can install the GitHub handler by specifying it as a dependency:

# PEP 621 dependencies declaration
# adapt to your dependencies manager
[project]
dependencies = [
    "mkdocstrings-github",
]

after which the generated documentation can be inserted in the markdown page with:

::: <path-to-action-or-workflow>
    handler: github

Features

  • 📝 Automatic Example Signature: Displays an example call signature alongside the description. The version shown can be the latest release, latest major, current reference, or any custom string.
  • Enhanced Markdown Descriptions: All description elements are parsed using a markdown parser, enabling comprehensive formatting and rich documentation capabilities.
  • 🧩 Individual Parameter Hyperlinks: Each action or workflow parameter—including inputs, outputs, and secrets—receives a unique HTML id, facilitating direct linking to specific parameter documentation.
  • 🔒 Automated Permission Aggregation: For reusable workflows, if permissions are specified at the job level rather than the workflow level, the required final permissions are automatically determined and displayed in the signature.
  • 🔗 Parameter cross-linking: Link to other parameters of the action or workflow via a simple Markdown syntax.
  • 🧑‍🤝‍🧑 Parameter grouping: Organize related inputs, outputs, and secrets into visual groups using inline YAML comments for clearer documentation structure.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mkdocstrings_github-0.7.2.tar.gz (861.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mkdocstrings_github-0.7.2-py3-none-any.whl (22.6 kB view details)

Uploaded Python 3

File details

Details for the file mkdocstrings_github-0.7.2.tar.gz.

File metadata

  • Download URL: mkdocstrings_github-0.7.2.tar.gz
  • Upload date:
  • Size: 861.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for mkdocstrings_github-0.7.2.tar.gz
Algorithm Hash digest
SHA256 08f17e4f76fec0bf123b6d3a9a13cc837c9f26fb53fa6dfcbc2135c4f5adf676
MD5 91cf321122fc412e73fe9c90021090fd
BLAKE2b-256 b4cec22fb64107d543e29d9330a3196dfa8d1cc7f1070e1410d68b2f1a3de8dd

See more details on using hashes here.

File details

Details for the file mkdocstrings_github-0.7.2-py3-none-any.whl.

File metadata

  • Download URL: mkdocstrings_github-0.7.2-py3-none-any.whl
  • Upload date:
  • Size: 22.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for mkdocstrings_github-0.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fbc08fa909e6704e95c14cc2cef75e0416390f911d5e8bbb7f8ff9d03ce06b16
MD5 e86362bd1c7fd2b6e4685e2a25c4fd6e
BLAKE2b-256 847ae3646bede541f872ca4065d2b4b3a352228e8fd43c7688818761f54d68bb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page