mdBook/tests
Hollow Man 5b6b5e2605
Make print page (print.html) links link to anchors on the print page
Let all the anchors id on the print page to have a path id prefix to
help locate.

e.g. bar/foo.md#abc -> #bar-foo-abc

Also append a dummy div to the start of the original page to make sure
that original page links without an anchor can also be located.

Fix to remove all the `./` in the normalized path id so that for
"./foo/bar.html#abc" we still get "#foo-bar-abc"

Add support for redirect link anchors in print page so that anchors can
also be redirected, also handle URL redirect links on print page

Handle all the elements id to add a path prefix, also make path id to
all be the lower case

Fix for print page footnote links by adding the path id prefix

Signed-off-by: Hollow Man <hollowman@opensuse.org>
2024-04-27 20:55:48 +03:00
..
cli style(tests): Fixed issues reported by clippy 2023-04-03 08:36:57 -04:00
dummy_book Update pulldown_cmark to 0.10 2024-02-05 14:11:27 -08:00
summary_md_files Rewrote summary parser from a state machine to use recursive descent 2017-12-11 15:17:20 +11:00
alternative_backends.rs Clean up test backends_receive_render_context_via_stdin 2024-02-05 09:53:50 -08:00
build_process.rs Transition to 2018 edition (#933) 2019-05-25 20:50:41 +02:00
cli_tests.rs Move cli tests to their own subdir 2021-09-26 11:29:36 -07:00
custom_preprocessors.rs Transition to 2018 edition (#933) 2019-05-25 20:50:41 +02:00
init.rs Make fonts part of the theme. 2023-01-15 11:42:46 -08:00
parse_existing_summary_files.rs Update dependencies. (#1211) 2020-05-20 23:32:00 +02:00
rendered_output.rs Make print page (print.html) links link to anchors on the print page 2024-04-27 20:55:48 +03:00
searchindex_fixture.json Update pulldown_cmark to 0.10 2024-02-05 14:11:27 -08:00
testing.rs add a --chapter option to mdbook test. (#1741) 2022-08-25 19:13:51 -07:00