about summary refs log tree commit diff
path: root/src/librustdoc/html/static/js/main.js
AgeCommit message (Expand)AuthorLines
2024-09-29Copy correct path to clipboard for modules/keywords/primitivesclubby789-5/+9
2024-09-23Rollup merge of #129545 - notriddle:notriddle/toolbar-v2, r=GuillaumeGomezMichael Goulet-64/+77
2024-09-23Tweak breadcrumbs listMichael Howell-7/+4
2024-09-22Generate line numbers for non-rust code examples as wellGuillaume Gomez-7/+9
2024-09-10rustdoc: make the header show all three buttonsMichael Howell-0/+8
2024-09-10rustdoc: redesign toolbar and disclosure widgetsMichael Howell-57/+65
2024-09-07Generate scraped examples buttons in JSGuillaume Gomez-6/+8
2024-09-05Rollup merge of #129796 - GuillaumeGomez:unify-code-examples, r=notriddleMatthias Krüger-2/+7
2024-09-05Rollup merge of #120736 - notriddle:notriddle/toc, r=t-rustdocMatthias Krüger-2/+2
2024-08-31Fix code examples buttons not appearing on click on mobileGuillaume Gomez-2/+8
2024-08-31Unify scraped examples with other code examplesGuillaume Gomez-2/+7
2024-08-20rustdoc: consistentify `#TOC` and `#ModNav` to lowercaseMichael Howell-2/+2
2024-08-20Add configuration options to hide TOC or module navigationMichael Howell-2/+2
2024-08-12Rollup merge of #128394 - GuillaumeGomez:run-button, r=t-rustdocGuillaume Gomez-2/+6
2024-08-06rustdoc-search: account for numeric disambiguators on implsMichael Howell-6/+12
2024-08-05Prevent clicking on a link or on a button to toggle the code example buttons ...Guillaume Gomez-2/+6
2024-08-03Rollup merge of #128573 - GuillaumeGomez:simplify-body, r=notriddleMatthias Krüger-5/+3
2024-08-03Simplify `body` usage in rustdocGuillaume Gomez-5/+3
2024-08-01rustdoc: Remove dead opaque_tys rendering logicAlona Enraght-Moony-1/+0
2024-07-29Make the buttons remain when code example is clickedGuillaume Gomez-2/+23
2024-07-28Rollup merge of #125779 - GuillaumeGomez:copy-code, r=rustdoc-teamGuillaume Gomez-21/+69
2024-07-18Rearrange sidebar modnav builder to more logical orderMichael Howell-2/+2
2024-07-18rustdoc: fix `current` class on sidebar modnavMichael Howell-3/+5
2024-07-18Add copy code buttonGuillaume Gomez-21/+69
2024-04-18Rollup merge of #124041 - GuillaumeGomez:fix-copy-path-button, r=notriddleMatthias Krüger-18/+2
2024-04-17Fix copy-path buttonGuillaume Gomez-18/+2
2024-04-16Rollup merge of #123355 - mu001999:rustdoc/search, r=GuillaumeGomezMatthias Krüger-1/+2
2024-04-02Support type '/' to searchmu001999-1/+2
2024-03-22rustdoc-search: address nitsMichael Howell-0/+4
2024-03-17Fix style errorsMichael Howell-1/+1
2024-03-16rustdoc-search: shard the search result descriptionsMichael Howell-4/+24
2024-02-25Correctly handle if rustdoc JS script hash changedGuillaume Gomez-3/+11
2024-01-31rustdoc: Correctly handle long crate names on mobileGuillaume Gomez-1/+1
2024-01-08rustdoc: hide modals when resizing the sidebarMichael Howell-0/+1
2023-12-31Auto merge of #119066 - notriddle:notriddle/sidebar-source-redesign, r=Guilla...bors-1/+4
2023-12-26rustdoc: treat query string `+` as spaceMichael Howell-1/+2
2023-12-19Fix corner cases when dealing with mobile modeMichael Howell-11/+7
2023-12-17rustdoc: clean up source sidebar hide buttonMichael Howell-6/+13
2023-12-15Rollup merge of #115660 - notriddle:notriddle/sidebar-resize, r=GuillaumeGomezGuillaume Gomez-5/+263
2023-11-27Rollup merge of #118325 - clubby789:rustdoc-search-link, r=fmeaseMatthias Krüger-2/+1
2023-11-26Fix Rustdoc search docs linkclubby789-2/+1
2023-11-25rustdoc: replace `elemIsInParent` with `Node.contains`Michael Howell-19/+9
2023-11-12rustdoc: use `.rustdoc` class instead of `body`Michael Howell-2/+2
2023-10-22rustdoc: make JS trait impls act more like HTMLMichael Howell-3/+12
2023-10-22rustdoc: clean up and comment main.js `register_type_impls`Michael Howell-14/+44
2023-10-22rustdoc: use JS to inline target type impl docs into aliasMichael Howell-1/+173
2023-10-11rustdoc: fix resize trouble with mobileMichael Howell-0/+4
2023-10-11rustdoc: avoid whole page layout on each frameMichael Howell-4/+53
2023-10-11rustdoc: enforce BODY_MIN constraint on sidebar resizeMichael Howell-8/+105
2023-10-11rustdoc: clean up main.js and src-script.jsMichael Howell-2/+4