neat tool! It really ease the generation of documentation on my project ; however, I'm missing one feature: injecting somewhat my project current commit hash (or tag) into the document.
To work around this my current workflow is:
- call
git describe --tags to obtain a description of the current commit
- call
sed on my markdown files to replace {{version}} with the description of the current commit
- call
mdtogh
- revert the markdown files
It would be nice to let mdtogh handle such replacements. Maybe by introducing a command line option:
mdtogh --replace {{version}} v1.2.3 some_file.md
I'd like your view on such a feature before producing any code
neat tool! It really ease the generation of documentation on my project ; however, I'm missing one feature: injecting somewhat my project current commit hash (or tag) into the document.
To work around this my current workflow is:
git describe --tagsto obtain a description of the current commitsedon my markdown files to replace{{version}}with the description of the current commitmdtoghIt would be nice to let mdtogh handle such replacements. Maybe by introducing a command line option:
I'd like your view on such a feature before producing any code