Releases: mondeja/mkdocs-include-markdown-plugin
Releases · mondeja/mkdocs-include-markdown-plugin
v6.0.5
Bug fixes
- Fixed default setting
heading_offsetnot being applied.
v6.0.4
v6.0.3
Enhancements
- Add
mkdocs>=1.4as dependency.
v6.0.2
Enhancements
- Dropped Python upper version requirement bound.
v6.0.1
v6.0.0
⚠️ Breaking changes
- Inclusion and exclusion relative paths and globs must start with
./or../. Non-explicit relative paths (likefoo/bar.md) will be treated as relative todocs_dir(typically the docs/ directory). To migrate just prepend./in all your implicit relative paths and globs.- {% include-markdown "foo/bar.md" %} + {% include-markdown "./foo/bar.md" %} - {% include-markdown "foo/*.md" %} + {% include-markdown "./foo/*.md" %}
excludeconfiguration setting added in v5.1.0 is not treated more as a default value for theexcludeargument. Now accepts an array that defines multiple global exclusion patterns that will extend theexcludeargument pattern matches. Relative paths used by theexcludeglobal setting will be treated as relatives todocs_dir.
New features
- Includer and excluder globs now accept Bash-style wildcard patterns, allowing more flexible inclusions and exclusions, for example:
{% include-markdown "**" exclude="./{index,LICENSE}.md" %}
- Allow to define paths and globs relative to docs/ directory for inclusions and exclusions with implicit relative paths like
foo/bar.mdorindex.md.
Enhancements
- Raise
PluginErrors instead ofBuildErrors as recommended by Mkdocs.
v5.1.0
New features
The next default values for arguments can be defined as settings:
startendexcludeheading_offsetrewrite_relative_urls
Bug fixes
- Fixed error getting content from cache.
- Fixed detection of invalid
heading-offsetvalues.
Improvements
- Improved invalid values detection of boolean and integer arguments.
v5.0.0
⚠️ Breaking changes
- Drop Python 3.7 support.
- Drop Mkdocs < 1.4.0 support.
Enhancements
- Add support for Python 3.12.
New features
- Files to include can be now be URLs to include remote content.
- Added
cacheextra and setting to control HTTP requests persistent file caching.
Bug fixes
- Fix errors not producing a non zero exitcode when building.
v4.0.4
Bug fixes:
- Fixed error using livereload server with Mkdocs < 1.4.0
v4.0.3
Enhancements:
- Added some performance improvements.