Documentation/content
oatbiscuits 55a504e33a Add search functionality (#370)
This should solve #23.

This is a fully static search implementation powered by [Pagefind](https://pagefind.app/).

In terms of UI, I found and implemented a section in the sidebar for searching the documentation. It was hidden presumably waiting for implementation. It mentioned using the slash (/) key for searching, so I implemented the hotkey as well.

I made the indexing command required by Pagefind run after Eleventy finishes building using the `.after` hook.

Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/370
Co-authored-by: oatbiscuits <oatbiscuits@noreply.codeberg.org>
Co-committed-by: oatbiscuits <oatbiscuits@noreply.codeberg.org>
2023-11-30 21:33:22 +00:00
..
_data Remove branch from Git repo URLs 2021-08-26 22:53:10 +09:00
_includes Add search functionality (#370) 2023-11-30 21:33:22 +00:00
advanced Use admonition boxes more consistently 2023-11-27 07:16:04 +01:00
ci Update weblinks from CI page 2023-11-26 18:33:40 +00:00
codeberg-pages Use admonition boxes more consistently 2023-11-27 07:16:04 +01:00
codeberg-translate Update 'content/codeberg-translate/introduction-to-weblate.md' (#338) 2023-07-25 10:49:50 +00:00
collaborating Use admonition boxes more consistently 2023-11-27 07:16:04 +01:00
getting-started Fix incorrect link (#373) 2023-11-29 22:43:48 +00:00
git Use admonition boxes more consistently 2023-11-27 07:16:04 +01:00
improving-codeberg Use admonition boxes more consistently 2023-11-27 07:16:04 +01:00
improving-documentation Use admonition boxes more consistently 2023-11-27 07:16:04 +01:00
integrations Use admonition boxes more consistently 2023-11-27 07:16:04 +01:00
markdown Workaround: Markdown parser does not ignore backtick fence inside tilde fence 2023-07-21 21:17:17 +02:00
security Using Security keys on Codeberg (#367) 2023-11-28 20:57:37 +00:00
contact.md Update contact information 2023-11-13 15:44:08 +00:00
content.11tydata.json Blending together codeberg-docs-prototype and original Codeberg/Documentation 2020-08-13 12:31:45 +02:00
home.md Link to Gitea docs on index page (#323) 2023-07-18 09:46:27 +00:00
redirects.md Style guide is for docs only 2022-10-06 00:49:42 +02:00