summaryrefslogtreecommitdiff
path: root/src/doc.rs
AgeCommit message (Expand)AuthorFilesLines
2023-12-27bindings: Add warnings for missing capture names or missing capture typesDaniel Silverstone1-0/+5
2023-12-25feat: typeset scenarios by typesetting stepsLars Wirzenius1-4/+19
2023-12-25refactor: move CSS file out of doc.rsLars Wirzenius1-8/+7
2023-10-31feat: add some HTML class attributesLars Wirzenius1-1/+11
2023-10-31div for page body classLars Wirzenius1-0/+1
2023-10-30feat: allow adding CSS URLs to HTML outputLars Wirzenius1-0/+8
2023-10-30feat: allow .subplot to list CSS files to embed in HTML outputLars Wirzenius1-0/+3
2023-10-21feat: insert a Table of Contents into generated HTMLLars Wirzenius1-2/+181
2023-07-02feat! drop support for bibliographies in document metadataLars Wirzenius1-4/+0
2023-06-21refactor: rename Document::files to ::embedded_filesLars Wirzenius1-4/+8
2023-06-21refactor: inline Document::from_ast to its only call siteLars Wirzenius1-20/+4
2023-06-15refactor: change Document::to_html to return a ResultLars Wirzenius1-2/+2
2023-06-10feat: Warn when named codeblocks lack classesDaniel Silverstone1-1/+37
2023-05-19tests: verify that Subplot reports specific errors with locationLars Wirzenius1-4/+4
2023-05-14feat: check for duplicate scenario titlesLars Wirzenius1-0/+13
2023-05-10feat! allow multiple markdown files for a subplotLars Wirzenius1-17/+51
2023-05-10refactor: move document metadata out of Markdown structLars Wirzenius1-5/+44
2023-04-08feat: drop use of Pandoc from doc.rsLars Wirzenius1-17/+18
2023-04-08refactor(src/doc.rs): rename constant to not refer to PandocLars Wirzenius1-5/+5
2023-02-25(doc, md, bin): Update APIs so warnings are externally accumulatedDaniel Silverstone1-22/+20
2023-02-25(doc): Remove use of mut in Document method receivers where possibleDaniel Silverstone1-9/+6
2023-02-12refactor: drop Document::markdowns fieldLars Wirzenius1-18/+3
2023-02-01refactor: turn loading Markdown from a file into a constructorLars Wirzenius1-2/+1
2023-02-01refactor: only mutating methods on Markdown require mutable selfLars Wirzenius1-1/+1
2023-01-28refactor: move YamlMetadata to src/metadata.rsLars Wirzenius1-5/+3
2023-01-22refactor: use new Markdown type instead of pandoc_ast visitorsLars Wirzenius1-283/+38
2022-09-28fix: include the subplot in the sources of the documentLars Wirzenius1-4/+17
2022-09-06feat! read document metadata from a YAML fileLars Wirzenius1-13/+38
2022-09-03refactor: drop unnecessary single-line function used from one callerLars Wirzenius1-19/+10
2022-09-03refactor: AST only parses Markdown, YAML is extracted outside itLars Wirzenius1-2/+2
2022-09-03refactor: rename DataFile{,s} to EmbeddedFile{,s} to be systematicLars Wirzenius1-6/+6
2022-07-02(doc): Remove unnecessary lifetime markerDaniel Silverstone1-1/+1
2022-05-06Merge branch 'liw/tidy-up-error' into 'main'Daniel Silverstone1-25/+40
2022-05-06refactor: replace SubplotError::JsonError with a more specific oneLars Wirzenius1-2/+2
2022-05-06refactor: replace generic Pandoc error with specificLars Wirzenius1-1/+1
2022-05-06refactor! split SubplotError::IoError into more specific errorsLars Wirzenius1-1/+2
2022-05-05refactor: drop the subplot::Result type aliasLars Wirzenius1-21/+35
2022-05-04(subplot): Add support for example blocksDaniel Silverstone1-1/+3
2022-04-15feat: improve logging via env_loggerLars Wirzenius1-2/+7
2022-04-10use Option<&str> instead of &Option<String>Lars Wirzenius1-1/+1
2022-04-10chore: drop unnecessary, if harmless, debugging print from testLars Wirzenius1-1/+0
2022-04-10feat: make typesetting issues into warningsLars Wirzenius1-0/+1
2022-04-10feat! treat warnings as errors by defaultLars Wirzenius1-4/+17
2022-04-10refactor: collect warnings for a document in its DocumentLars Wirzenius1-12/+11
2022-03-24feat! change logging to use log/env_logger instead of tracingLars Wirzenius1-58/+25
2021-12-27codegen: Refuse to generate code if the specified template is not presentDaniel Silverstone1-0/+3
2021-11-27feat: warn about unused embedded filesLars Wirzenius1-1/+42
2021-11-19subplot: Rework for impls not template/functionsDaniel Silverstone1-11/+23
2021-11-19various: Rework document to support multiple implementationsDaniel Silverstone1-15/+37
2021-10-13feat: add crate subplot-build for using Subplot from build.rsLars Wirzenius1-1/+92