rust/src/librustdoc/html/static
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
..
css Rename feature into Word wrap source code 2025-02-22 15:44:14 +01:00
fonts Add SemiBold for SourceSerif4 2025-01-29 11:44:14 +01:00
images Inline wheel.svg into CSS 2024-04-28 17:23:12 +02:00
js Rollup merge of #136991 - GuillaumeGomez:code-wrapping, r=notriddle 2025-02-24 02:11:32 -05:00
.eslintrc.js Other EcmaScript version bump 2024-06-07 08:44:52 +08:00
COPYRIGHT.txt Add SemiBold for SourceSerif4 2025-01-29 11:44:14 +01:00
LICENSE-APACHE.txt Make rustdoc output comply with licenses 2015-09-19 10:42:03 +01:00
LICENSE-MIT.txt Make rustdoc output comply with licenses 2015-09-19 10:42:03 +01:00
scrape-examples-help.md Update scrape-examples help, fix documentation typos 2022-12-07 09:08:43 -08:00