Commit graph

74 commits

Author SHA1 Message Date
Rebecca Le
242771dca9
fix: Rewrite theme setting to properly support system theme
The existing code was a bit convoluted, and did not work correctly
when toggling the theme back to the system theme - neither theme was
properly applied on page load (cookie was present, so no theming was added)

This also fixes the edge case where changing the system theme would
override the site theme, due to not reading/using the cookie
value correctly
2023-10-03 12:11:07 +08:00
Zach Daniel
20f1e277da improvement: don't load data, don't check library versions 2023-09-27 02:26:16 -04:00
Zach Daniel
4e36a93e07 improvement: migrate from discord forum logic to elixirforum logic
improvement: search now searches hexdocs
2023-09-27 00:23:56 -04:00
Rebecca Le
e2c039f861
fix: Correct formatting of all list positions, and remove margins from prose paragraphs inside list items
Earmark will wrap list item contents in paragraphs only when there
are sibling elements, meaning that the margins can be inconsistent
2023-05-03 11:14:52 +08:00
Zach Daniel
8f50f5cd5b improvement: single page DSLs 2023-02-21 00:52:45 -05:00
Rebecca Le
9bf8226aa4
improvement: Add text overflow for doc path in mobile view 2023-02-07 12:29:23 +08:00
Zach Daniel
b458e8c2a2 improvement: rewrite sidebar to be static 2023-02-06 12:35:52 -05:00
Rebecca Le
af6d155537
Possibly show the loading progress bar even on patch requests
In production there's a noticeable lag between clicking a sidebar
link and the page loading, so there should be some kind of indicator
that things are happening behind the scenes

The comment also says 120ms, so now the code actually uses 120ms
instead of 500ms.
2023-02-06 10:32:48 +08:00
Zach Daniel
fef150c941 chore: fix topbar behavior & add missing alias 2023-02-02 00:52:06 -05:00
Rebecca Le
95c1d7b486
chore: remove mermaid.js (#87) 2023-02-01 02:56:41 -05:00
Rebecca Le
6d91e70d5b
improvement: Catalogue UI (#86) 2023-01-31 11:13:42 -05:00
Rebecca Le
3451211c2c
improvement: Colour unification (#84) 2023-01-30 09:21:42 -05:00
Rebecca Le
19266f2913
fix: Remember selected library versions (#82) 2023-01-29 22:21:50 -05:00
Rebecca Le
f2cf225fa1
improvement: Allow heading margins to collapse in guide content (#79) 2023-01-25 02:39:48 -05:00
Rebecca Le
faa0147402
improvement: Show overflowing text as a title tooltip in table of contents (#77) 2023-01-24 23:34:22 -05:00
Rebecca Le
b8d842b7e5
improvement: Sidebar/table of contents styling tweaks (#76) 2023-01-24 09:02:46 -05:00
Rebecca Le
81db299959
improvement: Table of Contents for guides (#74) 2023-01-23 08:12:29 -05:00
Zach Daniel
00b3a8e1d6
improvement: move to ash_authentication (#71) 2023-01-12 23:52:58 -05:00
Zach Daniel
c629823113 remove christmas 2023-01-04 11:18:04 -05:00
Zach Daniel
4dbce29e9b improvement: don't set anchor on scroll, only on click 2023-01-04 11:03:34 -05:00
Zach Daniel
7e11542667 fix: use replaceState instead of pushState 2023-01-04 10:56:10 -05:00
Zach Daniel
94540348da improvement: allow disabling snowflakes 2022-12-21 17:40:37 -05:00
Zach Daniel
a5230054b0 holiday site and blog post 2022-12-21 02:25:09 -05:00
Zach Daniel
8ca9084efd improvement: 500ms top bar timer 2022-12-14 11:01:41 -05:00
Zach Daniel
90361ea780 improvement: fix search toggling and lay groundwork for popovers/linking 2022-11-26 02:53:55 -05:00
Mike Buhot
1012d1edbc
fix: Dark mode borders and scrollbars (#57) 2022-11-16 00:29:29 -05:00
Mike Buhot
cece73b141
improvement: improve docs layout and scrolling behavior (#55)
fix: prevent strange behavior when scrolling from URL hash to elements near end of document
2022-11-15 20:27:24 -05:00
Mike Buhot
1265f289c0
Feat(DocSidebar): Extract TreeView component to improve consistency (#48)
With the TreeView component, the behaviour of each node can be
controlled with options for collapsable, indent_guide, icon, link, etc.

The sidebar looks roughly the same, with some improvements to spacing
and some items can be collapsed now where the couldn't previously.
2022-11-13 10:43:11 -05:00
Zach Daniel
1d0b041fe9 fix: don't scroll sidebar based on main docs window scroll position
closes #43
2022-11-01 03:48:09 -04:00
Zach Daniel
c68c93ed26 improvement: tons of improvements, add ash_blog 2022-11-01 03:20:09 -04:00
Zach Daniel
81cc0d41e4 improvement: change key shortcut based on device brand 2022-10-25 23:53:18 -05:00
Zach Daniel
8a05495fb7 improvement: close sidebar on navigate
improvement: add list of dsl sections when viewing extension
2022-10-25 23:28:25 -05:00
Zach Daniel
8910752ac3 improvement: add more quotes 2022-10-22 05:51:22 -06:00
Zach Daniel
9b9ec753e7 improvement: use the new Tails library 2022-10-11 15:19:19 -04:00
Zach Daniel
798426e5fe improvement: add library catalogue 2022-09-27 23:18:05 -04:00
Zach Daniel
e725df6c1e chore: various fixes/improvements 2022-09-27 14:19:19 -04:00
Zach Daniel
fa07573511 improvement: lots of docs fixes! 2022-09-15 18:35:33 -04:00
Zach Daniel
d0881f25db improvement: keep everything open 2022-09-12 21:25:03 -04:00
Zach Daniel
e1f4635371 improvement: remove sidebar collapsing (maybe) 2022-09-12 20:35:59 -04:00
Zach Daniel
f515484441 improvement: monitoring/images/cleanup 2022-09-12 19:36:28 -04:00
Zach Daniel
497d05e8ec improvement: fix various anchor & scroll issues 2022-09-12 13:44:52 -04:00
Zach Daniel
30d55df185 improvement: add basic live view native, various other small fixes 2022-09-09 00:35:16 -04:00
Theosaurus-Rex
60cfefcc30 style: tweak theme and adjust landing page to match 2022-09-09 13:23:57 +10:00
brettkolodny
e24bd9c579 style: change gray to base-light and base-dark 2022-09-07 23:51:47 -04:00
brettkolodny
a5ceccd31e style: change orange to primary 2022-09-07 23:18:18 -04:00
brettkolodny
fef2a6045c style: add light and dark themes 2022-09-07 23:02:18 -04:00
brettkolodny
3991ac775d fix: fix right nav links and scrolling 2022-09-07 11:53:36 -04:00
brettkolodny
c8bd91cf8d style: custom scrollbar 2022-09-07 10:48:10 -04:00
Zach Daniel
0fb42c649c fix: can't use LiveRedirect for some reason? 2022-09-05 15:12:55 -04:00
Zach Daniel
eb4afad29a fix: properly check cookie consent status 2022-09-05 13:47:12 -04:00