1
Fork 0
rust/tests/rustdoc-gui/src
Jacob Pratt 8133652562
Rollup merge of #136991 - GuillaumeGomez:code-wrapping, r=notriddle
[rustdoc] Add new setting to wrap source code lines when too long

Fixes https://github.com/rust-lang/rust/issues/127334.

Wrapped lines look like this:

![image](https://github.com/user-attachments/assets/92006a27-ed1e-4beb-91f2-f453b72c5e1a)

It works in both source code pages and doc pages.

You can test it [here](https://rustdoc.crud.net/imperio/code-wrapping/bar/index.html).

r? ``@notriddle``
2025-02-24 02:11:32 -05:00
..
extend_css [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
huge_logo
lib2 Rollup merge of #127474 - tesuji:foldable-inline-derefs, r=t-rustdoc 2024-09-02 04:19:27 +02:00
link_to_definition [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
proc_macro_test Add GUI tests for comments highlighting in items declaration 2023-12-01 11:23:38 +01:00
scrape_examples [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
settings
staged_api rustdoc: fix rustdoc-gui tests for logo changes 2023-10-08 20:17:53 -07:00
test_docs Rollup merge of #136991 - GuillaumeGomez:code-wrapping, r=notriddle 2025-02-24 02:11:32 -05:00
theme_css rustdoc: make the header show all three buttons 2024-09-10 17:56:06 -07:00