summaryrefslogtreecommitdiff
path: root/subplot-build
AgeCommit message (Collapse)AuthorFilesLines
2022-07-29fix: prepare new release to bump dependency on roadmapLars Wirzenius1-2/+2
roadmap version 0.4.4 is needed to not drag in structopt. The old version of 0.4 wasn't enough. Sponsored-by: author
2022-07-28chore: prepare release 0.4.2 of all cratesLars Wirzenius1-2/+2
Sponsored-by: author
2022-05-05refactor: drop the subplot::Result type aliasLars Wirzenius1-2/+2
Replace subplot::Result<T> with Result<T, SubplotError>. I find this now to be clearer, as I don't need to remind myself which Result is being used where. This should not be a breaking change. Sponsored-by: author
2022-04-15(chore): Update everything to 0.4.0Daniel Silverstone1-2/+2
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-11-19various: Rework document to support multiple implementationsDaniel Silverstone1-5/+10
In order to eventually shift the document metadata to support more than one template defined for the document this reworks all the internal APIs to expect templates, and also the external CLI to be able to provide it. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-11-16chore: update crate versionsLars Wirzenius1-1/+1
Sponsored-by: author
2021-11-10chore: change licence to MIT-0Lars Wirzenius1-1/+1
We've decided to simplify the Subplot licensing situation by changing the licence to MIT-0 from the GPL. See https://gitlab.com/subplot/subplot/-/issues/229 for agreements from everyone involved. Sponsored-by: author
2021-10-21chore: update version numbers for cratesLars Wirzenius1-1/+1
Sponsored-by: author
2021-10-13feat: add crate subplot-build for using Subplot from build.rsLars Wirzenius2-0/+102
Make it easy to generate test code from a subplot in another project's `build.rs` script. Move the code to load documents and generate test code from src/bin/subplot.rs and src/bin/cli/mod.rs to src/doc.rs so it can be used without using the subplot executable. Make the add_search_path function public so it can be used outside its module. The subplot executable arranged for the directory where the markdown input file resides to be added to the search path via another way. Sponsored-by: pep.foundation