Metadata-Version: 2.4
Name: mkdocstrings-shell
Version: 1.0.3
Summary: A shell scripts/libraries handler for mkdocstrings.
Author-Email: =?utf-8?q?Timoth=C3=A9e_Mazzucotelli?= <dev@pawamoy.fr>
License-Expression: ISC
License-File: LICENSE
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Documentation
Classifier: Topic :: Software Development
Classifier: Topic :: Utilities
Classifier: Typing :: Typed
Project-URL: Homepage, https://mkdocstrings.github.io/shell
Project-URL: Documentation, https://mkdocstrings.github.io/shell
Project-URL: Changelog, https://mkdocstrings.github.io/shell/changelog
Project-URL: Repository, https://github.com/mkdocstrings/shell
Project-URL: Issues, https://github.com/mkdocstrings/shell/issues
Project-URL: Discussions, https://github.com/mkdocstrings/shell/discussions
Project-URL: Gitter, https://gitter.im/mkdocstrings/shell
Project-URL: Funding, https://github.com/sponsors/pawamoy
Requires-Python: >=3.9
Requires-Dist: mkdocstrings>=0.28.3
Requires-Dist: shellman>=1.0.2
Description-Content-Type: text/markdown

# mkdocstrings-shell

[![ci](https://github.com/mkdocstrings/shell/workflows/ci/badge.svg)](https://github.com/mkdocstrings/shell/actions?query=workflow%3Aci)
[![documentation](https://img.shields.io/badge/docs-mkdocs-708FCC.svg?style=flat)](https://mkdocstrings.github.io/shell/)
[![pypi version](https://img.shields.io/pypi/v/mkdocstrings-shell.svg)](https://pypi.org/project/mkdocstrings-shell/)
[![gitter](https://badges.gitter.im/join%20chat.svg)](https://app.gitter.im/#/room/#shell:gitter.im)

A shell scripts/libraries handler for mkdocstrings.
It uses [Shellman](https://github.com/pawamoy/shellman)
to collect documentation from shell scripts.

## Installation

```bash
pip install mkdocstrings-shell
```

## Configuration

In MkDocs configuration file:

```yaml title="mkdocs.yml"
plugins:
- mkdocstrings:
    default_handler: shell  # optional
```

The handler does not offer any option yet.

## Usage

Use *mkdocstrings* syntax to inject documentation for a script:

```md
::: relative/path/to/script
    handler: shell  
```

Specifying `handler: shell` is optional if you declared `shell`
as default handler in mkdocs.yml.
