table-reader v3.0.0
What's Changed
table-readeris now compatible withmkdocs-macros-plugin, which means you can dynamically insert tables using jinja2 syntax.- The
base_pathoption has now been deprecated (and will log a warning when used). Now by default, the config_dir (path to yourmkdocs.ymlfile) and docs_dir (path to yourdocs/dir) will always be searched when looking for a table file path - The
search_page_directoryoption 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_pathandsearch_page_directoryfrom yourmkdocs.ymloptions.
# mkdocs.yml
plugins:
- - table-reader:
- base_path: docs_dir
- search_page_directory: True
+ - table-reader- In your
mkdocs.ymlfile, themacrosplugin should be defined before thetable-readerplugin (previously this was after)
# mkdocs.yml
plugins:
- - table-reader
- - macros
+ - macros
+ - table-readerFull Changelog: v2.2.2...v3.0.0