fralau / mkdocs-macros-plugin

Create richer and more beautiful pages in MkDocs, by using variables and calls to macros in the markdown code.
https://mkdocs-macros-plugin.readthedocs.io
Other
335 stars 51 forks source link

allow loading yaml files into a specified key #97

Closed akhmerov closed 3 years ago

akhmerov commented 3 years ago

Closes #96

So far this is a demo of a possible solution, if this is desirable, I'll update the docs and the tests.

fralau commented 3 years ago

Sounds good.

Please add comments to explain the new use case in the config file, and what the code does.

akhmerov commented 3 years ago

Should be good to go, I've edited all the places where include_yaml occurs in codebase.

fralau commented 3 years ago

Thanks for the great contribution (and for updating the doc)!

akhmerov commented 3 years ago

Awesome! A quick question: do you have a timeline for the next release? Otherwise I can install from master, but pinning is nicer.

fralau commented 3 years ago

No formal timeline at the moment, but I can release a new tagged version on github in short order.

It will take a little time before I push it to pypi, since this new function should be tested more extensively, so that we are sure that it integrates well into the current ecosystem.