Publishing plugins for MkDocs
Project description
date: 2023-02-28 12:30:18 update: 2023-06-12 23:52:23
Publisher plugin for MkDocs
Publishing platform plugins for MkDocs that include:
pub-blog
– adds blogging capability,pub-social
– creates social cards for social media sharing using document metadata,pub-obsidian
- bindings for Obsidina.md that allows you to use:- wikilinks,
- backlinks,
- callouts,
- vega-charts (plugin),
pub-minifier
– file size optimization (good for SEO and overall page size optimization),pub-meta
- support for documentation metadata (slug, dates, publication status, directories publication status, automatic navigation building, etc.).
Installation
pip install mkdocs-publisher
Basic usage
Note As a base for any development, mkdocs-material theme was used. If you are willing to use any other theme, you may (or may not) face some issues. If this happens, please submit an issue.
Warning Consider this plugin as a beta, so before any use make sure you have a backup of your data.
If you have found any issue, have an idea for a feature, please submit an issue.
Features
List of included features (more documentation is needed):
- automatic blog post index page generation with blog post teasers based on delimiter inside a blog post and own template (delimiter can be changed in plugin config in
mkdocs.yaml
), - blog post/page update date based on blog post metadata,
- separate directory for blog post documents with auto-generated separate navigation (blog posts are sorted from newest to oldest based on blog post metadata),
- home page set to blog post index with possibility to rename,
- auto-adding link to full blog post from blog post index file (under each post that has teaser delimiter, if delimiter is not present, then full post is inside post index file, but is preserved in blog post navigation and site map),
- added sub-pages for blog posts: archive, categories, tags,
- minification plugin for graphics and documentation files,
- social cards metadata injection based on document metadata (no need to edit any template).
How To
More detailed information on how to set up, configure and write a blog posts and/or documentation can be found in documentation .
Planned features
A full list of planned developments can be found on this documentation page. I'm planning to move it to the project GitHub issues with proper badges and longer descriptions, but it's time-consuming and at this stage I'd rather spend it to develop a project.
Version history
This section becomes too big and hard to navigate. Also it's harder to maintain the same changelog in 2 places. The entire version history can be found in the project version history document and on inside project GitHub releases.
Project details
Release history Release notifications | RSS feed
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
Hashes for mkdocs_publisher-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b781d78b209f5cd81544ea7259b26db606f5e9652265034ae59a16672cae62b |
|
MD5 | 146876bccc060291da15713424cf9a07 |
|
BLAKE2b-256 | 13b0742709478c75861a81d03bbc6d60739009683747a622c86ac0d80ce5fcc2 |