aboutsummaryrefslogtreecommitdiff
path: root/lib/docs/index.html
AgeCommit message (Collapse)Author
2025-02-15Autodoc: report errors in user interfaceIan Johnson
Also includes panics by virtue of the previous commit, checking one item off #19249.
2025-01-16autodoc: fix device widthnobkd
2024-07-23autodoc: Preserve whitespace in inline code spansRyan Liptak
Fixes #20754
2024-06-08autodoc: fix misaligned table header when alignment is default (#20220)expikr
2024-03-10update autodocs web application to latestAndrew Kelley
upstream commit 1f921d540e1a8bb40839be30239019c820eb663d after this branch is merged, ziglang/zig becomes the new repository for this code.
2024-03-10upstream new autodocs implementationAndrew Kelley
2024-01-12Update styles in std docs to correct display glitchMichael Scott
2023-09-25Add embedded SVG favicon to reference doc templatesJay Petacat
The SVG looks way better than the pixelated PNG and will adapt best to whatever screen it is being displayed on. The PNG continues to be used because Apple Safari does not support SVG favicons yet. All other major browsers do. See https://caniuse.com/link-icon-svg. This is a companion PR to ziglang/www.ziglang.org#310.
2023-09-24autodoc: give explicit width to logoLoris Cro
fix #17251
2023-09-17autodoc: split json payload per fieldLoris Cro
this will make s3 re-enable compression for the stdlib's autodoc and improve loading times (and data usage) for users alongside this commit the deploy script for the official website is also being updated
2023-09-17autodoc: rename the doctest section in the frontend to 'Usage Examples'Loris Cro
2023-09-16autodoc: Fix styling of the navbarKrzysztof Wolicki
2023-09-09Autodoc: simplify search text on mobileIan Johnson
This prevents the placeholder text from spilling out of the search bar on smaller screens.
2023-09-09Autodoc: tweak page layoutIan Johnson
Closes #17011 Closes #17012 This commit allows the logo to scale more freely to fit its container, and removes some extra margins so that the content scroll bar is flush with the right side of the viewport.
2023-09-04autodoc: style links in source codeLoris Cro
2023-09-03autodoc: better light mode colorsLoris Cro
fix #15799
2023-09-03autodoc: Extract decl ref style and fix light mode color (#15990)James Chen-Smith
Co-authored-by: James Chen-Smith <james@chen-smith.net> Co-authored-by: Loris Cro <kappaloris@gmail.com>
2023-08-06autodoc: new layout (#16715)Loris Cro
* autodoc: init guide TOC work * autodoc: working guides toc navigation * autodoc: more improvements * autodoc: ui refinements * autodoc: new layout and init descriptions for namespaces in std.zig
2023-08-03autodoc: Added line_comment tokens to ziglexer.js tokenizerKrzysztof Wolicki
2023-07-28autodoc: improve styling of new help dropdownLoris Cro
2023-07-25autodoc: html page fixesLoris Cro
2023-07-25autodoc: improve handling of periods in search box and add search explainerLoris Cro
2023-07-14Autodoc tokenizer (#16409)Loris Cro
* autodoc: init work to refactor exprName * autodoc: Implement more expressions in exprName refactor * autodoc: more work * autodoc: More exprName to ex refactoring * autodoc: Remove whitespace flag from renderer; Add pre tags in value and variable drawing in renderContainer * autodoc: add inline styling to pre blocks * autodoc: move renderer code to main.js * autodoc: More exprName to ex refactoring; Fn signatures rendered with new code * autodoc: Fix function rendering. Add more things to ex * autodoc: nuke exprName --------- Co-authored-by: Krzysztof Wolicki <der.teufel.mail@gmail.com>
2023-07-06changed identifier to whiteEmile Badenhorst
2023-07-06Fixed names prefixEmile Badenhorst
2023-07-06updated cssEmile Badenhorst
2023-07-03autodoc: wire in js tokenizer to frontendLoris Cro
2023-06-28Autodoc: add preference for `/` searchIan Johnson
Closes #16081
2023-06-18Merge branch 'master' into autodoc-searchkeyLoris Cro
2023-05-03Add new shortcut to help popupcryptocode
2023-05-02autodoc: make the help modal toggleabler00ster91
Now you can simply press "?" again to toggle the help modal instead of requiring Esc. Both Esc and "?" work.
2023-04-29autodoc: Add / as an alternative search keycryptocode
Per Discord discussion. Motivation: `/` is now the de facto standard for initating search on webpages.
2023-04-26Autodoc: new decl search system (#15475)Loris Cro
New search system is based on a Radix Tree. The Radix Tree contains a shallow list of all decl names (ie no paths), plus some suffixes, split by following the official style guide (eg "HashMapUnmanaged" also produces "MapUnmanaged" and "Unmanaged", same with snake_case and camelCase names). Additionally, the search system uses the decl graph data to recognize hierarchical relationships between decls, allowing you to zero on a target namespace for search. As an example "fs create" will score highe all things related to the creation of files and directories inside of `std.fs`, while still showing (but with lower score) matches from `std.Bulild`. As another example "fs windows" will prioritize windows-related results in `std.fs`, while "windows fs" will prioritize fs-related results in `std.windows`.
2023-04-23autodoc: Change package to module to better reflect the new namesKrzysztof Wolicki
2023-04-15autodoc: add support for defining guide sectionsLoris Cro
For example: //!zig-autodoc-section: Advanced Topics
2023-01-24autodoc: init support for guidesLoris Cro
2023-01-12autodoc: use js instead of details for collapsing descriptionsClement Espeute
2023-01-11autodoc: scroll up when collapsing long fn descriptionLoris Cro
2023-01-10autodoc: allow function descriptions expansionClement Espeute
2023-01-05autodoc: fix bodyless fn type analysis and renderingLoris Cro
2023-01-03autodoc: show binding in lowercaseNguyễn Gia Phong
<S-s> is not bound and shortcuts popup already use lowercase.
2022-09-05autodoc: improve rendering of long fn signaturesLoris Cro
2022-09-04autodoc: add support for doc testsLoris Cro
2022-08-23Merge pull request #12481 from alichraghi/patch-1Loris Cro
docs: add padding between functions list
2022-08-19autodoc: Fix border color around field docs in light modeRyan Liptak
Follow up to https://github.com/ziglang/zig/pull/12305
2022-08-18docs: add padding between functions listAli Chraghi
2022-08-14fix: scroll page to very top when S is pressedr00ster91
Credits go to @rudedogg
2022-08-14feat: indent keyboard shortcutsr00ster91
This indents the keyboard shortcuts related to the S key because you can only use these keyboard shortcuts after you pressed S (when the search field is focused). This is a visual hint.
2022-08-14fix: var(--mono) used for font-sizer00ster91
2022-08-14feat: better No Results Found pager00ster91
This adds some helpful links to the page and makes it look nicer by using <kbd> etc.