Archived
This project has been archived by its maintainers, and is no longer receiving any updates.
Warning: Deprecated
mkdocs-yampis deprecated and is no longer maintained. No further updates are planned. Avoid using this plugin for new projects.
Yet Another Multirepo Plugin
This plugin allows users to define external repositories for integration into the MkDocs site.
Declared repositories are added to a subdirectory within your docs directory.
Users can then reference files within those repositories from their own navigation.
Config
plugins:
- yamp:
# directory within docs dir to add content
temp_dir: "repos"
# delete docs/{temp_dir} after build||serve?
# default: true
cleanup: true
# delete docs/{temp_dir} at the beginning of the
# mkdocs invocation.
start_fresh: true
# declare a list of repositories or directories to add
# to docs/{temp_dir}
# default: []
repos:
# the git repository URL to clone
- url: "https://github.com/some-user/some-repo"
# a list of globs to checkout
# if empty or not provided, the entire repository is cloned
# default: [ ]
include: [ "README.md", "docs/index.md"]
# the branch of the repository to clone
branch: "main"
# alternatively, you can provide a path.
# a symlink will be created within docs/{temp_dir}
- path: "../some-other-directory"
Example Usage
plugins:
- search: {}
- yamp:
repos:
- url: https://github.com/steven-terrana/mkdocs-b
branch: develop
- url: https://github.com/steven-terrana/mkdocs-a
# Page Tree
nav:
- Home:
- index.md
- repos/local-dir/README.md
- Concepts:
- concepts/index.md
- repos/mkdocs-b/README.md
- repos/mkdocs-a/docs/concepts/concept.md
Metadata
Release files for mkdocs-yamp 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mkdocs_yamp-0.1.3.tar.gz | 7.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mkdocs_yamp-0.1.3-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 17.4 kB
Release files / mkdocs_yamp-0.1.3.tar.gz
| Download URL | mkdocs_yamp-0.1.3.tar.gz |
|---|---|
| Size | 7.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7a19f685d3611f6f3f04bdf1419b19eb0f708896470633808053ae8bae71f715
|
|
BLAKE2b-256 checksum How to use checksums |
92badab707bbc45d0ded08bc668d515909472ef072389bc1d4d0da98c938c793
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|
Release files / mkdocs_yamp-0.1.3-py2.py3-none-any.whl
| Download URL | mkdocs_yamp-0.1.3-py2.py3-none-any.whl |
|---|---|
| Size | 9.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
1aada9a8ed1dd9e536d65aade177607ea2f4a10466976ede4300b146ffd88d71
|
|
BLAKE2b-256 checksum How to use checksums |
b023c93d275b79d0a915cf448f6b28cbb67f31037e13469e3b2850a011c6b8a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|