跳转到主要内容

mkdocstrings的shell脚本/库处理器。

项目描述

mkdocstrings-shell

documentation gitpod gitter

mkdocstrings的shell脚本/库处理器。它使用Shellman从shell脚本中收集文档。

安装

此项目仅对赞助商可用,通过我的Insiders计划。请参阅Insiders 说明安装说明

配置

在MkDocs配置文件中

plugins:
- mkdocstrings:
    default_handler: shell  # optional

该处理器目前不提供任何选项。

用法

使用mkdocstrings语法为脚本注入文档

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

如果您在mkdocs.yml中将shell声明为默认处理器,则指定handler: shell是可选的。

项目详情


下载文件

下载您平台对应的文件。如果您不确定选择哪个,请了解有关安装包的更多信息。

源代码发行版

mkdocstrings_shell-0.0.1.tar.gz (6.3 kB 查看哈希值)

上传于 源代码

构建发行版

mkdocstrings_shell-0.0.1-py3-none-any.whl (6.2 kB 查看哈希值)

上传于 Python 3

由支持

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF 赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误记录 StatusPage StatusPage 状态页面