Age | Commit message (Collapse) | Author | Files | Lines |
|
fix(README.md): drop mention of dh-cargo
See merge request subplot/subplot!375
|
|
It's not needed any more.
Signed-off-by: Lars Wirzenius <liw@liw.fi>
Sponsored-by: author
|
|
update Debian packaging for Ambient
See merge request subplot/subplot!374
|
|
Since our MSRV is 1.70, need to downgrade a couple of crates. (I with
"cargo update" dealt with this automatically: maybe one day.)
cargo update
cargo update -p normpath --precise 1.1.1
cargo update -p clap --precise 4.4.13
Signed-off-by: Lars Wirzenius <liw@liw.fi>
Sponsored-by: author
|
|
Drop dh-cargo as we don't need to build a deb.
Install the lintian files in the binary so that lintian will actually
find them. Normally, dh will do this automatically, but we override
the installation step so we have to do it ourselves.
Signed-off-by: Lars Wirzenius <liw@liw.fi>
Sponsored-by: author
|
|
Disable some lintian warnings.
* shell-script-fails-syntax-check, script-not-executable: these
complain about Bash templates for Subplot. These are not expected to
be valid Bash nor executable.
* no-manual-page: I'm not going to write a subplot manual page any
time soon, sorry. We might generate one from clap some day, though.
* source-nmu-has-incorrect-version-number, no-nmu-in-changelog: not
relevant for us, only for Debian. These sometimes happen if I invoke
the build wrong.
Signed-off-by: Lars Wirzenius <liw@liw.fi>
Sponsored-by: author
|
|
This file has always been broken, but I only found it about it now by
running lintian.
Signed-off-by: Lars Wirzenius <liw@liw.fi>
Sponsored-by: author
|
|
This is needed for running the test suite under Ambient, without
network access.
Other invocations of cargo are already doing this, but I had missed
this invocation previously.
Signed-off-by: Lars Wirzenius <liw@liw.fi>
Sponsored-by: author
|
|
fix(share/python/lib/daemon.yaml): add missing capture type
See merge request subplot/subplot!372
|
|
build: script to build all document output
Closes #344
See merge request subplot/subplot!371
|
|
Signed-off-by: Lars Wirzenius <liw@liw.fi>
Sponsored-by: author
|
|
Add a script to build all subplots into HTML, and to generate HTML
versions of all Subplot library bindings.
This is useful for two reasons:
* When iterating over documentation, just building it is fast.
* CI needs to build all the documentation, but does not necessarily
need to generate test code to run the scenarios in subplots.
I plan on using this in Ambient CI to update doc.subplot.tech.
Signed-off-by: Lars Wirzenius <liw@liw.fi>
Sponsored-by: author
|
|
build: allow building under Ambient
See merge request subplot/subplot!370
|
|
I'm about to start building a Subplot .deb under my new CI system,
Ambient.
Ambient runs builds without network access, so do "cargo install" with
--offline. My Ambient setup runs ./check (also with --offline) as a
separate step, so running it a second time in debian/rules seems
wasteful, so disable that.
Signed-off-by: Lars Wirzenius <liw@liw.fi>
Sponsored-by: author
|
|
A few chores
See merge request subplot/subplot!369
|
|
Updating crates.io index
Updating anstream v0.6.4 -> v0.6.5
Updating anstyle-parse v0.2.2 -> v0.2.3
Updating anstyle-query v1.0.0 -> v1.0.2
Updating anstyle-wincon v3.0.1 -> v3.0.2
Updating anyhow v1.0.75 -> v1.0.79
Updating bstr v1.7.0 -> v1.9.0
Adding bumpalo v3.14.0
Updating clap v4.4.7 -> v4.4.13
Updating clap_builder v4.4.7 -> v4.4.12
Updating cpufeatures v0.2.11 -> v0.2.12
Adding crossbeam-deque v0.8.4
Adding crossbeam-epoch v0.9.17
Adding crossbeam-utils v0.8.18
Updating deranged v0.3.9 -> v0.3.11
Removing deunicode v0.4.5
Removing deunicode v1.4.1
Adding deunicode v1.4.2
Updating env_logger v0.10.0 -> v0.10.1
Updating errno v0.3.5 -> v0.3.8
Updating filetime v0.2.22 -> v0.2.23
Removing fnv v1.0.7
Updating getrandom v0.2.10 -> v0.2.11
Updating globset v0.4.13 -> v0.4.14
Updating hashbrown v0.14.2 -> v0.14.3
Updating ignore v0.4.20 -> v0.4.22
Updating indexmap v2.0.2 -> v2.1.0
Updating is-terminal v0.4.9 -> v0.4.10
Updating itoa v1.0.9 -> v1.0.10
Updating libc v0.2.149 -> v0.2.152
Updating linux-raw-sys v0.4.10 -> v0.4.12
Updating memchr v2.6.4 -> v2.7.1
Updating once_cell v1.18.0 -> v1.19.0
Updating percent-encoding v2.3.0 -> v2.3.1
Updating pest v2.7.5 -> v2.7.6
Updating pest_derive v2.7.5 -> v2.7.6
Updating pest_generator v2.7.5 -> v2.7.6
Updating pest_meta v2.7.5 -> v2.7.6
Updating proc-macro2 v1.0.69 -> v1.0.76
Updating quote v1.0.33 -> v1.0.35
Removing redox_syscall v0.3.5
Updating rustix v0.38.21 -> v0.38.28
Updating ryu v1.0.15 -> v1.0.16
Updating serde v1.0.190 -> v1.0.195
Updating serde-aux v4.2.0 -> v4.3.1
Updating serde_derive v1.0.190 -> v1.0.195
Updating serde_json v1.0.107 -> v1.0.111
Updating serde_yaml v0.9.27 -> v0.9.30
Updating slug v0.1.4 -> v0.1.5
Updating smallvec v1.11.1 -> v1.11.2
Updating strsim v0.10.0 -> v0.10.1
Updating syn v2.0.38 -> v2.0.48
Updating tempfile v3.8.1 -> v3.9.0
Updating termcolor v1.3.0 -> v1.4.0
Updating thiserror v1.0.50 -> v1.0.56
Updating thiserror-impl v1.0.50 -> v1.0.56
Updating time v0.3.30 -> v0.3.31
Updating time-macros v0.2.15 -> v0.2.16
Updating tracing-log v0.1.4 -> v0.2.0
Updating tracing-subscriber v0.3.17 -> v0.3.18
Updating unsafe-libyaml v0.2.9 -> v0.2.10
Updating utf8-width v0.1.6 -> v0.1.7
Adding wasm-bindgen v0.2.89
Adding wasm-bindgen-backend v0.2.89
Adding wasm-bindgen-macro v0.2.89
Adding wasm-bindgen-macro-support v0.2.89
Adding wasm-bindgen-shared v0.2.89
Adding windows-sys v0.52.0
Adding windows-targets v0.52.0
Adding windows_aarch64_gnullvm v0.52.0
Adding windows_aarch64_msvc v0.52.0
Adding windows_i686_gnu v0.52.0
Adding windows_i686_msvc v0.52.0
Adding windows_x86_64_gnu v0.52.0
Adding windows_x86_64_gnullvm v0.52.0
Adding windows_x86_64_msvc v0.52.0
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
|
|
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
|
|
|
|
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
|
|
fix: add missing types for python lib/daemon.yaml
See merge request subplot/subplot!368
|
|
Signed-off-by: Lars Wirzenius <liw@liw.fi>
Sponsored-by: author
|
|
Ensure all bindings have types
Closes #339
See merge request subplot/subplot!367
|
|
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
|
|
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
|
|
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
|
|
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
|
|
typeset scenarios
Closes #345
See merge request subplot/subplot!366
|
|
Typeset each step in a scenario, including captures in the steps.
Previously the scenario was just one <pre> element, now things can be
styled with CSS.
Signed-off-by: Lars Wirzenius <liw@liw.fi>
Sponsored-by: author
|
|
Make it easier to edit the CSS file, and also add some styles for
upcoming scenario typesetting.
Signed-off-by: Lars Wirzenius <liw@liw.fi>
Sponsored-by: author
|
|
Improve binding docs and generate docs from them
Closes #346
See merge request subplot/subplot!365
|
|
They go into test-outputs/libdocs so they're easy to extract.
Signed-off-by: Lars Wirzenius <liw@liw.fi>
Sponsored-by: author
|
|
Signed-off-by: Lars Wirzenius <liw@liw.fi>
Sponsored-by: author
|
|
Signed-off-by: Lars Wirzenius <liw@liw.fi>
Sponsored-by: author
|
|
Signed-off-by: Lars Wirzenius <liw@liw.fi>
Sponsored-by: author
|
|
Signed-off-by: Lars Wirzenius <liw@liw.fi>
Sponsored-by: author
|
|
The --merciful option allows this if the user really wants it.
Signed-off-by: Lars Wirzenius <liw@liw.fi>
Sponsored-by: author
|
|
Make bindings parsing more strict, and validate that strictness
Closes #320
See merge request subplot/subplot!364
|
|
chore: Update from fehler to culpa
Closes #340
See merge request subplot/subplot!363
|
|
feat: generate library documentation from bindings files
Closes #341
See merge request subplot/subplot!362
|
|
Add CSS support in HTML
Closes #36
See merge request subplot/subplot!361
|
|
|
|
|
|
|
|
Add a `doc` field to a binding. It's a string meant to contain
markdown.
Add subcommand `subplot libdocgen YAML -o MD` to read a bindings file
and output a markdown file documenting the steps in the bindings file,
and the type of captures, and the documentation for the step.
Signed-off-by: Lars Wirzenius <liw@liw.fi>
Sponsored-by: author
|
|
This is a start. We'll need to add more as we add more support for
styling the output.
Signed-off-by: Lars Wirzenius <liw@liw.fi>
Sponsored-by: author
|
|
Signed-off-by: Lars Wirzenius <liw@liw.fi>
Sponsored-by: author
|
|
This is in the meta data field "css_urls".
Signed-off-by: Lars Wirzenius <liw@liw.fi>
Sponsored-by: author
|
|
This is in the meta data field "css_embed".
Signed-off-by: Lars Wirzenius <liw@liw.fi>
Sponsored-by: author
|
|
gitlab-ci: Update MSRV to 1.70
Closes #343
See merge request subplot/subplot!360
|
|
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
|