1
Fork 0
Commit graph

143 commits

Author SHA1 Message Date
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
Jan-Erik Rediger b23b9558ab (cargo-release) start next development iteration 0.7.1-alpha.0 2021-07-06 14:41:32 +02:00
Jan-Erik Rediger e9fa4fd051 (cargo-release) version 0.7.0 2021-07-06 14:41:22 +02:00
Jan-Erik Rediger f868b7b718 Prepare release 2021-07-06 14:41:08 +02:00
Jan-Erik Rediger 036c2d88e5
Merge pull request #20 from Smittyvb/bump-deps
Bump dependencies to fix HTML in tables
2021-07-06 14:35:23 +02:00
Smitty 980047b0cf Bump dependencies to fix HTML in tables
This updates dependencies, causing #19 to be fixed. This also adds a
regression test for #19.
2021-06-23 10:01:39 -04:00
Jan-Erik Rediger 1b3dceae42 Convert all tests into input/output files 2021-06-23 12:30:55 +02:00
Jan-Erik Rediger ddbe8125cd Add minimal docs 2021-06-23 12:08:00 +02:00
Jan-Erik Rediger a8a2e649df Move all tests to be integration tests only 2021-06-23 12:05:39 +02:00
Jan-Erik Rediger 14f623590f (cargo-release) start next development iteration 0.6.5-alpha.0 2021-06-11 13:51:58 +02:00
Jan-Erik Rediger 539dacb665 (cargo-release) version 0.6.4 2021-06-11 13:51:47 +02:00