This PR adds a program that uses docify to selectively add snippets to markdown files. These snippets can be fixed at a certain hash per repo. This is most likely to be run as a CI tool at some point every so often, or simply manually run once there is a new release of polkadot-sdk
See issue #143
Parses the file path and file name from any .md files.
Downloads those snippets and emulates the correct directories for all docify needs
Docify's compile_markdown! is run on all affected files, and derives snippets from each downloaded file
Emulated directories are deleted and cleaned up
This script is a bit rough, but is getting the job done so far ;)
This PR adds a program that uses docify to selectively add snippets to markdown files. These snippets can be fixed at a certain hash per repo. This is most likely to be run as a CI tool at some point every so often, or simply manually run once there is a new release of polkadot-sdk
See issue #143
.md
files.compile_markdown!
is run on all affected files, and derives snippets from each downloaded fileThis script is a bit rough, but is getting the job done so far ;)