about summary refs log tree commit diff
path: root/src/librustdoc/html/static/js/source-script.js
AgeCommit message (Expand)AuthorLines
2023-04-21rustdoc: lift constant string manipulation out of loopMichael Howell-1/+1
2023-04-12rustdoc: use CSS `overscroll-behavior` instead of JavaScriptMichael Howell-3/+6
2023-02-26Clean up JS files code a bitGuillaume Gomez-2/+1
2022-12-15rustdoc: name the source page sidebar-toggle `#src-sidebar-toggle`Michael Howell-1/+1
2022-10-31rustdoc: change `.src-line-numbers > span` to `.src-line-numbers > a`Michael Howell-3/+8
2022-10-17rustdoc: factor JS mobile scroll lock into its own functionMichael Howell-30/+3
2022-09-26rustdoc: give `.line-number` / `.line-numbers` meaningful namesMichael Howell-2/+2
2022-08-10Rollup merge of #98775 - notriddle:notriddle/mobile-sidebar-scroll-lock, r=jshaMatthias Krüger-3/+17
2022-08-02rustdoc: use a more compact encoding for source-files.jsMichael Howell-7/+11
2022-07-17Fix auto-expand of trees in source code page sidebarGuillaume Gomez-1/+1
2022-07-05rustdoc: improve scroll locking in the rustdoc mobile sidebarsMichael Howell-3/+17
2022-07-05Rollup merge of #98776 - notriddle:notriddle/mobile-sidebar-auto-close, r=Gui...Dylan DPC-2/+9
2022-07-04Rollup merge of #98774 - notriddle:notriddle/source-code-sidebar-button, r=Gu...Matthias Krüger-3/+3
2022-07-02rustdoc: make source sidebar toggle a real buttonMichael Howell-3/+3
2022-07-01Improve click behavior of the source code mobile full-screen "sidebar"Michael Howell-2/+9
2022-07-01rustdoc cleanup: remove unused functionMichael Howell-1/+1
2022-07-01rustdoc: use <details> tag for the source code sidebarMichael Howell-18/+11
2022-06-30Fix scroll when source sidebar is open on mobileGuillaume Gomez-0/+15
2022-06-23Rollup merge of #98310 - jsha:defer-source-sidebar, r=GuillaumeGomezMichael Goulet-8/+2
2022-06-20rustdoc: optimize loading of source sidebarJacob Hoffman-Andrews-8/+2
2022-06-20Improve loading of crates.js and sidebar-items.jsJacob Hoffman-Andrews-29/+12
2022-06-14Fix expand/collapse on source viewer sidebar foldersGuillaume Gomez-3/+3
2022-05-30Fix invalid line number computation when clicking on something else than a li...Guillaume Gomez-0/+4
2022-05-25Add new eslint rule "space-before-function-paren"Guillaume Gomez-1/+1
2022-05-10Fix JS error in source code pagesGuillaume Gomez-2/+1
2022-05-07Change eslint rules from configuration comments to configuration filesFolyd-5/+0
2022-05-05Use "strict" mode in JS scriptsGuillaume Gomez-1/+4
2022-05-04Move callback to the () => {} syntax.Folyd-10/+11
2022-04-30Move settings into full JSGuillaume Gomez-2/+2
2022-04-26Migrate source-script to ES6Guillaume Gomez-44/+45
2022-03-05Scroll when the anchor change and is linking outside of the displayed contentGuillaume Gomez-9/+7
2022-02-02Unify storage getter and setter functionsGuillaume Gomez-4/+4
2022-01-18Simplify and unify rustdoc sidebar stylesJacob Hoffman-Andrews-1/+1
2021-12-02Rename ID "main" into "main-content"Guillaume Gomez-5/+5
2021-11-29rustdoc: rework source sidebarcynecx-16/+9
2021-11-29rustdoc: merge source sidebar into main sidebarcynecx-6/+8
2021-07-07Clean up rustdoc static filesGuillaume Gomez-0/+249