Henrik Böving
54cf445e12
fix : #114
2023-02-16 18:14:40 +01:00
Jeremy Salwen
1cb84f6d74
Add filters for search results based on kind.
...
This allows you to search defs, theorems, etc independently.
2023-02-01 15:15:45 +01:00
Jeremy Salwen
3a977a94ca
Fix issues with Search page impelementation
...
- Makes the autocomplete results highlight with up/down arrows.
- Allows you to unselect autocomplete results by using arrow keys.
- Fixed a bug in previous commits where enter did not take you to autocomplete result.
- Return now goes to the search page if no autocomplete result is selected.
- Search results table now properly wraps. (It would be nice to make it wider but I wasn't able to).
- Fixed a bug in the previous commit where docs were not showing, due to failure to copy a modified js file.
2023-01-28 23:00:53 +01:00
Jeremy Salwen
1575eeedd2
Add definition doc string to search result page.
...
Adds a two-column table to the search results so you can see the doc string next to
the result. The doc string is not parsed/converted to markdown yet, but that could
be done later.
2023-01-28 23:00:53 +01:00
Jeremy Salwen
033003c6cb
Add a search page to the docs.
...
Now instead of clicking the "Google Site Search"' button, the user has the option
of clicking the "Search" button, which will take them to a results page. Currently,
the results are identical to the autocomplete results, but the number of results
is not limited to 30. In the future, more information and search options could
be added to this page to make a more powerful search.
Fixes #107
2023-01-28 23:00:53 +01:00
Parth Shastri
664a86e08b
fix: minor style improvements
2022-11-06 13:53:23 +01:00
Ruben Van de Velde
153982f982
Work around unsupported RegExp lookbehind in WebKit. ( #85 )
...
* Work around unsupported RegExp lookbehind in WebKit.
* Update static/find/find.js
Co-authored-by: Mario Carneiro <di.gama@gmail.com>
Co-authored-by: Mario Carneiro <di.gama@gmail.com>
2022-10-20 18:21:33 +02:00
Henrik Böving
247b930364
feat: instances for
2022-07-23 15:40:08 +02:00
Henrik Böving
5a65c64d4c
fix: alignment of navbar
2022-07-22 17:18:09 +02:00
Henrik Böving
6be2e4dc4e
feat: importedBy via Javascript
2022-07-22 16:56:51 +02:00
Henrik Böving
2ffff99f90
feat: instances from JSON
2022-07-22 16:15:37 +02:00
Henrik Böving
bb9b55ef2c
feat: Step 1 for full separate builds with global info
2022-07-22 14:48:36 +02:00
Henrik Böving
80cb92eb94
feat: Use iframe for navbar to move it into the finalize stage
2022-07-21 22:06:26 +02:00
Henrik Böving
71af8db54b
feat: Declaration data into separate directory
2022-07-21 21:05:19 +02:00
Henrik Böving
601b895e89
feat: Inductive constructor doc strings
2022-07-21 20:23:27 +02:00
Henrik Böving
25b1ddb66b
feat: Preparations to split doc-gen build process
2022-07-21 01:40:04 +02:00
Henrik Böving
be3caa9e1a
feat: Basic semantic highlighting support
2022-06-20 22:21:48 +02:00
Henrik Böving
9f50966339
feat: initial LeanInk HTML generation
2022-06-20 18:39:55 +02:00
Henrik Böving
7c9237ffb4
chore: update compiler and lake
2022-06-19 16:41:59 +02:00
Henrik Böving
a7c00d95e6
feat: Render doc comments for structure fields
2022-04-09 21:39:34 +02:00
Henrik Böving
3ac6ddd1ab
fix: port the SITE_ROOT fix to find.js
2022-04-07 13:14:01 +02:00
Henrik Böving
67402506c7
fix: links in search
2022-04-07 12:44:33 +02:00
Henrik Böving
06c20ee46f
dynamically change SITE_ROOT since we are relative now
2022-04-07 12:39:32 +02:00
Xubai Wang
0ec492ba98
fix: error handling for declaration data
2022-03-14 10:59:25 +08:00
Henrik Böving
9dd5e316c1
Merge pull request #38 from xubaiw/win-find
...
Windows find support among other things.
2022-02-23 19:44:47 +01:00
Xubai Wang
a50ca857aa
fix: wrap navbar overflow
2022-02-23 23:28:15 +08:00
Xubai Wang
2b217ecda0
fix: fix find search
2022-02-23 05:32:37 +08:00
Xubai Wang
a18e343829
refactor: change find syntax
2022-02-23 04:26:20 +08:00
Xubai Wang
e4ccc5cf50
feat: add browser cache for data
...
fix search name
2022-02-22 23:20:20 +08:00
Xubai Wang
004977e6e4
refactor: use strict match for find
2022-02-22 15:01:14 +08:00
Xubai Wang
f23556739f
refactor: clean up javascript code
2022-02-22 12:40:14 +08:00
Xubai Wang
9e867f5151
refactor: make site-root an actual file
2022-02-21 23:29:23 +08:00
Xubai Wang
bc0dd3b48a
feat: add src endpoint
2022-02-21 01:38:12 +08:00
Xubai Wang
59707cda58
refactor: use js for find
2022-02-21 01:12:49 +08:00
Xubai Wang
5e93038023
refactor: use js modules
2022-02-21 00:06:15 +08:00
Xubai Wang
842e243241
revert: use bmp extension again
2022-02-20 23:45:31 +08:00
Xubai Wang
a89cf7d7a4
refactor: move siteRoot to separate file
2022-02-20 23:24:08 +08:00
Xubai Wang
9f13773a7d
refactor: use json ext instead of bmp
2022-02-20 22:54:57 +08:00
Xubai Wang
189e5dacdb
Merge remote-tracking branch 'upstream/main' into docstring
2022-02-20 03:40:55 +08:00
Xubai Wang
2f5a95b312
fix: add nav link to non leaf node modules
2022-02-18 14:12:05 +08:00
Xubai Wang
5dc3ab855f
feat: config mathjax like doc-gen
2022-02-18 03:27:00 +08:00
Henrik Böving
4b9b7d77d5
chore: Update doc-gen search js
2022-02-13 14:25:37 +01:00
Henrik Böving
4d63f90449
feat: Custom structure ctors
...
Add the ability to show customly named structure constructors as well
as a little cosmetic change to how structure fields are displayed.
2022-02-02 12:53:04 +01:00
Gabriel Ebner
5ed0a8e99f
fix: do not show top-level modules twice in navbar
2022-01-20 15:38:48 +01:00
Henrik Böving
e67ea1d1f0
feat: change CSS to acount for classes and instances
2022-01-06 14:19:14 +01:00
Henrik Böving
8a58752c56
feat: display structures and their fields properly
2022-01-06 01:44:11 +01:00
Henrik Böving
551eeee09d
feat: import nav.js
...
Just a copy and paste + include in the template, it will most likely
have to be modified in the future.
2021-12-13 21:36:21 +01:00
Henrik Böving
ded884ce9c
feat: HTML Index + CSS
2021-12-12 13:38:31 +01:00