about summary refs log tree commit diff
path: root/src/librustdoc/html/static/js/search.js
AgeCommit message (Collapse)AuthorLines
2022-02-10Remove support for multi-query searchGuillaume Gomez-97/+6
2022-02-04Refactor conditionalEliaz Bobadilla-5/+2
2022-02-03Add filter-crate URL parameterGuillaume Gomez-27/+94
2022-02-02Unify storage getter and setter functionsGuillaume Gomez-1/+1
2022-01-17Rustdoc style cleanupsJacob Hoffman-Andrews-6/+12
- Make "since" version numbers grey again (regressed in #92602). - Remove unneeded selectors for when crate filter dropdown is a sibling of search-input. - Crate filter dropdown doesn't need to be 100% width on mobile. - Only build crate filter dropdown when there is more than one crate. - Remove unused addCrateDropdown.
2022-01-05Move crate drop-down to search results pageJacob Hoffman-Andrews-17/+22
This reduces clutter on doc pages.
2021-12-22Add some JSDoc comments to rustdoc JSJacob Hoffman-Andrews-30/+100
This follows the Closure Compiler dialect of JSDoc, so we can use it to do some basic type checking. We don't plan to compile with Closure Compiler, just use it to check types. See https://github.com/google/closure-compiler/wiki/ for details.
2021-12-20Move duplicates removal when generating results instead of when displaying themGuillaume Gomez-11/+13
2021-12-16Make loop more clear by renaming variablesGuillaume Gomez-4/+8
2021-12-16Clean up search code and unify function returned valuesGuillaume Gomez-108/+96
2021-12-08Fix indent of itemTypes in search.jsGuillaume Gomez-26/+28
2021-10-29Fix invalid handling of genericsGuillaume Gomez-13/+24
2021-08-22Fix typos “a”→“an”Frank Steffahn-1/+1
2021-07-10cleanup(rustdoc): remove unused function getObjectNameByIdMichael Howell-15/+8
This function was used in an earlier version, when idx's were used to serialize function inputs and outputs. That's not done any more, so removed the JS-side support for it.
2021-07-07Clean up rustdoc static filesGuillaume Gomez-0/+1561