Dave Anselmi
8215c254bc
Move duplicate article list snippets to shortcode. ( #780 )
...
Closes #335 .
This is my first attempt coding for eleventy/liquid so I'd be happy to get feedback on making the code cleaner or more idiomatic, or just more like the Codeberg style.
Co-authored-by: David Anselmi <danselmi@intecrowd.com>
Co-authored-by: Gusted <postmaster@gusted.xyz>
Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/780
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2026-04-27 14:36:08 +02:00
Dependency bot
3d2f8779ba
chore(deps): update dependency cspell to v9.8.0 ( #770 )
...
Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/770
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>
2026-04-18 15:33:00 +02:00
Dependency bot
f717140c07
chore(deps): update dependency markdown-it to v14.1.1 [security] ( #765 )
...
Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/765
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>
2026-03-12 01:25:14 +01:00
Dependency bot
e7f3ce7f86
chore(deps): update dependency prettier to v3.8.1 ( #745 )
...
Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/745
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>
2026-02-02 22:11:36 +01:00
Dependency bot
61e0e71dfe
chore(deps): update dependency cspell to v9.6.0 ( #741 )
2026-01-26 01:18:37 +01:00
Dependency bot
2d109a551e
chore(deps): pin dependencies ( #728 )
...
Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/728
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>
2026-01-13 16:13:05 +01:00
Gusted
ad9e3c53e0
Make linters happy ( #723 )
...
Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/723
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-committed-by: Gusted <postmaster@gusted.xyz>
2025-12-19 02:12:14 +01:00
Dependency bot
f059cf48d0
chore(deps): update dependency @11ty/eleventy-navigation to v1.0.5 ( #721 )
...
Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/721
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-12-19 01:30:43 +01:00
Javier Pérez
9a4e3cdc27
Fix the Dockerfile ( #630 )
...
# Changelog
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/ ).
## Added
- Ignore the `.pnpm-store` directory generated by the `pnpm` package manager.
- Make the `eleventy` command render changes incrementally when in dev ("serve") mode.
## Changed
- Rename the npm script `serve` to `dev` to improve clarity.
- Update documentation to reflect new npm script name and Dockerfile volume mount point.
## Fixed
- Update the `Dockerfile` to fix errors when building the documentation container.
---
## 1st problem
The current version of the `README.md` tells to run this command:
`docker build -t Codeberg/Documentation-server .`
Unfortunately, it returns this error:
```bash
docker build -t Codeberg/Documentation-server .
[+] Building 0.0s (0/0) docker:default
ERROR: invalid tag "Codeberg/Documentation-server": repository name must be lowercase
```
## 2nd problem
If you try to build an image with the current version of `Dockerfile`, this error occurs:
```bash
[+] Building 2.7s (5/10) docker:default
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 409B 0.0s
=> [internal] load metadata for docker.io/library/node:16.15.1- 1.1s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> CACHED [1/7] FROM docker.io/library/node:16.15.1-stretch-sli 0.0s
=> ERROR [2/7] RUN apt-get update && apt-get -y upgrade 1.4s
------
> [2/7] RUN apt-get update && apt-get -y upgrade:
0.235 Ign:1 http://security.debian.org/debian-security stretch/updates InRelease
0.278 Ign:2 http://security.debian.org/debian-security stretch/updates Release
0.280 Ign:3 http://deb.debian.org/debian stretch InRelease
0.293 Ign:4 http://security.debian.org/debian-security stretch/updates/main all Packages
0.308 Ign:5 http://security.debian.org/debian-security stretch/updates/main amd64 Packages
0.320 Ign:6 http://deb.debian.org/debian stretch-updates InRelease
0.323 Ign:4 http://security.debian.org/debian-security stretch/updates/main all Packages
0.339 Ign:5 http://security.debian.org/debian-security stretch/updates/main amd64 Packages
0.356 Ign:4 http://security.debian.org/debian-security stretch/updates/main all Packages
0.363 Ign:7 http://deb.debian.org/debian stretch Release
0.378 Ign:5 http://security.debian.org/debian-security stretch/updates/main amd64 Packages
0.408 Ign:4 http://security.debian.org/debian-security stretch/updates/main all Packages
0.415 Ign:8 http://deb.debian.org/debian stretch-updates Release
0.441 Ign:5 http://security.debian.org/debian-security stretch/updates/main amd64 Packages
0.463 Ign:9 http://deb.debian.org/debian stretch/main amd64 Packages
0.465 Ign:4 http://security.debian.org/debian-security stretch/updates/main all Packages
0.482 Ign:5 http://security.debian.org/debian-security stretch/updates/main amd64 Packages
0.496 Ign:4 http://security.debian.org/debian-security stretch/updates/main all Packages
0.503 Ign:10 http://deb.debian.org/debian stretch/main all Packages
0.511 Err:5 http://security.debian.org/debian-security stretch/updates/main amd64 Packages
0.511 404 Not Found [IP: 151.101.2.132 80]
0.542 Ign:11 http://deb.debian.org/debian stretch-updates/main all Packages
0.583 Ign:12 http://deb.debian.org/debian stretch-updates/main amd64 Packages
0.623 Ign:9 http://deb.debian.org/debian stretch/main amd64 Packages
0.662 Ign:10 http://deb.debian.org/debian stretch/main all Packages
0.701 Ign:11 http://deb.debian.org/debian stretch-updates/main all Packages
0.741 Ign:12 http://deb.debian.org/debian stretch-updates/main amd64 Packages
0.781 Ign:9 http://deb.debian.org/debian stretch/main amd64 Packages
0.825 Ign:10 http://deb.debian.org/debian stretch/main all Packages
0.872 Ign:11 http://deb.debian.org/debian stretch-updates/main all Packages
0.912 Ign:12 http://deb.debian.org/debian stretch-updates/main amd64 Packages
0.953 Ign:9 http://deb.debian.org/debian stretch/main amd64 Packages
0.994 Ign:10 http://deb.debian.org/debian stretch/main all Packages
1.033 Ign:11 http://deb.debian.org/debian stretch-updates/main all Packages
1.073 Ign:12 http://deb.debian.org/debian stretch-updates/main amd64 Packages
1.112 Ign:9 http://deb.debian.org/debian stretch/main amd64 Packages
1.152 Ign:10 http://deb.debian.org/debian stretch/main all Packages
1.193 Ign:11 http://deb.debian.org/debian stretch-updates/main all Packages
1.233 Ign:12 http://deb.debian.org/debian stretch-updates/main amd64 Packages
1.274 Err:9 http://deb.debian.org/debian stretch/main amd64 Packages
1.274 404 Not Found
1.316 Ign:10 http://deb.debian.org/debian stretch/main all Packages
1.357 Ign:11 http://deb.debian.org/debian stretch-updates/main all Packages
1.397 Err:12 http://deb.debian.org/debian stretch-updates/main amd64 Packages
1.397 404 Not Found
1.401 Reading package lists...
1.407 W: The repository 'http://security.debian.org/debian-security stretch/updates Release' does not have a Release file.
1.407 W: The repository 'http://deb.debian.org/debian stretch Release' does not have a Release file.
1.407 W: The repository 'http://deb.debian.org/debian stretch-updates Release' does not have a Release file.
1.407 E: Failed to fetch http://security.debian.org/debian-security/dists/stretch/updates/main/binary-amd64/Packages 404 Not Found [IP: 151.101.2.132 80]
1.407 E: Failed to fetch http://deb.debian.org/debian/dists/stretch/main/binary-amd64/Packages 404 Not Found
1.407 E: Failed to fetch http://deb.debian.org/debian/dists/stretch-updates/main/binary-amd64/Packages 404 Not Found
1.407 E: Some index files failed to download. They have been ignored, or old ones used instead.
------
Dockerfile:3
--------------------
1 | FROM node:16.15.1-stretch-slim
2 |
3 | >>> RUN apt-get update && apt-get -y upgrade
4 |
5 | RUN apt-get install -y git curl
--------------------
ERROR: failed to solve: process "/bin/sh -c apt-get update && apt-get -y upgrade" did not complete successfully: exit code: 100
```
I have fixed both issues and tested building the image and running the container to build the docs site locally.
Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/630
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: Javier Pérez <walpo@noreply.codeberg.org>
Co-committed-by: Javier Pérez <walpo@noreply.codeberg.org>
2025-11-21 21:40:44 +01:00
Dependency bot
13d134dfd7
chore(deps): update font awesome to v7 (major) ( #688 )
...
Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/688
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-11-21 00:45:56 +01:00
Dependency bot
ad9091477d
chore(deps): pin dependencies ( #689 )
2025-10-25 02:27:21 +02:00
Dependency bot
ac2150612c
chore(deps): pin dependencies ( #687 )
2025-10-21 13:46:02 +02:00
Gusted
f564ca6cd2
Use Halfmoon v2 ( #655 )
...
Refresh Codeberg documentatation looks by using Halfmoon v2.
Mobile UI also got a overhaul.
Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/655
Reviewed-by: Bastian Greshake Tzovaras <gedankenstuecke@noreply.codeberg.org>
Reviewed-by: Otto <otto@codeberg.org>
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-committed-by: Gusted <postmaster@gusted.xyz>
2025-08-12 17:53:32 +02:00
pat-s
100beaacea
fix: broken node lockfiles
2025-06-14 10:02:45 +02:00
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. (\[[#​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. (\[[#​129](https://github.com/valeriangalliat/markdown-it-anchor/issues/129 )], \[[#​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