about summary refs log tree commit diff
path: root/src/librustdoc/html/render.rs
AgeCommit message (Collapse)AuthorLines
2019-12-24Show value for consts in the documentationOhad Ravid-2/+24
2019-12-22Format the worldMark Rousskov-1185/+1520
2019-12-22Implement PrintWithSpace trait on hir::MutabilityGuillaume Gomez-1/+1
2019-12-21Remove clean::Mutability enumGuillaume Gomez-2/+2
2019-12-12replace serialize with serde in rustdocAndy Russell-57/+86
2019-12-08Sort auto trait and blanket implementations displayGuillaume Gomez-6/+17
2019-12-05Auto merge of #66828 - GuillaumeGomez:less-minification, r=kinnisonbors-90/+13
Less minification The goal of this PR is to remove the minification process on the `search-index.js` file. It provides great result in term of space reduction but the computation time is far too long. I'll work on this issue and will put it back once it's fast enough. cc @nox @lqd r? @kinnison
2019-12-02Add missing backlineGuillaume Gomez-1/+1
2019-12-02minify theme.js as wellGuillaume Gomez-4/+3
2019-12-02Remove minification on search-index.js fileGuillaume Gomez-85/+9
2019-11-30move UnstableFeatures -> rustc_featureMazdak Farrokhzad-1/+1
2019-11-23Rollup merge of #66657 - ollie27:rustdoc_flock_panic, r=GuillaumeGomezMazdak Farrokhzad-1/+2
rustdoc: Don't panic when failing to write .lock file It can be treated like any other unexpected IO error. I couldn't think of a good way to add a test for this unfortunately. r? @GuillaumeGomez
2019-11-23rustdoc: Don't panic when failing to write .lock fileOliver Middleton-1/+2
It can be treated like any other unexpected IO error.
2019-11-21Revert "Update Source Code Pro and include italics"Guillaume Gomez-4/+2
This reverts commit ea9519bf16f0be137a814a49c9fbaf232ba49a43.
2019-11-20Rollup merge of #66514 - GuillaumeGomez:fix-search-filter-save, r=kinnisonMazdak Farrokhzad-1/+3
Fix selected crate search filter Fixes #62929. r? @kinnison
2019-11-20Rollup merge of #65665 - tspiteri:italic-and-update-SourceCodePro, ↵Mazdak Farrokhzad-2/+4
r=GuillaumeGomez Update Source Code Pro and include italics Fixes #65502. A few notes: * As stated in #65502, this does increase the download size. * Since this PR changes the font set, I think docs.rs would have to be updated if this PR is merged. * The fonts have a double extension (.ttf.woff); this is to keep the names consistent with the upstream font release which does that to distinguish these from the .otf.woff files ([Source Code Pro otf renders poorly on older Windows system apps](https://github.com/adobe-fonts/source-code-pro/issues/25#issuecomment-9019600)).
2019-11-18Apply review commentsGuillaume Gomez-4/+2
2019-11-18rename check-theme option into check-themesGuillaume Gomez-5/+2
2019-11-18Improve documentation, add checks for themes option arguments, make sure the ↵Guillaume Gomez-1/+1
themes file names are js compatible
2019-11-18Prevent invalid html characters in themes nameGuillaume Gomez-1/+3
2019-11-18Fix selected crate search filterGuillaume Gomez-1/+3
2019-11-07Rollup merge of #64696 - GuillaumeGomez:rustdoc-sub-settings, r=kinnisonMazdak Farrokhzad-20/+79
[rustdoc] add sub settings This PR is to give a finer control over what types are automatically expanded or not as well as the possibility to add sub-settings in the settings page. ![Screenshot from 2019-09-23 00-46-14](https://user-images.githubusercontent.com/3050060/65395521-15aff300-dd9c-11e9-9437-429ca347d455.png) r? @Mark-Simulacrum
2019-11-04Change sub-setting CSS class to sub-settingsGuillaume Gomez-1/+1
2019-11-02Simplify various `Symbol` use points.Nicholas Nethercote-1/+1
Including removing a bunch of unnecessary `.as_str()` calls, and a bunch of unnecessary sigils.
2019-10-29add sub settings in rustdocGuillaume Gomez-20/+79
2019-10-27rustc, rustc_passes: don't depend on syntax_expand.Mazdak Farrokhzad-1/+1
This is done by moving some data definitions to syntax::expand.
2019-10-21Update Source Code Pro and include italicsTrevor Spiteri-2/+4
2019-10-21Add option to disable keyboard shortcuts in docsGuillaume Gomez-0/+1
2019-10-16move syntax::ext to new crate syntax_expandMazdak Farrokhzad-2/+2
2019-10-13ast: remove implicit pprust dependency via Display.Mazdak Farrokhzad-1/+2
Instead just use `pprust::path_to_string(..)` where needed. This has two benefits: a) The AST definition is now independent of printing it. (Therefore we get closer to extracting a data-crate.) b) Debugging should be easier as program flow is clearer.
2019-09-29rustdoc: Fix default logo filenameOliver Middleton-1/+1
2019-09-23Remove unused argumentsMark Rousskov-14/+10
2019-09-23Utilize shared error codes rather than re-querying envMark Rousskov-1/+1
2019-09-23Remove pointless orMark Rousskov-2/+2
2019-09-23Remove needless Rc<RefCell<...>>Mark Rousskov-2/+2
2019-09-23Provide helper for synthesizing paths with resource suffixMark Rousskov-29/+40
2019-09-13Stylistic fix -- remove double implMark Rousskov-2/+0
2019-09-13Move cache into Context, avoid TLSMark Rousskov-29/+26
This doesn't move everything over as cache() is pretty annoying to remove fully, but it gets the ball rolling.
2019-09-13Move `Cache` generation to separate moduleMark Rousskov-654/+14
2019-09-13Move playground to shared contextMark Rousskov-35/+38
2019-09-13Move error codes to shared contextMark Rousskov-4/+4
2019-09-13Move edition field out of ContextMark Rousskov-8/+9
2019-09-13Replace SlashChecker with ensure_trailing_slashMark Rousskov-12/+10
2019-09-13Simplify render_spotlight_traitsMark Rousskov-6/+2
2019-09-13Remove *Space wrappers in favor of direct impls or functionsMark Rousskov-41/+41
2019-09-13Unwrap Visibility fieldsMark Rousskov-3/+2
There's not really any reason to not have the visibility default to inherited, and this saves us the trouble of checking everywhere for whether we have a visibility or not.
2019-09-13Move to print functions on types instead of impl fmt::DisplayMark Rousskov-59/+68
This will eventually allow us to easily pass in more parameters to the functions without TLS or other such hacks
2019-09-07Move to buffers throughout print_itemMark Rousskov-425/+372
2019-09-07Item to functionMark Rousskov-84/+79
2019-09-07AllTypes to functionMark Rousskov-32/+30