about summary refs log tree commit diff
path: root/src/librustdoc/html/highlight.rs
AgeCommit message (Expand)AuthorLines
2021-01-30rustdoc tweakingbors-24/+22
2020-12-24rustdoc: Highlight edition-specific keywords correctly in code blocks, accoun...ThePuzzlemaker-7/+15
2020-12-23Update HTML DOM attribute "edition" to "data-edition"Guillaume Gomez-1/+1
2020-12-05Move tooltips messages to CSS instead of inside HTMLGuillaume Gomez-5/+10
2020-11-17Rollup merge of #79069 - jyn514:class-none, r=GuillaumeGomezMara Bos-17/+16
2020-11-17Rollup merge of #77939 - GuillaumeGomez:fix-source-code-dos-backline, r=jyn514Mara Bos-1/+3
2020-11-15Add test to ensure that no DOS backline (\r\n) doesn't create extra backline ...Guillaume Gomez-3/+3
2020-11-15Make all rustdoc functions and structs crate-privateJoshua Nelson-1/+1
2020-11-15Ensure that the source code display is working with DOS backlineGuillaume Gomez-0/+2
2020-11-15Get rid of `Class::None`Joshua Nelson-17/+16
2020-08-31Fix strings indentGuillaume Gomez-1/+1
2020-08-27Remove dependency on StringReader from rustdoc highlighterAleksey Kladov-330/+224
2020-07-14rustdoc: glue tokens before highlightingAndy Russell-14/+37
2020-04-16Dogfood or_patterns in rustdocJosh Stone-6/+2
2020-03-06fix various typosMatthias Krüger-1/+1
2020-02-29Rename `syntax` to `rustc_ast` in source codeVadim Petrochenkov-1/+1
2020-02-29Make it build againVadim Petrochenkov-1/+1
2020-02-22Rename CodeMap to SourceMap follow upMaxim Zholobak-2/+2
2020-02-011. move node_id to syntaxMazdak Farrokhzad-1/+1
2020-01-26Fix run button positionning in case of scrollingGuillaume Gomez-7/+4
2020-01-17rustdoc: Catch fatal errors when syntax highlightingOliver Middleton-2/+3
2020-01-15rustdoc: HTML escape codeblocks which fail syntax highlightingOliver Middleton-1/+1
2020-01-02Normalize `syntax::symbol` imports.Mazdak Farrokhzad-1/+1
2020-01-02Normalize `syntax::source_map` imports.Mazdak Farrokhzad-1/+1
2020-01-01Rename `syntax_pos` to `rustc_span` in source codeVadim Petrochenkov-1/+1
2019-12-22Format the worldMark Rousskov-61/+81
2019-11-20Delete ProcessCfgModMark Rousskov-2/+1
2019-11-10move syntax::parse -> librustc_parseMazdak Farrokhzad-2/+2
2019-11-10move config.rs to libsyntax_expandMazdak Farrokhzad-1/+2
2019-11-07syntax::parser::token -> syntax::tokenMazdak Farrokhzad-1/+1
2019-11-03use silent emitter for rustdoc highlighting passAndy Russell-2/+2
2019-10-15syntax::parse::sess -> syntax::sessMazdak Farrokhzad-2/+2
2019-08-05adapt rustdoc to infailable lexerAleksey Kladov-13/+14
2019-08-05add unknown tokenAleksey Kladov-1/+1
2019-07-04cleanup lexer constructorsAleksey Kladov-11/+11
2019-07-04remove StringReader::peekAleksey Kladov-9/+20
2019-06-08syntax: Move most of the `TokenKind` methods to `Token`Vadim Petrochenkov-1/+1
2019-06-06syntax: Remove duplicate span from `token::Ident`Vadim Petrochenkov-2/+2
2019-06-06syntax: Use `Token` in `StringReader` and `TokenTreesReader`Vadim Petrochenkov-5/+5
2019-06-06syntax: Use `Token` in `TokenTree::Token`Vadim Petrochenkov-2/+2
2019-06-06syntax: Rename `TokenAndSpan` into `Token`Vadim Petrochenkov-15/+15
2019-05-23syntax: Turn `token::Lit` into a structVadim Petrochenkov-7/+7
2019-05-22Restore the old behavior of the rustdoc keyword check + Fix rebaseVadim Petrochenkov-7/+7
2019-05-11Keep the original token in `ast::Lit`Vadim Petrochenkov-0/+2
2019-02-23Transition librustdoc to 2018 editionHirokazu Hata-1/+1
2019-02-10rustc: doc commentsAlexander Regueiro-1/+1
2019-01-20Auto merge of #56884 - euclio:codeblock-diagnostics, r=QuietMisdreavusbors-37/+55
2019-01-18Add token::ErrYuki Okushi-1/+1
2019-01-14rustdoc: check code block syntax in early passAndy Russell-37/+55
2018-12-25Remove licensesMark Rousskov-10/+0