summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2022-11-13Merge branch 'release-0.6.0' into 'main'0.6.0Lars Wirzenius9-13/+33
Prepare the 0.6.0 release Closes #309 See merge request subplot/subplot!301
2022-11-13(release): Add 0.6.0-1 to d/chDaniel Silverstone1-0/+6
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-11-13(release): Prepare 0.6.0 releaseDaniel Silverstone6-11/+25
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-11-13(release): Use --allow-dirty otherwise cargo publish can't workDaniel Silverstone1-1/+1
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-11-13(book): Use true not /bin/true for portabilityDaniel Silverstone1-1/+1
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-11-13Merge branch 'liw/chore' into 'main'Daniel Silverstone6-90/+113
fix up some clippy lints, update dependencies See merge request subplot/subplot!300
2022-11-12chore: ran cargo updateLars Wirzenius1-86/+106
Sponsored-by: author
2022-11-12chore: disable a clippy lint in generated codeLars Wirzenius1-0/+1
Sponsored-by: author
2022-11-12chore: use type alias to make code slightly more easier to followLars Wirzenius1-1/+3
Found by clippy. Sponsored-by: author
2022-11-12chore: fix unnecessary borrows found by clippyLars Wirzenius3-3/+3
Sponsored-by: author
2022-11-09Merge branch 'liw/book' into 'main'Daniel Silverstone2-0/+76
docs: add placeholder for a user guide for Subplot Closes #291 See merge request subplot/subplot!299
2022-11-08docs: add placeholder for a user guide for SubplotLars Wirzenius2-0/+76
Sponsored-by: author
2022-11-01Merge branch 'liw/authors' into 'main'Daniel Silverstone6-10/+23
feat! subplot metadata field for authors Closes #239 See merge request subplot/subplot!298
2022-10-25feat! subplot metadata field for authorsLars Wirzenius6-10/+23
Rename the field "author", which takes a single string value, to "authors", which takes a list of strings. This way we're consistent for single- and multi-author documents. Sponsored-by: author
2022-10-24Merge branch 'refactoring' into 'main'Daniel Silverstone1-0/+8
docs: decision on refactoring See merge request subplot/subplot!297
2022-10-24docs: decision on refactoringLars Wirzenius1-0/+8
Sponsored-by: author
2022-10-22Merge branch 'docgen-template-not-always-needed' into 'main'Lars Wirzenius1-0/+34
(subplot.md): Add scenario about not needing a template for docgen Closes #306 See merge request subplot/subplot!296
2022-10-22Merge branch 'filepath-as-path' into 'main'Lars Wirzenius9-60/+170
(derive): Support steps with &Path arguments Closes #288 See merge request subplot/subplot!295
2022-10-22(subplot.md): Add scenario about not needing a template for docgenDaniel Silverstone1-0/+34
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-10-22(steplibrary): Update files and runcmd to use new path typeDaniel Silverstone6-57/+130
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-10-22(bindings): Add path type to bindings supportDaniel Silverstone1-0/+8
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-10-22(rust template): Support a 'path' arg type to pass PathBufs inDaniel Silverstone1-2/+3
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-10-22(derive): Support steps with &Path argumentsDaniel Silverstone1-1/+29
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-10-22Merge branch 'liw/pandoc-metadata' into 'main'Daniel Silverstone2-1/+61
feat: allow arbitrary Pandoc metadata in a .subplot Closes #246 See merge request subplot/subplot!294
2022-10-22xxxLars Wirzenius1-1/+0
Sponsored-by: author
2022-10-22xxxLars Wirzenius1-3/+0
Sponsored-by: author
2022-10-22feat: allow arbitrary Pandoc metadata in a .subplotLars Wirzenius3-1/+65
The "pandoc" key gets added to the metadata given to Pandoc as-is. Sponsored-by: author
2022-10-22Merge branch 'liw/relative' into 'main'Daniel Silverstone3-2/+21
fix running docgen on a subplot in a different directory See merge request subplot/subplot!293
2022-10-21fix: look up markdown file relative to basedir of subplotLars Wirzenius2-1/+9
This allows running docgen on a subplot that isn't in the current directory. Sponsored-by: author
2022-10-21fix: say for which file lookup of input file mtime failsLars Wirzenius2-1/+12
Sponsored-by: author
2022-10-18Merge branch 'liw/files-debug' into 'main'Daniel Silverstone1-0/+13
feat: have Rust lib/files steps for verifying file contents dump it Closes #299 See merge request subplot/subplot!292
2022-10-18feat: have Rust lib/files steps for verifying file contents dump itLars Wirzenius1-0/+13
When a step check that a file contents fulfills a requirement, write it to stdout if it doesn't. This helps debug failing scenarios. Sponsored-by: author
2022-10-09Merge branch 'chores' into 'main'Daniel Silverstone3-122/+102
MSRV bump, drop pretty_env_logger Closes #297 and #300 See merge request subplot/subplot!291
2022-10-09chore: update Cargo.lockLars Wirzenius1-120/+101
Sponsored-by: author
2022-10-09chore: drop unused pretty_env_logger from Cargo.tomlLars Wirzenius1-1/+0
Sponsored-by: author
2022-10-09chore: bump Rust version in .gitlab-ci.yml to 1.60Lars Wirzenius1-1/+1
Sponsored-by: author
2022-09-28Merge branch 'needs-build' into 'main'Daniel Silverstone2-4/+35
fix: include the subplot in the sources of the document See merge request subplot/subplot!290
2022-09-28fix: include the subplot in the sources of the documentLars Wirzenius2-4/+35
This means that if only the subplot is modified, docgen will rebuild the output. Sponsored-by: author
2022-09-15Merge branch 'release' into 'main'0.5.0Daniel Silverstone7-141/+142
chore: prepare release 0.5.0 See merge request subplot/subplot!289
2022-09-13chore: prepare release 0.5.0Lars Wirzenius7-141/+142
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-08Merge branch 'liw/yamlfile' into 'main'Daniel Silverstone17-348/+538
feat! read document metadata from a YAML file Closes #283 See merge request subplot/subplot!287
2022-09-06feat! read document metadata from a YAML fileLars Wirzenius17-348/+538
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-06Merge branch 'fix-homepage' into 'main'Lars Wirzenius4-4/+4
(Cargo.toml): Fix homepage URL everywhere Closes #290 See merge request subplot/subplot!288
2022-09-05(Cargo.toml): Fix homepage URL everywhereDaniel Silverstone4-4/+4
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-09-03Merge branch 'liw/refactor' into 'main'Daniel Silverstone10-152/+140
Refactoring ready for YAML-from-separate-file See merge request subplot/subplot!286
2022-09-03refactor: drop unnecessary single-line function used from one callerLars Wirzenius1-19/+10
Sponsored-by: author
2022-09-03refactor: AST only parses Markdown, YAML is extracted outside itLars Wirzenius2-25/+10
Sponsored-by: author
2022-09-03refactor: expose functionality to extract embedded YAML from mdLars Wirzenius2-54/+36
Sponsored-by: author
2022-09-03refactor: delay use of pandoc_ast::Map to as late as possibleLars Wirzenius1-8/+6
Use YamlMetadata instead. I find this to be clearer and that it reduces the coupling with pandoc_ast a little. This should help us when we implement document metadata in a separate YAML file instead of embedding it in the Markdown. Sponsored-by: author
2022-09-03refactor: make long function a little more readable with empty linesLars Wirzenius1-0/+10
Sponsored-by: author