mirror of
https://codeberg.org/Codeberg/Documentation.git
synced 2026-06-16 05:13:54 -07:00
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>
16 lines
953 B
Text
16 lines
953 B
Text
<div class="card" data-pagefind-ignore="all">
|
|
<p>Hey there! 👋 Thank you for reading this article!</p>
|
|
<p>
|
|
Is there something missing, or do you have an idea on how to improve the documentation?
|
|
Do you want to write your own article?
|
|
</p>
|
|
<p>
|
|
You're invited to contribute to the Codeberg Documentation at <a href="https://codeberg.org/Codeberg/Documentation">its source code repository</a>,
|
|
for example, by <a href="/collaborating/pull-requests-and-git-flow">adding a pull request</a>
|
|
or joining in on the discussion in <a href="https://codeberg.org/Codeberg/Documentation/issues">the issue tracker</a>.
|
|
</p>
|
|
<p>
|
|
For an introduction on contributing to Codeberg Documentation, please have a look
|
|
at <a href="https://docs.codeberg.org/improving-codeberg/docs-contributor-faq">the Contributor FAQ</a>.
|
|
</p>
|
|
</div>
|