Skip to content

table-reader v3.0.0

Compare
Choose a tag to compare
@timvink timvink released this 15 Aug 12:16
· 16 commits to master since this release
9f6b419

What's Changed

  • table-reader is now compatible with mkdocs-macros-plugin, which means you can dynamically insert tables using jinja2 syntax.
  • The base_path option has now been deprecated (and will log a warning when used). Now by default, the config_dir (path to your mkdocs.yml file) and docs_dir (path to your docs/ dir) will always be searched when looking for a table file path
  • The search_page_directory option has now been deprecated (and will log a warning when used). The markdown page's source file directory will always be searched when looking for a table file.

Breaking changes / upgrading guide

  • Remove base_path and search_page_directory from your mkdocs.yml options.
# mkdocs.yml
plugins:
-    - table-reader:
-        base_path: docs_dir
-        search_page_directory: True
+    - table-reader
  • In your mkdocs.yml file, the macros plugin should be defined before the table-reader plugin (previously this was after)
# mkdocs.yml
plugins:
-    - table-reader
-    - macros
+    - macros
+    - table-reader

Full Changelog: v2.2.2...v3.0.0