summaryrefslogtreecommitdiff
path: root/subplot-build
AgeCommit message (Collapse)AuthorFilesLines
2023-10-29chore: Update MSRV everywhere to 1.70Daniel Silverstone1-1/+1
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2023-08-27(release): Prepare 0.9.0 releaseDaniel Silverstone1-2/+2
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2023-06-14version: Update versions to 0.8.0Daniel Silverstone1-2/+2
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2023-05-18feat: export SubplotError from subplot-build crateLars Wirzenius1-1/+2
This will allow better error messages from projects' build.rs. Sponsored-by: author
2023-05-10feat! allow multiple markdown files for a subplotLars Wirzenius1-1/+3
Sponsored-by: author
2023-04-30chore: prepare release 0.7.1Lars Wirzenius1-2/+2
Sponsored-by: author
2023-04-10(release) Prepare 0.7.0 releaseDaniel Silverstone1-2/+2
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2023-04-10(chore): Update rust-version to 1.63 in all cratesDaniel Silverstone1-0/+1
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2023-04-10(chore): Update edition to 2021 across cratesDaniel Silverstone1-1/+1
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-11-13(release): Prepare 0.6.0 releaseDaniel Silverstone1-2/+2
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-09-13chore: prepare release 0.5.0Lars Wirzenius1-2/+2
The os_str_bytes crate dependency is kept at the 6.1.0 version so that we don't have to bump the MSRV version. Likewise, the time crate is kept at 0.3.9, and serde_yaml at 0.8.26. Sponsored-by: author
2022-09-06feat! read document metadata from a YAML fileLars Wirzenius1-0/+1
This is a huge change all in one commit, sorry. However, as it changes a fundamental part of the command line interface (namely, what constitutes as the input file), there doesn't seem a way to break this into a tidy series of small commits. Most of the diff is in subplot.md, where every scenario that invokes Subplot needs multiple changes, thus touching much of the file. The overall change is that where we previously had document metadata in embedded YAML in the Markdown file, we now have it in a separate YAML file. The Markdown file is named in the YAML file. We still parse the Markdown with Pandoc for everything, except codegen. Switching from Pandoc to pulldown_cmark for parsing will be another big change that I didn't want to include in this huge change set. Sponsored-by: author
2022-09-05(Cargo.toml): Fix homepage URL everywhereDaniel Silverstone1-1/+1
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
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