about summary refs log tree commit diff
path: root/src/librustdoc/html/static/settings.js
AgeCommit message (Collapse)AuthorLines
2021-07-07Clean up rustdoc static filesGuillaume Gomez-60/+0
2021-01-25Fix some bugs reported by eslintGuillaume Gomez-1/+1
2020-11-12Improve settings.js code by using 'onEachLazy' directly instead of looping ↵Guillaume Gomez-33/+22
through DOM iterators
2020-11-12Make keyboard interactions in the settings menu more pleasantGuillaume Gomez-4/+21
2020-10-28rustdoc: js: Use getSettingValue for all rustdoc-* valuesIan Jackson-4/+0
Currently, storage.js and main.js have many open-coded calls to getCurrentValue for "rustdoc-" values, but these are settings and should be handled by getSettingValue. So make getSettingValue part of storage.js (where everyone can call it) and use it everywhere. No functional change yet. We are going to make getSettingValue do something more sophisticated in a moment. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2020-10-13Coding style fixesnasso-9/+10
2020-10-13Add a setting to use the system themenasso-14/+39
2020-05-26Fix eslint lintsGuillaume Gomez-0/+3
2018-12-25Remove licensesMark Rousskov-12/+0
2018-04-21Remove link generation on image, favicon and logo in settingsGuillaume Gomez-9/+0
2018-04-17Add rustdoc settings menuGuillaume Gomez-0/+50