Commit Graph

22 Commits

Author SHA1 Message Date
Jake Leahy
86a6c90c9e Make search results be relative to documentation root (#21145)
Use Nim instead of JS for searching
2022-12-23 13:20:51 -05:00
Jake Leahy
753868f16c Fix #14476 (#20878)
* Use link from webpage. Closes #14476

* Update doc generation tests

* Update RST test
2022-11-21 14:59:06 -05:00
Amjad Ben Hedhili
b931e74a59 Cleanup dochack (#20299)
* Cleanup dochack

* xxx

* More cleanups
2022-09-04 01:38:38 -04:00
Amjad Ben Hedhili
70a8e0d65c Docs auto dark mode (#20188)
* Implement auto dark mode

* Rename class

* Fix borders cutout

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: ringabout <43030857+ringabout@users.noreply.github.com>
2022-08-21 16:56:12 -04:00
flywind
ded8b0e541 rewrite docs JS in Nim (#19701)
* rewrite docs JS in Nim

* fixup

* fix nimdoc/rsttester
2022-04-09 17:50:57 +02:00
ynfle
c80e2c1736 Docs: change clipboard cursor type to pointer (#19064) 2021-10-28 10:02:18 +02:00
Abishek PY
d634587423 feat: copy to clipboard (#18963)
* feat: copy to clipboard

* fix: CI failure related issue

* fix: CI failure issue

* fix: copy to clipboard button bug

* feat: copy pragmadots value to clipboard
2021-10-22 12:10:32 +02:00
flywind
5d8f862bc6 fix #16364 (#16379) [backport]
* fix #16364

* add comments

* Update tools/dochack/dochack.nim

Co-authored-by: Clyybber <darkmine956@gmail.com>

Co-authored-by: Clyybber <darkmine956@gmail.com>
2020-12-17 21:14:16 +01:00
flywind
9c86f4867e fix doc search(escape HTML code) (#15433)
* use release version

* fix doc search
2020-09-30 10:52:49 +02:00
Miran
06e0c75ba9 make fuzzy search a bit less fuzzy (#13996) [backport:1.2] 2020-04-16 20:22:32 +02:00
narimiran
cc3e9ca164 remove unused imports 2019-11-06 12:01:00 +01:00
Federico Ceratto
39290cf88c Fix spellings (#12277) [backport] 2019-09-27 07:02:54 +02:00
Arne Döring
d564130a3b Fix to int to biggest int (#12066)
* fix to(Biggest)Int
* kill toFloat magics as well
2019-08-27 23:18:46 +02:00
Andreas Rumpf
17d0ce9c1c DOM API: make compatible with Karax's requirements (#10517)
* DOM API: make compatible with Karax's requirements
* make tools\dochack.nim compile again
2019-02-02 00:21:13 +01:00
Ray Imber
8e258d3e8a Bugfix for fuzzysearch found by Zevv here: https://irclogs.nim-lang.org/28-09-2018.html#19:43:52 2018-09-28 15:52:51 -07:00
Araq
741f95e2d6 make dochack.nim compile again 2018-08-14 00:09:46 +02:00
Ray Imber
060871e64a Better doc search (#8260)
* Modified the doc generation to produce a custom data attribute to allow for better search functionality

* Implemented fuzzy matching for the Nim Doc search instead of the simple regex match.

* Fix to the WordBoundry state transition from code review with @Varriount. Also removed silly testing template that is no longer used.

* Update fuzzysearch.nim

* Update fuzzysearch.nim

* Update fuzzysearch.nim

* Update dochack.nim

* Update dochack.nim
2018-07-20 04:58:42 -05:00
Araq
0fd935332e local theindex path is accepted too by browsers 2016-09-09 21:00:06 +02:00
Araq
3dfc866710 docgen: working search feature 2016-09-09 20:42:02 +02:00
Andreas Rumpf
0a2cc05541 docgen: minor changes 2016-09-09 16:55:20 +02:00
Andreas Rumpf
7621bb05c9 docgen: search feature 2016-09-09 16:25:09 +02:00
Andreas Rumpf
083b31b473 docgen: group by type feature 2016-09-08 21:57:27 +02:00