Age | Commit message (Collapse) | Author | Files | Lines |
|
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
|
|
|
|
This means they actually work, oops. Fix markup problem in echo.md.
This change should mean that the rendered HTML for the example
subplots gets published on doc.subplot.tech.
Sponsored-by: author
|
|
We may add this back later, but for now, it's not wanted.
Sponsored-by: author
|
|
Change this:
format!("{}", foo)
into this:
format!("{foo}")
Support for this feature was added in Rust 1.58 (see
https://github.com/rust-lang/rust/releases/tag/1.58.0) and in 1.67
clippy suggests about this. Because the new style seems to be where
the Rust ecosystem is going, I think Subplot should follow to avoid
being needlessly different from most other projects.
Sponsored-by: author
|
|
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
|
|
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
|
|
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
|
|
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
|
|
Pandoc fails to find echo bib when ./check is run: we have no way of
telling Pandoc (via the pandoc::Pandoc structure), what it's working
directory should be. I am about to introduce changes that will mean
Subplot will fail in this case.
This will all be sorted when we switch from using Pandoc to
cmark_pulldown for parsing Markdown, and when we do, this commit
should be reverted, but that change is too big for me at this time.
Sponsored-by: author
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
|
|
Sponsored-by: author
|
|
|
|
|
|
While '--output' works, '--o' definitely doesn't and '-o' is the common use
within the project
|
|
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
|
|
Many of our bindings files were originally written before Subplot
supported simple patterns, and so they use regex patterns even when a
simple pattern would do. Simplify bindings to use simple patterns when
possible, to make life easier for future maintainers.
Sponsored-by: author
|
|
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
|
|
Sponsored-by: pep.foundation
|
|
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
|
|
|
|
|