Commit graph

23 commits

Author SHA1 Message Date
Dependency bot
08f45ba327 chore(deps): update dependency @11ty/eleventy-navigation to v1 (#548)
Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/548
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: Dependency bot <renovate-bot@noreply.codeberg.org>
Co-committed-by: Dependency bot <renovate-bot@noreply.codeberg.org>
2025-03-30 12:58:01 +00:00
Dependency bot
cc4045a539 chore(deps): update dependency @11ty/eleventy-img to v6 (#516)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@11ty/eleventy-img](https://github.com/11ty/eleventy-img) | devDependencies | major | [`^5.0.0` -> `^6.0.0`](https://renovatebot.com/diffs/npm/@11ty%2feleventy-img/5.0.0/6.0.1) |

Co-authored-by: woodpecker-bot <woodpecker-bot@obermui.de>
Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/516
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: Dependency bot <renovate-bot@noreply.codeberg.org>
Co-committed-by: Dependency bot <renovate-bot@noreply.codeberg.org>
2025-01-25 05:26:48 +00:00
Gusted
03342e98ec feat: use Eleventy's image plugin for image transformation (#488)
Use https://www.11ty.dev/docs/plugins/image/ to transform images on build time to avif, webp and jpeg.

Images are moved to `/content/images`.

`<picture>` is no longer needed, the plugin does this automatically.

Remove webp images from the source.

Resolves #152
Resolves #368

Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/488
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-committed-by: Gusted <postmaster@gusted.xyz>
2024-11-29 06:12:05 +00:00
Gusted
2fa6aaedbb chore: update deployment instructions (#491)
`deploy.sh` is not used.

Link to the cron job.

Resolves #438

Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/491
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-committed-by: Gusted <postmaster@gusted.xyz>
2024-11-28 03:43:55 +00:00
Gusted
bee5b68554 feat: update to eleventy v3 (#487)
Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/487
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-committed-by: Gusted <postmaster@gusted.xyz>
2024-11-27 03:12:21 +00:00
Dependency bot
ca5ec77f93 chore(deps): update dependency markdown-it-anchor to v9 (#440)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [markdown-it-anchor](https://github.com/valeriangalliat/markdown-it-anchor) | devDependencies | major | [`^8.6.7` -> `^9.0.0`](https://renovatebot.com/diffs/npm/markdown-it-anchor/8.6.7/9.0.1) |

---

### Release Notes

<details>
<summary>valeriangalliat/markdown-it-anchor (markdown-it-anchor)</summary>

### [`v9.0.1`](https://github.com/valeriangalliat/markdown-it-anchor/blob/HEAD/CHANGELOG.md#901---2024-05-17)

[Compare Source](https://github.com/valeriangalliat/markdown-it-anchor/compare/v9.0.0...v9.0.1)

-   Fix types following upgrade. (\[[#&#8203;131](https://github.com/valeriangalliat/markdown-it-anchor/issues/131)])

### [`v9.0.0`](https://github.com/valeriangalliat/markdown-it-anchor/blob/HEAD/CHANGELOG.md#900---2024-05-16)

[Compare Source](https://github.com/valeriangalliat/markdown-it-anchor/compare/v8.6.7...v9.0.0)

-   Support markdown-it 14. This may be breaking hence the major. (\[[#&#8203;129](https://github.com/valeriangalliat/markdown-it-anchor/issues/129)], \[[#&#8203;128](https://github.com/valeriangalliat/markdown-it-anchor/issues/128)])

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge - "before 4am" (UTC).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MDguMSIsInVwZGF0ZWRJblZlciI6IjM3LjQwOC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmN5Il19-->

Co-authored-by: woodpecker-bot <woodpecker-bot@obermui.de>
Co-authored-by: Patrick Schratz <pat-s@noreply.codeberg.org>
Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/440
Co-authored-by: Dependency bot <renovate-bot@noreply.codeberg.org>
Co-committed-by: Dependency bot <renovate-bot@noreply.codeberg.org>
2024-06-20 21:52:22 +00:00
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
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
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
Lucas Hinderberger
70f8e92c8a Bugfix in package.json 2020-08-27 16:43:48 +02:00
Lucas Hinderberger
541ad779bb Integrating deploy script into npm workflow 2020-08-25 11:54:12 +02:00
Lucas Hinderberger
3512d8ef42 Clearing target directory on build 2020-08-25 11:44:05 +02:00
Lucas Hinderberger
cfa9cbbbf5 Blending together codeberg-docs-prototype and original Codeberg/Documentation 2020-08-13 12:31:45 +02:00