Commit Graph

14596 Commits

Author SHA1 Message Date
Bjørn Erik Pedersen 1c00bbc455 theme: Update npm dependencies
```
ncu --upgrade
```
2025-03-14 19:26:50 +01:00
Joe Mooring 533149bf95 theme: Include section pages in related content 2025-03-14 09:59:56 +01:00
Joe Mooring 2b6bda6bd6 content: Fix typos 2025-03-12 12:38:25 -07:00
Joe Mooring 92ce95cbb8 content: Miscellaneous edits 2025-03-12 12:23:49 -07:00
Bjørn Erik Pedersen f129366810 theme: Add a simple LRU cache for search 2025-03-11 16:57:59 +01:00
Bjørn Erik Pedersen 339ca33883 Fix the previous broken commit 2025-03-11 15:11:12 +01:00
Bjørn Erik Pedersen 8537e59e02 Make it into a non-link
Ref. https://docsearch.algolia.com/docs/docsearch-program/

"DocSearch free for everyone. All we ask in exchange is that you keep the "Search by Algolia" logo displayed next to the search results."

It doesn't say anything about it being a link, so this should cover it.
2025-03-11 15:06:49 +01:00
Bjørn Erik Pedersen e13f17d293 Add Algolia logo/link to the search listing dialog
A requirement to use the Docsearch for free.
2025-03-11 11:20:15 +01:00
Matt Dodson d3e09e8866 content: Fix typo 2025-03-10 13:47:19 -07:00
Joe Mooring 7217f64b67 content: Miscellaneous edits 2025-03-09 23:29:40 -07:00
Joe Mooring 51aa1ae73a content: Improve some examples 2025-03-09 17:07:38 -07:00
Joe Mooring 8ebaa53f93 theme: Adjust shortcodes 2025-03-09 12:01:23 -07:00
Bjørn Erik Pedersen 8988704383 theme: Hide anchor until mouse-over
Fixes #2982
2025-03-09 18:05:52 +01:00
Joe Mooring c933ea237e content: More front matter cleanup 2025-03-08 17:49:48 -08:00
Joe Mooring f26ca047a5 content: Miscellaneous edits 2025-03-08 15:25:11 -08:00
Bjørn Erik Pedersen e272b2039c theme: Fix inline partial refs
I had a head scratching moment as to why this failed in my re-implementation of template handling in Hugo, but this isn't how we can have it behave going forward.
2025-03-08 17:06:31 +01:00
Joe Mooring c540e6d295 content: Replace note shortcode calls with blockquote alerts 2025-03-08 06:00:23 -08:00
Joe Mooring aef899bc54 theme: Add title and QR code when printing 2025-03-07 18:50:03 -08:00
Joe Mooring bd46ef6265 theme: Implement blockquote render hook
Supports basic alert syntax:

> [!NOTE]
> Useful information that users should know, even when skimming content.

> [!TIP]
> Helpful advice for doing things better or more easily.

> [!IMPORTANT]
> Key information users need to know to achieve their goal.

> [!WARNING]
> Urgent info that needs immediate user attention to avoid problems.

> [!CAUTION]
> Advises about risks or negative outcomes of certain actions.
2025-03-07 18:50:03 -08:00
Joe Mooring ddefbefaaf content: Improve contributing page 2025-03-07 18:50:03 -08:00
Joe Mooring f41d28ee12 content: Adjust usage of whitespace removal with action delimiters 2025-03-07 18:50:03 -08:00
Joe Mooring 03315336df theme: Use full title in related content sidebar
If defined, params.altTitle will be used instead. This gives us some
flexibility.

Closes #2965
2025-03-06 17:47:57 -08:00
Joe Mooring 4f4076364f misc: Document the front matter fields used on this site 2025-03-06 17:47:57 -08:00
Joe Mooring 2f78d76328 misc: Fix gitignore file
It was ignoring reesource functions
2025-03-06 17:47:57 -08:00
Joe Mooring 7de6dbab39 content: Fix front matter for several function pages 2025-03-06 17:47:57 -08:00
Joe Mooring 5d3542ea69 config: Disable tags taxonomy 2025-03-06 17:47:57 -08:00
Joe Mooring 68bc28d674 content: Add linkTitle to shortcode pages 2025-03-06 17:47:57 -08:00
Joe Mooring 5f32c92ed9 theme: Restore deduplication logic for related items 2025-03-06 09:07:27 -08:00
Joe Mooring a943a4bb83 theme: Implement related content tooling 2025-03-06 02:55:29 -08:00
Joe Mooring fd628be6ed content: Replace calls to the code shortcode with fenced code blocks 2025-03-06 02:49:11 -08:00
Joe Mooring b23c9a583a content: Fix position of new-in badges 2025-03-05 19:32:34 -08:00
Joe Mooring ec056f251e content: Fix typo 2025-03-05 19:03:28 -08:00
Joe Mooring 245351c846 theme: Adjust spacing in highlighting theme examples 2025-03-05 17:03:42 -08:00
Joe Mooring 2fcd21ee5c content: Remove "related" array from function and method pages
Closes #2967
2025-03-05 17:03:42 -08:00
Joe Mooring 71d8426ee6 theme: Create code block render hook 2025-03-05 17:03:42 -08:00
Joe Mooring 4cdde66496 theme: Adjust number of news items to display 2025-03-05 17:03:42 -08:00
Joe Mooring 34ab45261f content: Miscellaneous edits 2025-03-05 17:03:42 -08:00
Joe Mooring b6cae5cbc6 content: Consolidate configuration documentation 2025-03-05 04:50:06 -08:00
Joe Mooring 727ef6f665 theme: Fix overflow issue for wide tables 2025-03-03 17:29:44 -08:00
Bangel c4f759e016 Add es2024
this looks like it was added here: https://github.com/gohugoio/hugo/pull/12641/files#diff-7cdb1b21088d3cf238702166ae0ebc064f18894c9cc7b065de47b954946e4044
2025-03-03 15:34:47 +01:00
Bangel 93cce62c81 Update support list of more recent targets with js.Build / esbuild
This commit added support for up to es2023 but the docs need to be updated https://github.com/gohugoio/hugo/commit/1cdd3d0a9e4a988fb505a1bcbb3e7692b64bef55#diff-5223fc9312c6fe5c4ef688ea1007031d660142fb76b601e2c75bbff9dbb814e7
2025-03-03 15:34:47 +01:00
Bjørn Erik Pedersen 974d0655f7 Update hosting-on-codeberg.md 2025-03-01 19:17:35 +01:00
cujohub b3f0ed9cef content: Add hosting instructions for Codeberg Pages 2025-02-28 17:13:49 -08:00
cujohub 8217c0900f content: Correct the SourceHut repository URL 2025-02-28 14:37:39 -08:00
cujohub a8cf3d28fe content: Add hosting instructions for SourceHut Pages 2025-02-28 14:25:43 -08:00
Joe Mooring 8c059cbe14 theme: Use content adapter for news section 2025-02-28 14:15:31 -08:00
Bjørn Erik Pedersen 03938c600c Remove some old new-in 2025-02-27 20:43:26 +01:00
meltingscales 5c50a75e8d content: Fix typo 2025-02-27 10:14:52 -08:00
Bjørn Erik Pedersen 5cf89f2f6d theme: Re-enable banner gtag outbound link tracking
Closes #2946
2025-02-27 09:22:18 +01:00
Bjørn Erik Pedersen 3c555d5f8a One more copy button 2025-02-26 20:21:57 +01:00