aboutsummaryrefslogtreecommitdiff
path: root/lib/docs/main.js
AgeCommit message (Collapse)Author
2022-09-11autodoc: fix regression in frontend rendering of valuesLoris Cro
2022-09-11autodoc: reduce json payload sizeLoris Cro
this commit removes whitespace and changes Decl, AstNode and Type to be json arrays instead of json objects. This change reduces json payload size for the stdlib from 25mb to < 10mb.
2022-09-05autodoc: improve rendering of long fn signaturesLoris Cro
2022-09-04autodoc: Opaque now handled like other container typesDer Teufel
2022-09-04autodoc: add support for doc testsLoris Cro
2022-09-02Merge pull request #12705 from der-teufel-programming/autodoc-big-intLoris Cro
Autodoc big_int
2022-09-02Merge pull request #12709 from der-teufel-programming/autodoc-compare-operatorsLoris Cro
autodoc: Compare operators
2022-09-02autodoc: correct line number implementationLoris Cro
we also correctly take advantage of the starting byte offset of the parent decl when calling `tree.tokenLocation()`!
2022-09-02autodoc: Added int_big supportDer Teufel
2022-09-01autodoc: Compare operatorsDer Teufel
2022-08-27autodoc: better line counting for declsLoris Cro
2022-08-26Merge pull request #12600 from ominitay/autodocs-errorsetLoris Cro
autodocs: improve error set rendering
2022-08-26Merge pull request #12601 from ominitay/autodocs-shortdescLoris Cro
autodocs: improve first-line descriptions
2022-08-23autodocs: improve first-line descriptionsominitay
2022-08-23autodocs: improve error set renderingominitay
2022-08-23autodoc: handle self-referential call+field_type instructionsLoris Cro
2022-08-23autodoc: initial support for struct_init_anonLoris Cro
2022-08-23Merge pull request #12542 from der-teufel-programming/compileError-inputLoris Cro
autodoc: show compileErrors correctly
2022-08-23autodoc: error sets now display all their membersDer Teufel
2022-08-21autodoc: Fixed compileError case in exprNameDer Teufel
2022-08-21autodoc: compileError now uses index into `exprs` instead of a `[]const u8`Der Teufel
2022-08-18autodoc: minor pr cleanupLoris Cro
2022-08-18autodoc: An attempt at generating HTML files from all imported sourceDer Teufel
files. Files generated from the standard library could be considered for placing with main.js and index.html in lib/docs. Paths should reflect packages in the future.
2022-08-16Merge branch 'master' into autodoc-linksLoris Cro
2022-08-16autodoc: absolute line numbers in decl [src] linksLoris Cro
2022-08-16autodoc: remove reference to github, replace with placeholder linkLoris Cro
2022-08-14fix: scroll page to very top when S is pressedr00ster91
Credits go to @rudedogg
2022-08-14bug: add TODOr00ster91
2022-08-14docs: add commentr00ster91
2022-08-14style: formatr00ster91
Some formatting, apparently.
2022-08-14feat: make modal more restrictive and more Esc freedomr00ster91
This makes it so that you can no longer interact with the search bar or the results or anything while the modal is open. That's why it's a "modal" and not a "dialog". It also makes it so that you can now always press Esc to return to the results or the main page. Previously this was only possible when the search field was active.
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.
2022-08-08autodoc: links to source codeMaciej 'vesim' KuliƄski
2022-08-08fix: cleanup recent changesr00ster91
2022-08-06Merge branch 'master' into nicedocszooster
2022-08-06autodoc: use location.replace to avoid history spam when searchingLoris Cro
2022-08-06autodoc: re-introduce search result limitsLoris Cro
2022-08-06let -> const for dom elementsr00ster91
These should never be reassigned.
2022-08-06style: missing semir00ster91
2022-08-06fix: disable search bar before loadingr00ster91
This fixes the new search placeholder not disappearing if you type before it finished loading, and maybe some other things.
2022-08-06feat: new search placeholderr00ster91
This new search placeholder looks much nicer because it allows HTML inside it which the `placeholder` attribute on `<input>`s doesn't allow. I tested it for all kinds of cases and it seems to work pretty well.
2022-08-06fix: "dialog" -> "modal"r00ster91
"Dialog" is the incorrect term here because a dialog is a separate window that still lets you use the app but a modal is a window where you can't continue using the app until you close it.
2022-08-06feat: make help modal disappear if you click outside itr00ster91
2022-08-05autodoc: only modify the DOM once to display the search resultsAustin Rude
2022-08-05autodoc: Run through prettier formatter with default settingsAustin Rude
2022-08-05autodoc: fix inconsistency when indexing generic types for searchLoris Cro
closes #12334
2022-08-03autodoc: inferred error unions in function return valuesLoris Cro
2022-08-02autodoc: fix autodoc analysis for `@typeInfo`Loris Cro
We were previously erroneously saving it as a `@TypeOf`.
2022-08-02autodoc: fix frontend crash while rendering std.memLoris Cro
Previously we expected to only find decl refs in a `foo.bar.baz` type of expression. This would crash when trying to render something like `@typeInfo(T).Int.bits`. We now properly account for builtins and other components.
2022-08-02Merge pull request #12276 from r00ster91/shortdescLoris Cro
autodoc: better short description algorithm