Commit graph

18 commits

Author SHA1 Message Date
Mohamed Wageh ca4290e697 Automatically generate Table of Contents for each page (#376)
Closes #24.

Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/376
Co-authored-by: Mohamed Wageh <oatbiscuits@proton.me>
Co-committed-by: Mohamed Wageh <oatbiscuits@proton.me>
2023-12-11 17:32:09 +00:00
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
Lucas Hinderberger 51ea0f2bf1 Updating dependencies 2023-07-21 21:17:17 +02:00
n 7a4a4e0e11 Edit and merge PR #264 2022-09-11 17:16:52 +09:00
redwerkz 9ab38dd3f9 bump packages to latest version 2022-09-08 15:27:07 +02:00
n 1ace475965 Switch Font Awesome to use SVG icons and update to v6 (#243)
This PR switches the Font Awesome icons to use SVG instead of a font, and updates it to v6.

~~Depends on Codeberg-Infrastructure/codeberg-fonts#13 getting deployed.~~ Now deployed.

Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/243
Co-authored-by: n <n@noreply.codeberg.org>
Co-committed-by: n <n@noreply.codeberg.org>
2022-07-09 12:52:21 +02:00
Lucas Hinderberger dd2d720c41 Upgrading to Eleventy v1.0.0, Updating Dependencies 2022-01-30 21:30:50 +01:00
n 982842a9a9 Update packages and dependencies 2021-11-21 20:57:27 +09:00
n 8b2fced63f Update package versions 2021-08-12 18:41:56 +09:00
n 170914185d Add anchor links to headings (#159)
This PR adds anchor links to any markdown headings. It also replaces any hacky workarounds used previously.

Closes #83.

Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/159
Co-authored-by: n <n@noreply.codeberg.org>
Co-committed-by: n <n@noreply.codeberg.org>
2021-08-09 11:59:36 +02:00
n e350d2b447 Bump dependency versions 2021-07-27 16:17:05 +09:00
n ae684fbad4 Migrate to Codeberg Design Kit (#132) (#149)
TODO:
- [x] Hide navbar items on small screens
- [x] Fix `<blockquote>` rendering
- [x] Fix `<code>` rendering
- [ ] LibreJS Compatibility

Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/149
Co-authored-by: n <n@noreply.codeberg.org>
Co-committed-by: n <n@noreply.codeberg.org>
2021-07-26 12:07:23 +02:00
n 6460768b39 Bump ws to 7.4.6 and remove node-fetch 2021-06-14 19:28:50 +09:00
n aa5ed02490 Add shortcode for Gitea icons 2021-05-14 22:59:06 +09:00
n 6cde47928a Update Eleventy to v0.12.1 2021-05-14 20:11:04 +09:00
n f4feca6984 Added screenshot and rewrote part of tags article 2021-03-06 18:51:08 +01:00
William Davis 506c6a4c90 Tags and Releases Documentation (#106)
Co-authored-by: unbeatable101 <unbeatable101@noreply.codeberg.org>
Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/106
2021-03-06 18:51:08 +01:00
Lucas Hinderberger cfa9cbbbf5 Blending together codeberg-docs-prototype and original Codeberg/Documentation 2020-08-13 12:31:45 +02:00