Oliver Middleton
478750c1db
rustdoc: Fix doc aliases with crate filtering
...
Fix a crash when searching for an alias contained in the currently selected filter crate.
Also remove alias search results for crates that should be filtered out.
The test suite needed to be fixed to actually take into account the crate filtering and check that there are no results when none are expected.
2020-06-23 09:27:37 +01:00
Guillaume Gomez
398511a135
Import missing functions from storage.js
2020-05-26 15:11:44 +02:00
Guillaume Gomez
c4d9318be6
Make current crate aliases go first
2020-05-14 11:36:02 +02:00
Guillaume Gomez
f581cf7544
Merge aliases and search-index
2020-05-07 20:08:08 +02:00
Guillaume Gomez
d80ac14fe6
Extend rustdoc-js tester to allow to test multiple queries in one file
2020-05-07 20:08:08 +02:00
Guillaume Gomez
426055cb29
Improve rustdoc js testers code
2020-04-14 13:40:11 +02:00
Guillaume Gomez
d6b75e0ef1
End cleanup on rustdoc-js tools
2020-04-11 16:32:28 +02:00
Guillaume Gomez
feb6635fe6
Clean up rustdoc js tester source code and move common code in one place
2020-03-21 13:39:49 +01:00
Guillaume Gomez
9b85213610
Add missing variable to load in non-std tester as well
2020-03-16 21:50:04 +01:00
Oliver Middleton
3f58ab6e24
Allow rustdoc-js
and rustdoc-js-std
to use none default build dir location
2020-03-13 23:24:12 +00:00
Guillaume Gomez
be23cd9a2d
Move documentation build into bootstrap
2019-02-25 17:46:06 +01:00
Guillaume Gomez
aa3ca321e9
Rename rustdoc js test suites
2019-02-25 17:46:06 +01:00
Guillaume Gomez
834347ddaf
Add rustdoc JS non-std tests
2019-02-25 17:43:57 +01:00
Mark Rousskov
e132d9066d
Account for no newline before test annotations
...
Previously the license comment would always provide that newline but
since that's been removed this change is needed.
2018-12-26 09:00:55 -07:00
Mark Rousskov
2a663555dd
Remove licenses
2018-12-25 21:08:33 -07:00
John Heitmann
5056669fc8
Fix rustdoc-js tests
...
Fixes rustdoc-js tests by teaching tester.js how to handle single-line js comments.
Also, added speculative support for template strings, and warnings for future debuggers.
2018-12-18 00:12:40 -08:00
Guillaume Gomez
8062c7ae4b
Add test for crate filtering
2018-11-28 19:33:33 +01:00
Guillaume Gomez
115df57757
reduce search-index size
2018-06-30 16:28:25 +02:00
Guillaume Gomez
1fcce48451
Add rustdoc-js tester should-fail option
2018-06-16 00:13:28 +02:00
Guillaume Gomez
2f7fa24aee
Update rustdoc-js
2018-06-04 21:22:51 +02:00
Guillaume Gomez
934e37aeb4
Rollup merge of #50632 - GuillaumeGomez:minification, r=ollie27
...
Add minification process
r? @QuietMisdreavus
2018-05-15 14:26:59 +02:00
Guillaume Gomez
f2bc09e68b
Fix invalid deduplication
2018-05-12 19:16:37 +02:00
Guillaume Gomez
e2db0a5630
Update js tester tool
2018-05-12 19:15:07 +02:00
Guillaume Gomez
2c91b49fe4
Add exact-check option to rustdoc-js tests
2018-05-09 19:17:13 +02:00
Guillaume Gomez
00bbda16a7
Add query search order check
2018-04-28 17:21:12 +02:00
Guillaume Gomez
31e7cc4ba4
update tester
2018-04-21 22:02:54 +02:00
Guillaume Gomez
47a9ffa573
Add multi-query search
2018-04-14 17:01:28 +02:00
Guillaume Gomez
3a7e247acb
Fix for older JS versions
2018-01-16 15:38:08 +01:00
Guillaume Gomez
43acd233b3
Add tester and a few tests
2018-01-12 22:51:34 +01:00
Guillaume Gomez
f18c52b223
Start adding js tests
2018-01-12 22:51:34 +01:00