summary refs log tree commit diff stats
path: root/tools/dochack/dochack.nim
Commit message (Collapse)AuthorAgeFilesLines
* Fix CSS for `number-lines` code blocks (#24081)Jake Leahy2024-09-091-2/+2
| | | | | | | | | | | | Adds a few fixes for when using code blocks with lines numbered - Use CSS variables for the colours so that it works in dark mode - Don't turn on normal table effects like hover and smaller font when its a line number table - With dochack.nim, don't add a clipboard copy button for the line numbers at the side [Example page showing the changes](https://66dcde6e4a655efb70771d9a--dazzling-kitten-6c3419.netlify.app/)
* Make search results be relative to documentation root (#21145)Jake Leahy2022-12-231-18/+30
| | | Use Nim instead of JS for searching
* Fix #14476 (#20878)Jake Leahy2022-11-211-1/+1
| | | | | | | * Use link from webpage. Closes #14476 * Update doc generation tests * Update RST test
* Cleanup dochack (#20299)Amjad Ben Hedhili2022-09-041-88/+36
| | | | | | | * Cleanup dochack * xxx * More cleanups
* Docs auto dark mode (#20188)Amjad Ben Hedhili2022-08-211-26/+14
| | | | | | | | | | | | | * 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>
* rewrite docs JS in Nim (#19701)flywind2022-04-091-1/+35
| | | | | | | * rewrite docs JS in Nim * fixup * fix nimdoc/rsttester
* Docs: change clipboard cursor type to `pointer` (#19064)ynfle2021-10-281-1/+2
|
* feat: copy to clipboard (#18963)Abishek PY2021-10-221-0/+56
| | | | | | | | | | | * 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
* fix #16364 (#16379) [backport]flywind2020-12-171-4/+2
| | | | | | | | | | | * fix #16364 * add comments * Update tools/dochack/dochack.nim Co-authored-by: Clyybber <darkmine956@gmail.com> Co-authored-by: Clyybber <darkmine956@gmail.com>
* fix doc search(escape HTML code) (#15433)flywind2020-09-301-0/+14
| | | | | * use release version * fix doc search
* make fuzzy search a bit less fuzzy (#13996) [backport:1.2]Miran2020-04-161-1/+1
|
* DOM API: make compatible with Karax's requirements (#10517)Andreas Rumpf2019-02-021-7/+38
| | | | | * DOM API: make compatible with Karax's requirements * make tools\dochack.nim compile again
* make dochack.nim compile againAraq2018-08-141-14/+14
|
* Better doc search (#8260)Ray Imber2018-07-201-16/+20
| | | | | | | | | | | | | | | | | | * 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
* local theindex path is accepted too by browsersAraq2016-09-091-1/+1
|
* docgen: working search featureAraq2016-09-091-7/+13
|
* docgen: minor changesAndreas Rumpf2016-09-091-4/+4
|
* docgen: search featureAndreas Rumpf2016-09-091-0/+59
|
* docgen: group by type featureAndreas Rumpf2016-09-081-0/+231