aboutsummaryrefslogtreecommitdiffstats
path: root/docs/assets/js
Commit message (Collapse)AuthorAgeFilesLines
* Add new JS linter rules (#17699)silverwind2021-11-221-13/+13
| | | | | | | | | | | | | | | | | | | | * Add new JS linter rules Adds a few useful rules from eslint-plugin-github. Notable changes: - Forbid dataset usage, its camel-casing behaviour makes it hard to grep for attributes. - Forbid .then() and .catch(), we should generally prefer await for new code. For rare cases where they are useful, a eslint-disable-line directive can be set. - Add docs js to linting * also enable github/array-foreach * small tweak Co-authored-by: Andrew Thornton <art27@cantab.net> Co-authored-by: techknowlogick <techknowlogick@gitea.io> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Modernize docs/assets/js/search.js (#10621)v1.12.0-devsilverwind2020-03-081-136/+134
| | | | | | | - reformated file with eslint's --fix - did some minor rule adjustments - removed unneccesary console debug - fixed a typo
* Implement documentation search (#8937)John Olheiser2019-11-131-0/+176
* Implement documentation search Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>