Closed CrispyDrone closed 3 years ago
Hi,
my thoughts are the following:
Since the plugin is following semantic versioning:
env.variables
I am new to python development and was unsure how to test this properly. What I did was:
# in the root of the repository
pip install -e .
# change directory to my new folder containing test files
cd test/built-in-macros/
# start mkdocs
mkdocs serve
Is there a way to do some form of unit testing perhaps? Or am I doing this in the completely wrong way?
Thanks :)
See explanation and background in #87.
When defining a macro, also define it in the
variables
property if the no macro with that name has been defined yet.This ensures backwards compatible behavior with previous versions that included built-in macros in the
variables
property.Issue #87