Commit graph

171 commits

Author SHA1 Message Date
Anton-4
b552466755
glossary: type signature + typos upgrade (#7776)
* glossary: type signature

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>

* ignore toolchain for typos

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>

* fix typos

* put toolchain file back

---------

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2025-05-07 17:35:56 +02:00
Anton-4
f5dc4f6371
wrong main 2025-04-04 20:01:46 +02:00
Anton-4
dd11c2cf9c
llm docs improvements (#7726) 2025-04-04 18:37:46 +02:00
Anton-4
eb03ec77e0
Merge pull request #7477 from kukimik/patch-4
Mark :target entry using border
2025-02-05 11:40:38 +01:00
Richard Feldman
c5d07c07ec
Close docs search box when an entry is selected
This comes up when clicking a link that changes
the fragment only, meaning the page doesn't transition
and the box doesn't get closed that way.
2025-01-14 20:16:19 -05:00
Luke Boswell
9c527f890f
enable --root-dir for roc docs 2025-01-08 13:43:42 +11:00
Michał Kukieła
1c83ce4d8d
Mark :target entry using border
Commit a3762f60ad marked the current (:target) entry using background color. But then 11e736f3e8 set the background color for all entries. Thus we need another way to highlight the entry pointed at by the URL fragment.

Signed-off-by: Michał Kukieła <53443372+kukimik@users.noreply.github.com>
2025-01-07 17:40:51 +01:00
Ian McLerran
7c611c2372
fix single character string constant 2024-12-27 11:37:29 -06:00
Ian McLerran
58c59ead19
Fix links generated for any submodules 2024-12-27 11:22:56 -06:00
Anthony Bullard
ccc7071842
Better tablet layout, and syntax highlighted signatures 2024-12-21 08:59:46 -06:00
Anthony Bullard
9161de8e1f
Better tablet support for docs 2024-12-20 05:15:47 -06:00
Anthony Bullard
c9a1ca84b4
Merge pull request #7377 from gamebox/new-docs-template 2024-12-18 18:45:39 -06:00
Anthony Bullard
43a3dfe374
Fix dark mode syntax highlighting 2024-12-18 16:37:05 -06:00
Anthony Bullard
0cb8de5d67
Final A11y fixes and feedback 2024-12-18 08:46:53 -06:00
Anthony Bullard
76b61e6c55
Working towards a new color palette 2024-12-17 05:53:15 -06:00
Anthony Bullard
04029d36de
A few fixes 2024-12-17 05:53:15 -06:00
Anthony Bullard
11e736f3e8
New docs template 2024-12-17 05:53:13 -06:00
Michał Kukieła
a3762f60ad Highlight current :target entry name (#7299)
Signed-off-by: Michał Kukieła <53443372+kukimik@users.noreply.github.com>
2024-12-17 08:37:30 +01:00
faldor20
a7308130cf
clippy on everything 2024-12-12 20:54:25 +10:00
faldor20
81f2095e61
basic working
compiling, but still missing positions from expression errors
2024-12-12 20:54:25 +10:00
Alex Nuttall
7096531205
update search.js 2024-12-07 15:11:16 +00:00
Richard Feldman
a92cf2fdf9
Merge pull request #7275 from roc-lang/full-width-top-bar
Make the top bar go the full width of docs page
2024-11-30 11:48:05 -05:00
Richard Feldman
855d72b6ba
Put nav last on mobile 2024-11-29 20:20:08 -05:00
Richard Feldman
e9e90ad7ce
Fix overflow-x on <main> 2024-11-29 20:17:59 -05:00
Richard Feldman
cc919f2f91
Fix docs styling on mobile 2024-11-29 19:08:08 -05:00
Richard Feldman
be3c1a9445
Make the top bar go the full width of docs page 2024-11-29 18:19:50 -05:00
Richard Feldman
0e550a7f68
Merge pull request #7265 from roc-lang/workspace-deps
Update cargo dependencies to use workspace
2024-11-29 17:38:03 -05:00
Richard Feldman
52b261cf79
Hide the results whenever anyone clicks outside 2024-11-29 15:12:49 -05:00
Richard Feldman
956d07f179
Show all search results, each with max of 3 lines 2024-11-29 13:23:01 -05:00
Richard Feldman
9662b4b11d
Improve search result keyboard styling 2024-11-29 12:57:55 -05:00
Richard Feldman
0bf5c0aa59
Change background on search result hover 2024-11-29 12:54:56 -05:00
Richard Feldman
e528489835
Make search box keyboard-friendly 2024-11-29 12:20:54 -05:00
Richard Feldman
aabef9dd48
Restyle docs search results 2024-11-29 02:18:20 -05:00
Richard Feldman
b456ee9592
Remove a bunch of allocations from docs gen 2024-11-29 01:13:52 -05:00
Richard Feldman
74d0560699
Fix null-safety bug in search.js 2024-11-29 01:07:35 -05:00
Luke Boswell
a529079692
replace cargo deps with workspace in roc_docs 2024-11-29 10:44:44 +11:00
Luke Boswell
f5b4f8021e
Merge branch 'main' into hotfix/search-nav 2024-11-15 07:11:31 +11:00
Agus Zubiaga
8a65617704
Effectful function in docs 2024-11-07 18:54:19 -03:00
John Konecny
5e28756b1e
Fixed broken link for doc search on ios 2024-11-04 14:05:19 -05:00
John Konecny
470380993d
Addessed PR comments 2024-11-04 09:40:24 -05:00
John Konecny
d01ce48c97
Added LLM Prompt 2024-11-03 12:06:51 -05:00
John Konecny
3974c9a978
Added search by signature in docs 2024-10-26 16:43:11 -04:00
Omar Jatoi
3f318e2235
update existing calls to roc_cache_dir()
using `roc_cache_packages_dir()` instead, which will return "~/.cache/roc/packages", which was the existing functionality, but `roc_cache_dir()` will now return "~/.cache/roc"
2024-10-03 12:52:52 -04:00
Sam Mohr
e169529ede
Remove barely used zstd dependency 2024-08-16 10:10:29 -07:00
Agus Zubiaga
d14b1f805c
Fix LookedupSymbol reference in docs 2024-07-02 04:10:44 -03:00
Agus Zubiaga
2da7ea394b
Add --main flag to specify app/package to resolve deps from 2024-06-07 17:09:44 -03:00
Richard Feldman
17d761252f
Improve reporting for doc links problems 2024-04-26 16:31:20 -04:00
Anton-4
f085b96f78
removed unused deps, added CI test 2024-04-09 19:47:31 +02:00
Brendan Hansknecht
6dc5bfb1b7
Use roc_target over target_lexicon
Tailors a target class for our needs.
Replaces tons of uses across the entire compiler.
This is a base for later adding new targets like thumb.
2024-03-31 10:50:26 -07:00
Luke Boswell
370ac1e6b8
move suffixed parsing into chomp_identifier_chain 2024-03-22 19:22:05 +11:00