Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: dynamic docs content structure #82

Merged
merged 117 commits into from
Oct 17, 2024
Merged
Show file tree
Hide file tree
Changes from 112 commits
Commits
Show all changes
117 commits
Select commit Hold shift + click to select a range
4bec68a
move `lib/` in `src/`
morekid Sep 17, 2024
4ad46d3
switch output target from `static` to `hybrid`
morekid Sep 17, 2024
8804357
generate page for each collection entry
morekid Sep 17, 2024
c2e9a01
Revert "switch output target from `static` to `hybrid`"
morekid Sep 18, 2024
d601e20
adapt to static build using getStaticPaths
morekid Sep 18, 2024
bbff97d
fix imports
morekid Sep 18, 2024
c39ed49
add framework switcher widget
morekid Sep 18, 2024
909c772
FrameworkSwitcher: dispatch event
morekid Sep 19, 2024
ceb4209
comps for conditional rendering based on framework
morekid Sep 19, 2024
f10036c
rate-limiting/quick-start: page sample
morekid Sep 19, 2024
de594fd
Merge branch 'main' into morekid/docs-architecture
morekid Sep 19, 2024
31bbb4d
Merge branch 'main' into morekid/docs-architecture
morekid Sep 23, 2024
d2129bf
catch icon type mismatch
morekid Sep 23, 2024
f27e259
add todo
morekid Sep 23, 2024
4d4b1fe
custom TOC
morekid Sep 23, 2024
3110f39
use custom TOC
morekid Sep 23, 2024
10c8967
smooth scrolling
morekid Sep 23, 2024
cec27bb
add utilities
morekid Sep 24, 2024
99bbd97
refactor frameworks handling
morekid Sep 24, 2024
8a12d72
fix build error
morekid Sep 24, 2024
ddc0753
SlotByFramework: add ability to render inline + conform to provided f…
morekid Sep 25, 2024
33dd017
FrameworkName: conform to provided frameworks
morekid Sep 25, 2024
fb2de30
update slot names
morekid Sep 25, 2024
9abf328
further organize and simplify content handling
morekid Sep 26, 2024
9e73083
custom sidebar style and content
morekid Sep 26, 2024
ddd05f8
Merge branch 'main' into morekid/docs-architecture
morekid Sep 26, 2024
ebb51b6
add base rate limiting reference page and remove configuration link
morekid Sep 26, 2024
4a7d121
show framework switcher only if `frameworks` is defined in frontmatter
morekid Sep 26, 2024
db6a332
make `frameworks` required
morekid Sep 26, 2024
33c6522
simplify state management with `nanostores`
morekid Sep 26, 2024
6f82092
use url param for framework switching
morekid Sep 26, 2024
fb273cb
Merge branch 'main' into morekid/docs-architecture
morekid Oct 2, 2024
1700dbe
fix sidebar double scrollbar
morekid Oct 2, 2024
2e867f8
TOC: narrower props
morekid Oct 2, 2024
5397c48
fix build erroring on link validation
morekid Oct 3, 2024
9b04e86
fix vertical rhythm of aside in SlotByFramework
morekid Oct 3, 2024
473e471
TOC: refactor to provide mobile styles and behaviour
morekid Oct 3, 2024
86087f7
cleanup
morekid Oct 4, 2024
a23da51
Merge branch 'main' into morekid/docs-architecture
morekid Oct 7, 2024
0b0aa4c
make frameworks prop optional by relying on data in store
morekid Oct 7, 2024
f843245
styles cleanup
morekid Oct 7, 2024
86b58ef
sync changed framework in the switcher
morekid Oct 7, 2024
d276a51
rely on displayed framework to trigger the useEffect hook
morekid Oct 7, 2024
47a7ffa
refactor framework persisting logic to fix glitches
morekid Oct 7, 2024
8f47990
SelectableContent: add component
morekid Oct 7, 2024
d66dfdf
fix ts error
morekid Oct 7, 2024
b952e7f
add sorting utils
morekid Oct 7, 2024
077049a
SelectableContent: handle local storage
morekid Oct 7, 2024
b6873f5
more selectable content examples
morekid Oct 7, 2024
bba6231
replace more tabs with selectable content
morekid Oct 7, 2024
026754c
test select customization
morekid Oct 7, 2024
c7bbc7c
fix utility
morekid Oct 8, 2024
cff2800
make all but the TOC comp load on request idle
morekid Oct 8, 2024
2aacf16
FrameworkSwitcher: fix hydration error
morekid Oct 8, 2024
1a6f792
Select: add base component
morekid Oct 8, 2024
09cd75e
package update
morekid Oct 8, 2024
187b3af
TOC: correctly update based on displayed framework
morekid Oct 8, 2024
dabcd8b
avoid flash of content in page sidebar
morekid Oct 8, 2024
0132926
Skeleton: add loading skeleton comp
morekid Oct 8, 2024
3af481a
add loading to dynamic content
morekid Oct 8, 2024
828b40a
fix build errors
morekid Oct 8, 2024
fae879a
Select: basic styling
morekid Oct 8, 2024
624aaa0
TOC: add label to switcher
morekid Oct 9, 2024
0312c61
lib/ui: ui types
morekid Oct 9, 2024
d9714b1
Select: fully style
morekid Oct 9, 2024
a8d0961
add icons
morekid Oct 9, 2024
f496599
prefs: add other frameworks
morekid Oct 9, 2024
eb80359
Select: add decorators
morekid Oct 9, 2024
029b773
TOC: improve styling
morekid Oct 9, 2024
81128de
FrameworkSwitcher: add framework icons
morekid Oct 9, 2024
2847033
FrameworkSwitcher: defend
morekid Oct 9, 2024
bc17377
Select: update text when props.value changes
morekid Oct 9, 2024
1dcf53f
fix type import error
morekid Oct 9, 2024
adc2353
Skeleton: correct fade appearance
morekid Oct 9, 2024
71b29c0
Sort asc so npm shows up first
davidmytton Oct 10, 2024
8cf2e84
Revert "Sort asc so npm shows up first"
davidmytton Oct 10, 2024
7eec8a7
Adjustments
davidmytton Oct 10, 2024
bc31b3c
Merge branch 'main' into morekid/docs-architecture
davidmytton Oct 11, 2024
46fb310
Migrate bot protection quick start (#135)
davidmytton Oct 11, 2024
7229dfc
Migrate sensitive info quick start
davidmytton Oct 11, 2024
af0d276
Migrate email validation quick start
davidmytton Oct 13, 2024
ee8f0d5
Migrate shield quick start (#138)
RS-labhub Oct 13, 2024
8132821
Bun fragment slots
davidmytton Oct 13, 2024
4c54dfd
Testing bot protection reference
davidmytton Oct 13, 2024
f3d06c3
SelectableContent: tighter spacing
morekid Oct 14, 2024
872f8be
SelectableContent: add means to order the slots
morekid Oct 14, 2024
6361b5d
update to indexed slots
morekid Oct 14, 2024
0264e9e
Migrate signup form protection quick start (#140)
RS-labhub Oct 15, 2024
ecc3ce7
client:idle > client:load to fix erratic rendering
morekid Oct 15, 2024
a304eb1
cleanup imports
morekid Oct 15, 2024
567688d
fix tag
morekid Oct 15, 2024
f8e9d94
adjust page sidebar spacing
morekid Oct 15, 2024
f1542c9
remove dynmic route and layout
morekid Oct 15, 2024
bfe35bd
Bot protection reference
davidmytton Oct 15, 2024
38e7429
Completed bot detection
davidmytton Oct 15, 2024
89325dc
generalize slot parsing function
morekid Oct 16, 2024
fd3e4d4
refine h1 styling
morekid Oct 16, 2024
113b81e
TextByFramework: refactor for consistency
morekid Oct 16, 2024
6aef551
PageTitle: allow page title customization
morekid Oct 16, 2024
b9fd2a7
styles: add Aj DS vars and refactor
morekid Oct 16, 2024
a767452
layout styling
morekid Oct 16, 2024
6085a1b
layout content styling
morekid Oct 16, 2024
de93b01
search button styling
morekid Oct 16, 2024
fc3e68f
add expressive code plugins
morekid Oct 16, 2024
f2bc01c
vars: fix typography vars
morekid Oct 16, 2024
4c2e8a3
add expressive code custom styles
morekid Oct 16, 2024
4dc42b5
add aj theme for expressive code
morekid Oct 16, 2024
7d1ece4
Email validation reference
davidmytton Oct 16, 2024
3e86e90
Shield reference
davidmytton Oct 17, 2024
24f2f0e
css refactor + bg brightness tweak
morekid Oct 17, 2024
19c498e
Rate limiting reference
davidmytton Oct 17, 2024
b2d8a8e
Sensitive info & signup protection
davidmytton Oct 17, 2024
1c540ea
adjust hero
morekid Oct 17, 2024
e53b088
fix standard page sidebar padding
morekid Oct 17, 2024
125dea4
sidebars fixes
morekid Oct 17, 2024
c924803
fix html bg
morekid Oct 17, 2024
e6c49fb
Next.js icon, fix rendering
morekid Oct 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ the [Apache License, Version 2.0](./LICENSE-CODE).
[starlight]: https://starlight.astro.build
[arcjet-security]: https://docs.arcjet.com/security
[example-url]: https://example.arcjet.com
[discord-invite]: https://discord.gg/TPra6jqZDC
[discord-invite]: https://arcjet.com/discord
[support]: https://docs.arcjet.com/support
Loading