about summary refs log tree commit diff
path: root/src/librustdoc/html/highlight.rs
AgeCommit message (Expand)AuthorLines
2023-12-01rustdoc: do not escape quotes in body textMichael Howell-3/+9
2023-11-15Re-format code with new rustfmtMark Rousskov-11/+24
2023-09-15Implement custom classes for rustdoc code blocks with `custom_code_classes_in...Guillaume Gomez-4/+21
2023-08-16Use more named format argsGuillaume Gomez-4/+8
2023-08-16Improve code readability by moving fmt args directly into the stringGuillaume Gomez-11/+10
2023-07-13Rollup merge of #113623 - GuillaumeGomez:add-jump-to-doc, r=notriddleMatthias Krüger-0/+5
2023-07-12Re-format let-else per rustfmt updateMark Rousskov-4/+2
2023-07-12Add jump to docGuillaume Gomez-0/+5
2023-05-02initial step towards implementing C string literalsDeadbeef-1/+3
2023-04-16Spelling librustdocJosh Soref-5/+5
2023-04-01a couple clippy::complexity fixesMatthias Krüger-2/+2
2023-03-16Render source page layout with Askamaclubby789-38/+21
2023-02-15Use more let chainGuillaume Gomez-4/+2
2023-02-13Rollup merge of #107340 - notriddle:notriddle/simplify-doctest-tooltip, r=Gui...Matthias Krüger-5/+11
2023-01-30rustdoc: remove unnecessary wrapper div.item-decl from HTMLMichael Howell-4/+4
2023-01-27rustdoc: merge doctest tooltip with notable traits tooltipMichael Howell-5/+11
2022-12-10Clean up lifetimes in rustdoc syntax highlightingNilstrieb-23/+23
2022-10-31rustdoc: rename syntax highlighting CSS class `attribute` to `attr`Michael Howell-1/+1
2022-10-29Fix z-indexes of code example feature and cleanup its CSSGuillaume Gomez-0/+4
2022-10-08Clean up rustdoc highlight.rs imports a bitGuillaume Gomez-4/+2
2022-09-28Address review comments.Nicholas Nethercote-1/+1
2022-09-26Add `rustc_lexer::TokenKind::Eof`.Nicholas Nethercote-1/+5
2022-09-26Make `rustc_lexer::cursor::Cursor` public.Nicholas Nethercote-5/+4
2022-09-15rustdoc: use more precise URLs for jump-to-definition linksMichael Howell-3/+5
2022-09-10Simplify DOM for codeblocks tooltipsGuillaume Gomez-13/+14
2022-09-09rustdoc: simplify the codeblock tooltipMichael Howell-27/+28
2022-08-31Fix a bunch of typoDezhi Wu-2/+2
2022-08-20Clean up highlight `<span>` merge codeGuillaume Gomez-121/+118
2022-08-20Merge "EnterSpan" events to reduce code blocks DOM sizeGuillaume Gomez-23/+68
2022-08-19Fix invalid comparison for Class::Decoration in `is_equal_to`Guillaume Gomez-2/+2
2022-08-14Don't generate ident elements as DOM nodesGuillaume Gomez-7/+20
2022-08-14Merge HTML elements in highlighting when they can be merged togetherGuillaume Gomez-8/+155
2022-08-12Rollup merge of #100409 - jsha:highlight-lighter, r=GuillaumeGomezDylan DPC-10/+7
2022-08-11rustdoc: don't generate DOM element for operatorJacob Hoffman-Andrews-10/+7
2022-08-11Rollup merge of #99337 - jsha:simplify-highlight, r=GuillaumeGomezMatthias Krüger-33/+55
2022-08-09rustdoc: simplify highlight.rsJacob Hoffman-Andrews-33/+55
2022-08-01Shrink `Token`.Nicholas Nethercote-1/+1
2022-06-20Integrate `generate_macro_def_id_path` into `href_with_root_path`Guillaume Gomez-67/+2
2022-06-20Improve code readability and documentationGuillaume Gomez-26/+54
2022-06-20Rename ContextInfo into HrefContextGuillaume Gomez-25/+25
2022-06-20Add support for macro in "jump to def" featureGuillaume Gomez-19/+107
2022-05-21Remove `crate` visibility modifier in libs, testsJacob Pratt-6/+6
2022-03-04librustdoc: adopt let else in more placesest31-10/+6
2022-02-03rustdoc: clippy::complexity fixesMatthias Krüger-2/+1
2021-12-28remove in_band_lifetimes from librustdocMichael Goulet-3/+3
2021-11-23Fix RustDocEsteban Kuber-1/+1
2021-11-04Sort scraped call locations before serializingWill Crichton-1/+7
2021-10-27Rollup merge of #90278 - notriddle:notriddle/highlight-ptr, r=jyn541,Guillaum...Matthias Krüger-6/+21
2021-10-25rustdoc: use better highlighting for *const, *mut, and &mutMichael Howell-6/+21
2021-10-25Fix clippy lints in librustdocGuillaume Gomez-2/+2