Skip to content

Releases: mkusz/mkdocs-publisher

v1.3.1

21 Apr 16:17
9159139
Compare
Choose a tag to compare

Meta

  • ✅ hidden pages not being hidden when in a hidden directory
  • ✅ missing title warning display when file is an overview
  • ✅ links normalization
  • ✅ cross plugins errors when one of the plugins is disabled

Note

❎ - added ✅ - fixed ♻️ - changed 🚫 - removed

v1.3.0

18 Apr 14:08
4f8c351
Compare
Choose a tag to compare

General

  • ❎ added internal ConfigChoicesEnum class for defining config choices
  • ❎ added code coverage badge with current coverage % value
  • ✅ documentation fixes #61
  • ✅ ruff linter settings
  • ♻️ isort has been replaced with ruff
  • ♻️ assert in unit tests changed to pytest-check to use soft assertion functionality

Meta

  • ❎ adding an overview functionality overview
  • ❎ slug auto generation if missing in file meta-data (#63)
  • ♻️ plugin rewrite + add unitttest

Obsidian

  • ✅ fix for backlinks destroying links additional attributes like title and anchor
  • ♻️ some code simplification and cleanup because of meta plugin rewrite

Debugger

  • ❎ live reload time stamp removed from log message when show_entry_time setting is enabled (it's default value)
  • ❎ adding possibility to remove deprecation warnings when show_deprecation_warnings setting is disabled (it's default value)

Note

❎ - added ✅ - fixed ♻️ - changed 🚫 - removed

v1.2.0

17 Oct 17:16
29dff65
Compare
Choose a tag to compare

Obsidian

  • ❎ support for comments syntax (issue #46)
  • ✅ links for file names with space (issue #55)

Minifier

  • ❎ setting for file extensions
  • ❎ setting for file exclusion (issue #51)
  • ❎ setting for enabling cache (issue #52)
  • ✅ extensions are no longer case-sensitive
  • ✅ minified file detection is no longer case-sensitive

Note

❎ - added ✅ - fixed ♻️ - changed 🚫 - removed

v1.1.1

10 Oct 12:18
03184f3
Compare
Choose a tag to compare

General

  • ❎ license info added to all project files
  • ❎ code coverage
  • ❎ unit test to part of the code (journey begins)
  • ♻️️ flake8 linter has been replaced with ruff
  • ♻️️ internal code refactoring and simplifications
  • ♻️️ project dependencies has been separated into 3 groups: general, test and dev
  • ♻️️ main project dependencies has been updated:
    • mkdocs >= 1.5.3
    • mkdocs-material >= 9.4.3

Blog

  • ✅ relative links are fixed
  • ✅ metadata key status collision with Material for MkDocs (>= 9.20) solved by renaming to publish (the same value as in Obsidian.md)
  • temp_dir default value changed to .pub_blog_temp

Meta

Minifier

  • cache_dir default value changed to .pub_min_cache

#Obsidian

  • ✅ links and wiki links are fixed

Debugger

  • ✅ configuration warnings are now captured and can be part of the log file and new console log look & feel

Note

❎ - added ✅ - fixed ♻️️ - changed 🚫 - removed

v1.1.0

01 Sep 12:14
a25d1ec
Compare
Choose a tag to compare

General

  • ♻️ rename of directory with documentation files
  • ♻️ Python libraries update
  • ♻️ project naming unification
  • ♻️ pre-commit JSON check and obsidian file exclusion
  • ♻️ some links updates in documentation
  • ♻️ code type hinting updates
  • ♻️ logger names unification - it's related to pub-debugger plugin
  • ♻️ code refactor and cleanup
  • 🚫 drop python-frontmatter from Python libraries

Blog

  • ✅ minor fix for internal linking (still not full solution)
  • ✅ deprecated warning regarding importlib.resources

Minifier

  • ♻️ small code reformat related to shared library changes
  • ♻️ files are not minified when using mkdocs serve (this is default behavior, but it can be changed)

Meta

  • ❎ possibility to declare whole directory as hidden
  • ❎ more logging messages
  • ❎ better support for pub-obsidian plugin (template and obsidian directory are now always drafts)
  • ✅ error with reading README.md when no empty line at the end of file
  • ✅ adding again the same directory to draft directories when using mkdocs serve

Obsidian

  • ✅ minor fix for internal linking (still not full fix)
  • ✅ fix for preserving new line in callouts

Debugger (new plugin)

  • ❎ console log reformatting with configuration
  • ❎ logging into *.log file with configuration
  • ❎ added old log file replacement
  • ❎ ZIP file creation with log output and some additional files

Note

❎ - added ✅ - fixed ♻️️ - changed 🚫 - removed

v1.0.0

13 Jun 10:24
8cf3252
Compare
Choose a tag to compare

General

  • ❎ internal class for HTML modifications
  • ❎ project logo
  • ♻️ project license to MIT
  • ♻️ project README.md cleanup
  • ♻️ internal method for importing other plugin config (needed for cross functionalities)

Auto-nav (plugin removed)

The whole functionality of this plugin has been moved to a new Meta plugin.

Blog

  • ❎ exclude from search blog posts teaser/index, category, tag or archive pages
  • ❎ post publication state (provided by Meta plugin)
  • ✅ internal links for blog posts teaser/index, category, tag or archive pages
  • 🚫 removed edit_url for blog teaser/index, category, tag or archive pages
  • ♻️ automatic detection of the blog as starting page (config value for this setting was removed)

Social

  • ♻️ code refactor of HTML modification elements and logging added

Meta (new plugin)

This plugin is a Swiss army knife that helps a lot with various tasks related to publication, SEO, etc. Take a look at the below changelog to see what is offered by this plugin.

  • ❎ build navigation based on file names order
  • ❎ set multiple document parameters by using its metadata:
    • title - document title
    • slug- URL of the document
    • status - document publication status (published, hidden, draft)
    • date - document creation date
    • update - document last update date (used for sitemap and SEO optimizations)
  • ❎ directory metadata and additional settings can be set in a frontmatter of *.md file (default to README.md):
    • possibility to define slug(this affects only the directory where README.md is placed)
    • possibility to define skip_dir(this affects only the directory and all subdirectories where the file is located)
    • possibility to define hidden_dir(this affects only the directory and all subdirectories where the file is located)

Obsidian (new plugin)

This plugin is a set of functionalities and should be split into various smaller plugins, but due to some cross functionalities, it has been integrated into the bigger one. Each sub plugin can be controlled separately, so if you don't need all the functionalities, you can just disable them or simply do not enable one that are disabled by default.

General

  • ❎ server watch can omit .obsidian directory that needs to be a part of the documentation directory that is automatically added into watch and causes server reload on (almost) any interaction with obsidian (changing settings etc.)

Links

  • ❎ support for wiki links format for images and internal links
  • ❎ configurable image lazy loading option (SEO optimization)
  • ❎ documents and images file path solver (it doesn't affect documentation, but it's required by MkDocs for proper links generation)

Callouts

  • ❎ mapping of all Obsidian callouts into Markdown admonitions

Backlinks

  • ❎ auto-generation of backlinks for all internal documents (visible as a custom admonition at the bottom of the page)
  • ❎ backlinks are not generated for blog temporary files like post indexes, archive, tags and categories
  • ❎ backlinks are grouped per page like in Obsidian (if more than one link is pointing from one page to another, all context links will be visible)

Charts


Note

❎ - added ✅ - fixed ♻️️ - changed 🚫 - removed

v0.5.0

04 Apr 21:25
770868a
Compare
Choose a tag to compare

Blog:

  • ❎ index blog post title is now a link to a post

Social (new plugin):

  • ❎ automatic addition of open graph tags directly into HTML code (no template modification is needed) based on document meta
  • ❎ automatic addition of twitter tags directly into HTML code (no template modification is needed) based on document meta

Note

❎ - added ✅ - fixed ♻️️ - changed 🚫 - removed

v0.4.1 (#13)

28 Mar 15:57
4375e8b
Compare
Choose a tag to compare

General:

  • ✅ links in documentation
  • ✅ imports of libraries
  • ✅ badges links + new added

Note

❎ - added ✅ - fixed ♻️️ - changed 🚫 - removed

v0.4.0

28 Mar 10:03
f8fcdad
Compare
Choose a tag to compare

General:

  • ♻️️ project rename
  • ❎ cross configuration of blog and auto-nav plugins:
    • blog does not add auto-nav meta files
    • auto-nav automatically adds blog directory to skipped directories since it will be built by blog
    • if one of the plugins is not enabled, other is not using its values
  • ❎ documentation

Blog:

  • ❎ possibility to choose a blog as a starting page with option to define manually blog in nav configuration
  • slug config option for setting an entire blog's main directory URL
  • ♻️️ internal file structure refactor with new global plugin config (BlogConfig class) that will help with further development with small fixes and improvements
  • ♻️️ blog subdirectory navigation creation (entry path needs to be equal to subdirectory name)
  • ✅ live reload infinite loop during serve caused by temporary files created and removed in blog directory
  • ✅ navigation is no longer overridden by a blog (if there is no other nav, blog will create on with recent posts as a main page)

Minifier (new plugin):

  • ❎ PNG image minifier (using: pngquant and oxipng)
  • ❎ JPG image minifier (using: mozjpeg)
  • ❎ SVG image minifier (using: svgo)
  • ❎ HTML file minifier (using: html-minifier)
  • ❎ CSS file minifier (using: postcss with plugins: cssnano, svgo)
  • ❎ JS file minifier (using: uglifyjs)

Auto-nav (new plugin):

  • ❎ build navigation based on file names
  • ❎ directory metadata and additional settings can be set in a frontmatter of *.md file (default to README.md)
  • ❎ configuration of sort prefix delimiter
  • ❎ sort prefix removal in URL and site files
  • ❎ read file title from title meta data key

Note

❎ - added ✅ - fixed ♻️️ - changed 🚫 - removed

v0.3.0

20 Feb 14:43
f5874e7
Compare
Choose a tag to compare

Changelog:

  • ✅ wrong directory structure in site-packages after install

Note

❎ - added ✅ - fixed ♻️️ - changed 🚫 - removed