Jan-Erik Rediger
febe468843
Update mdbook and downgrade toml. Again.
...
Fixes #45
2023-08-05 19:54:20 +02:00
Jan-Erik Rediger
7aaed9865b
chore: Release mdbook-toc version 0.14.0
2023-08-02 12:13:15 +02:00
Jan-Erik Rediger
8faae2a1bb
Prepare release
2023-08-02 12:12:55 +02:00
Dominik Nakamura
113362a944
Use custom header IDs if present ( #40 )
...
Co-authored-by: Jan-Erik Rediger <janerik@fnordig.de>
2023-08-01 12:59:27 +00:00
Dominik Nakamura
e897dbffcc
Simplify CLI definition with derive macro ( #43 )
...
Co-authored-by: Jan-Erik Rediger <janerik@fnordig.de>
2023-08-01 12:56:27 +00:00
Dominik Nakamura
a6280bf91f
Set rust-version to correct MSRV of 1.66 ( #41 )
2023-08-01 12:55:24 +00:00
Dominik Nakamura
3f9ceee047
Update all dependencies ( #44 )
2023-08-01 14:53:07 +02:00
Dominik Nakamura
beb753bd39
Inline format arguments where possible ( #42 )
2023-08-01 14:52:52 +02:00
Jan-Erik Rediger
53e8bcef6e
chore: Release mdbook-toc version 0.13.0
2023-07-18 23:11:57 +02:00
Jan-Erik Rediger
723dc941b0
Prepare release
2023-07-18 23:09:17 +02:00
Jan-Erik Rediger
2836ac5173
Merge pull request #37 from dcaba/dcaba/fixBumpVersions
...
`cargo install mdbook-toc` fails again - deps upgrade
2023-07-17 15:12:45 +02:00
Daniel Caballero Rodriguez
5301e7f876
mdbook seems to break this? Bumping versions / same solution than f8fd056bd1
2023-07-17 14:33:43 +02:00
Jan-Erik Rediger
9c1ad00448
Clarify which headers are included
2023-06-01 16:41:26 +02:00
Jan-Erik Rediger
ee15575d47
chore: Release mdbook-toc version 0.12.0
2023-05-15 21:50:07 +02:00
Jan-Erik Rediger
e02115572f
Prepare release
2023-05-15 21:49:41 +02:00
Jan-Erik Rediger
6cbb54588d
Upgrade crossbeam-channel
2023-05-15 21:49:41 +02:00
Jan-Erik Rediger
6a1b35ad3f
Document v0.11.2 release after the fact
2023-05-15 21:47:09 +02:00
Jan-Erik Rediger
97326b3ec8
CI: Fix typo
2023-05-15 21:37:47 +02:00
Jan-Erik Rediger
2b6982444d
Update CI tooling
2023-05-15 21:37:00 +02:00
Jan-Erik Rediger
e2eb928184
Add the missing test files
2023-05-15 21:29:56 +02:00
Jan-Erik Rediger
8ec529e2bf
Apply clippy suggestion
2023-05-15 21:24:31 +02:00
Jan-Erik Rediger
c9484d562e
Always convert CRLF into LF-only line endings.
...
CRLF lineendings will happen on Windows,
but they shouldn't matter for Markdown content.
pulldown-cmark will parse them _nearly_ the same.
`<!-- toc -->\r\n` will actually be 2 HTML elements:
the `<!-- toc -->` part and a `\n` part,
whereas `<!-- toc -->\n` will be just one: `<!-- toc -->\n`.
That throws off our marker parser because we're looking for the latter only.
So by stripping our the CR (`\r`) we don't need to special-case anything.
The rendering will be the same.
Closes #35
2023-05-15 21:21:06 +02:00
Jan-Erik Rediger
c78210ea72
chore: Release mdbook-toc version 0.11.2
2023-02-14 10:55:10 +01:00
Jan-Erik Rediger
bc52fa2b8f
Merge pull request #34 from HollowMan6/main
...
`cargo install mdbook-toc` failed again: Bump mdbook into 0.4.27 and Downgrade toml into 0.5.11
2023-02-14 10:54:44 +01:00
Hollow Man
a08776d208
Bump mdbook into 0.4.27 and Downgrade toml into 0.5.11
...
Signed-off-by: Hollow Man <hollowman@opensuse.org>
2023-02-13 18:58:26 +02:00
Jan-Erik Rediger
31e147f764
chore: Release mdbook-toc version 0.11.1
2023-02-09 17:01:18 +01:00
Jan-Erik Rediger
dbe48546ea
Prepare release
2023-02-09 17:01:01 +01:00
Jan-Erik Rediger
f8fd056bd1
Update mdbook and toml dependencies
...
Fixes #33
2023-02-09 16:59:57 +01:00
Jan-Erik Rediger
35e0f51672
Handle empty documents.
...
Fixes #31
2023-01-09 21:51:21 +01:00
Jan-Erik Rediger
dee9ba5e5f
chore: Release mdbook-toc version 0.11.0
2022-12-15 20:59:19 +01:00
Jan-Erik Rediger
660ac10edd
Prepare release
2022-12-15 20:58:56 +01:00
Jan-Erik Rediger
2300bdbc45
Upgrade dependencies and fix clap breakage
...
Fix #30
2022-12-15 20:58:25 +01:00
Jan-Erik Rediger
0ceab3dc7e
Build for aarch64
2022-11-01 20:05:38 +01:00
Jan-Erik Rediger
d3c5ee5ceb
Update actions
2022-11-01 20:05:26 +01:00
Jan-Erik Rediger
9561a82905
(cargo-release) version 0.10.0
2022-10-11 18:22:25 +02:00
Jan-Erik Rediger
92d99ae8cd
Prepare release
2022-10-11 18:21:22 +02:00
Jan-Erik Rediger
fa5dd59c3b
Dependency updates
2022-10-11 18:18:18 +02:00
Jan-Erik Rediger
f9f2c2b007
Merge pull request #27 from matthiasbeyer/update-mdbook
2022-10-11 03:04:58 -10:00
Matthias Beyer
9103d46475
Update dep: mdbook: 0.4.10 -> 0.4.21
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-09-30 11:47:42 +02:00
Jan-Erik Rediger
a7894772e9
(cargo-release) version 0.9.0
2022-05-26 23:01:46 +02:00
Jan-Erik Rediger
5fc9522e5f
Dependency updates
2022-05-26 23:01:33 +02:00
Jan-Erik Rediger
c0e3429010
Merge pull request #24 from KennethWilke/main
2022-05-16 15:11:21 +02:00
Kenneth Wilke
8f08095199
Added minimum Rust version to Cargo.toml
...
I was installing this crate to work on another project and realized I couldn't
build this because I was using Rust `1.57` which doesn't yet have the
fstrings. I am upgrading my local install to `1.60`, but prior to that I
verified that everything seemed good to go on `1.58.1`.
2022-05-15 13:17:29 -05:00
Jan-Erik Rediger
d1bacdd67a
(cargo-release) version 0.8.0
2022-01-26 10:08:23 +01:00
Jan-Erik Rediger
0d17ed1801
Merge pull request #22 from badboy/regression-21/backslash-escape
2022-01-25 21:08:25 +01:00
Jan-Erik Rediger
34d741b343
Don't run check
...
It takes time and is fully covered by compiling and running tests anyway
2022-01-25 21:07:29 +01:00
Jan-Erik Rediger
9df9574187
Regression test for double inner backticks
...
Now that we don't parse & serialize that anymore,
we can't mess it up, but still good to ensure we never break it again.
Fixes #23
2022-01-25 21:06:45 +01:00
Jan-Erik Rediger
81157fa109
Dependency updates
2022-01-25 21:06:45 +01:00
Jan-Erik Rediger
adde0c8cfb
Avoid roundtripping through pulldown-cmark
...
Roundtripping markdown is actually quite hard.
We don't actually require that.
All we need is once parsing the markdown to find the right marker and
the headings.
We then manually generate markdown and all other content can be copied
unparsed again.
2022-01-25 21:04:50 +01:00
Jan-Erik Rediger
e759070dc8
Add test case for backslash escapes
2021-08-02 18:18:49 +02:00