A Sh handler for mkdocstrings.
Project description
mkdocstrings-sh
A Sh handler for mkdocstrings.
This is a project unrelated to mkdocstrings-shell project. Naming it mkdocstrings-sh causes confusion with mkdocstrings-shell. I do not intent to compete with the project. Just my documentation goals are different then mkdocstrings-shell. The features and style by mkdocstrings-shell were not in line with what I wanted. I decided to write my own library. This is the result.
See the generated mkdocs pages in github pages for documentation. https://kamilcuk.github.io/mkdocstrings-sh/
See examples/ page in github pages. There are examples with all the syntax and reference of the available tags.
Installation
pip install mkdocstrings-sh
Usage:
With the following header file:
--8<-- "docs/examples/readme.sh"
Generate docs for this file with this instruction in one of your Markdown page:
::: path/to/script
This will generate the following HTML:
::: docs/examples/readme.sh
Single entity
It is also possible to generate only a specific function, variable or a section of the file by passing additional arguments to :::. The third argument specifies the entity type. The second argument specifies the name of the function or variable or section to gneerate documeanttion for.
::: docs/examples/readme.sh function_name function
::: docs/examples/readme.sh variable_name variable
::: docs/examples/readme.sh section_name section
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mkdocstrings_sh-0.0.4.tar.gz.
File metadata
- Download URL: mkdocstrings_sh-0.0.4.tar.gz
- Upload date:
- Size: 43.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
02a8dd09502628936e280f4a4c7f18ef0fb66342ead099bd12d8c03343e2dd4a
|
|
| MD5 |
94da7ac0866fc6b548a6268c918e2466
|
|
| BLAKE2b-256 |
2689d7fe2815d945430d9219ed69b921ae7a98651826e4fcee9ece32e5de420f
|
Provenance
The following attestation bundles were made for mkdocstrings_sh-0.0.4.tar.gz:
Publisher:
release.yml on Kamilcuk/mkdocstrings-sh
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mkdocstrings_sh-0.0.4.tar.gz -
Subject digest:
02a8dd09502628936e280f4a4c7f18ef0fb66342ead099bd12d8c03343e2dd4a - Sigstore transparency entry: 597924595
- Sigstore integration time:
-
Permalink:
Kamilcuk/mkdocstrings-sh@acd4faaff501f7e41773726b9d2cf3594977fd4b -
Branch / Tag:
refs/tags/v0.0.4 - Owner: https://github.com/Kamilcuk
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@acd4faaff501f7e41773726b9d2cf3594977fd4b -
Trigger Event:
push
-
Statement type:
File details
Details for the file mkdocstrings_sh-0.0.4-py3-none-any.whl.
File metadata
- Download URL: mkdocstrings_sh-0.0.4-py3-none-any.whl
- Upload date:
- Size: 18.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9da24c0072dd85487715693d89654d60b1bb8b734c34824b238b933bce96ef6b
|
|
| MD5 |
8e7177b0c4b59f68c3d35f5da2b73daf
|
|
| BLAKE2b-256 |
664cfa0560a4dbbfc852bfba952ab538dbe585f213479a35bd094cdf576854ac
|
Provenance
The following attestation bundles were made for mkdocstrings_sh-0.0.4-py3-none-any.whl:
Publisher:
release.yml on Kamilcuk/mkdocstrings-sh
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mkdocstrings_sh-0.0.4-py3-none-any.whl -
Subject digest:
9da24c0072dd85487715693d89654d60b1bb8b734c34824b238b933bce96ef6b - Sigstore transparency entry: 597924606
- Sigstore integration time:
-
Permalink:
Kamilcuk/mkdocstrings-sh@acd4faaff501f7e41773726b9d2cf3594977fd4b -
Branch / Tag:
refs/tags/v0.0.4 - Owner: https://github.com/Kamilcuk
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@acd4faaff501f7e41773726b9d2cf3594977fd4b -
Trigger Event:
push
-
Statement type: