
minidocks/mkdocs
这是一个包含多种主题、插件和Markdown扩展的MkDocs Docker镜像,用于快速构建美观的静态项目文档,支持Markdown源文件和YAML配置,满足多样化文档需求。
让 AI 帮你使用轩辕镜像? · 展开查看说明 · 点击收起说明
如果你使用 DeepSeek、元宝 AI、Copilot、ChatGPT 等 AI 工具,协助配置轩辕镜像、编写 docker pull 命令、修改 Docker Compose 镜像地址、配置镜像加速、排查镜像拉取失败、分析报错日志等问题,请先让 AI 阅读并遵守轩辕镜像的规则文档。
只需在 AI 对话中先发送下面这句话即可:
请先完整阅读并严格遵守以下文档中的全部规则与要求:
https://xuanyuan.cloud/agents.md
在未充分阅读并理解该文档前,不要生成任何命令、配置、修改建议、故障排查方案或技术回答。后续所有输出都必须严格以该文档中的规范为最高优先级执行。查看 agents.md 用法指南与完整示范。国内用户首推 元宝 AI、DeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
MkDocs docker image (https://hub.docker.com/r/minidocks/mkdocs)
https://www.mkdocs.org/ is a fast, simple and downright gorgeous static site generator that’s geared towards building project documentation. Documentation source files are written in Markdown, and configured with a single YAML configuration file.
Installed extensions
Themes
- https://squidfunk.github.io/mkdocs-material/ usings Google’s Material Design guidelines.
- Alabaster theme is a visually (c)lean, responsive, configurable theme.
- https://kpn.github.io/mkdocs-kpn-theme/
Plugins
- https://github.com/sander76/mkdocs-abs-rel-plugin
- https://github.com/ignorantshr/mkdocs-add-number-plugin plugin to automatically number the headings (h1-h6) in each markdown page and the nav.
- https://github.com/midnightprioriem/mkdocs-autolinks-plugin/ simplifies relative linking between documents.
- https://github.com/mkdocstrings/autorefs automatically link across pages.
- https://github.com/lukasgeiter/mkdocs-awesome-pages-plugin allows you
to customize how your pages show up the navigation of your MkDocs without
having to configure the full structure in your
mkdocs.yml. - https://github.com/apenwarr/mkdocs-exclude allows you to exclude files from your input using unix-style wildcards (globs) or regular expressions (regexes).
- https://github.com/EddyLuten/mkdocs-categories-plugin allows for multiple categories per page and will generate a category index page
- https://smarie.github.io/mkdocs-gallery/
- https://oprypin.github.io/mkdocs-gen-files/ programmatically generates documentation pages during the build.
- https://github.com/timvink/mkdocs-git-authors-plugin
- https://github.com/ojacques/mkdocs-git-committers-plugin-2
- https://github.com/timvink/mkdocs-git-revision-date-localized-plugin
- https://github.com/ovasquez/mkdocs-merge allows you to merge the source of multiple MkDocs sites into a single one converting each of the specified sites to a sub-site of the master site.
- https://github.com/timvink/mkdocs-enumerate-headings-plugin will enumerate the headings (h1-h6) across site pages.
- https://github.com/stuebersystems/mkdocs-img2fig-plugin converts
<img>to<figure>. - https://github.com/AVATEAM-IT-SYSTEMHAUS/mkdocs-kroki-plugin
- https://oprypin.github.io/mkdocs-literate-nav/ specifies the navigation in Markdown instead of YAML.
- https://github.com/fralau/mkdocs_macros_plugin transforms the markdown pages into jinja2 templates that use variables, calls to macros and custom filters.
- https://github.com/rosscdh/mkdocs-markdownextradata-plugin injects the mkdocs.yml extra variables into the markdown template.
- https://github.com/byrnereese/mkdocs-minify-plugin to minify HTML and/or JS files prior to being written to disk.
- https://mkdocstrings.github.io/ automatic documentation from sources.
- https://github.com/pawelsikora/mkdocs-with-confluence/ Plugin for uploading markdown documentation to Confluence via Confluence REST API
- https://github.com/spotify/mkdocs-monorepo-plugin Build multiple documentation in a single Mkdocs. Designed for large codebases.
- https://github.com/jdoiro3/mkdocs-multirepo-plugin Build documentation in multiple repos into one site.
- https://github.com/shu307/mkdocs-nav-weight enables to organize navigation in a more markdownic way
- Neoterot plugins
- https://github.com/leonardehrenfried/mkdocs-no-sitemap-plugin disables the generation of a sitemap in Mkdocs sites.
- https://timvink.github.io/mkdocs-print-site-plugin/index.html
adds a page to your site combining all pages, allowing your site visitors to
File > Print > Save as PDFthe entire site. - https://mkusz.github.io/mkdocs-publisher/
- https://github.com/facelessuser/mkdocs_pymdownx_material_extras
- https://github.com/raimon49/mkdocs-safe-text-plugin for safe text editing with MKDocs.
- https://oprypin.github.io/mkdocs-same-dir/ allows placing mkdocs.yml in the same directory as documentation.
- https://github.com/aklajnert/mkdocs-simple-hooks to define your own hooks for mkdocs, without having to create a new package.
- Simple enables you to build a documentation site from markdown interspersed within your repository using mkdocs.
- https://blueswen.github.io/mkdocs-swagger-ui-tag/
- https://github.com/datarobot/mkdocs-redirects to create page redirects (e.g. for moved/renamed pages).
Only in 1-pdf and pdf tags
- https://github.com/zhaoterryy/mkdocs-pdf-export-plugin will
export all markdown pages in your project as PDF files using WeasyPrint. (only
in
pdfand1-pdftag) - https://github.com/orzih/mkdocs-with-pdf will generate a
single PDF file from MkDocs repository. (only in
pdfand1.0-pdftag)
Markdown extension
- https://github.com/vokimon/markdown-customblocks settles a common markup for parametrizable and nestable components.
- https://github.com/cmacmackin/markdown-include/ allows the inclusion of the contents of other Markdown documents.
- Pygments is a generic syntax highlighter.
- https://facelessuser.github.io/pymdown-extensions/ is a collection of extensions for Python Markdown.
- https://github.com/radude/mdx_truly_sane_lists that makes lists truly sane. Features custom indents for nested lists and fix for messy linebreaks and paragraphs between lists.
- https://github.com/adamb70/mdx-breakless-lists Use lists without requiring a line break above them.
Usage
Create a new documentation project in doc directory:
bashdocker run --rm -v "`pwd`:/app" -w /app minidocks/mkdocs new doc
Start documentation server in doc directory on port 8000 with material design
theme:
bashdocker run --rm -v "`pwd`:/app" -w /app/doc -p 8000:8000 minidocks/mkdocs serve -a 0.0.0.0:8000 -t material
Tags
| Tag | Size |
|---|---|
| latest, 1 | |
| 1 | |
| 1-pdf | |
Related images
- https://github.com/minidocks/sphinx-doc
Alternatives
- https://github.com/raspberryvalley/docker-mkdocs
- https://github.com/pozgo/docker-mkdocs
- https://github.com/squidfunk/mkdocs-material
Deployment & Usage Documentation
镜像拉取方式
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
DockerHub 原生拉取命令
更多 mkdocs 镜像推荐
polinux/mkdocs
bonzofenix/mkdocs
cfinfrastructure/mkdocs
thinkcube/mkdocs
tguentel/mkdocs
mirkoferrati/mkdocs
镜像拉取常见问题
功能
错误码
用户好评
来自真实用户的反馈,见证轩辕镜像的优质服务
