Commit graph

621 commits

Author SHA1 Message Date
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
Gusted
5e35a19745 Run markdownlint over all files (#702)
Depends on !629

Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/702
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-committed-by: Gusted <postmaster@gusted.xyz>
2025-11-21 12:37:47 +01:00
Javier Pérez
941914f698 Fix lint issues (#629)
# Changelog

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).

## Fixed

- Lint issues:
  - Line length ([MD013](https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md013.md)).
  -  Heading levels should only increment by one level at a time ([MD001](https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md001.md)).
  - Link fragments should be valid ([MD051](https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md051.md)).
---

Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/629
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 12:35:05 +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
be2e9062b1 chore(deps): update node.js to v24 (#694)
Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/694
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-18 06:24:28 +01:00
Dependency bot
92a9bb7c97 chore(deps): update codeberg.org/woodpecker-plugins/node-pm docker digest to 4bba9f9 (#696) 2025-11-06 01:15:23 +01:00
Dependency bot
e90961adb1 chore(deps): lock file maintenance (#697) 2025-11-06 01:15:22 +01:00
Dependency bot
c06f5e6e41 chore(deps): update pipelinecomponents/yamllint docker tag to v0.35.9 (#695) 2025-11-03 01:16:41 +01:00
wetneb
9a3e75194b Mention the feature to invite by email (#690)
There is a very hidden feature in the management of team members: it is possible to invite people by email!
I intend to work more on this area to improve this feature, but in the meantime here's an update to the docs so that it's a bit more discoverable.

Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/690
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: wetneb <wetneb@noreply.codeberg.org>
Co-committed-by: wetneb <wetneb@noreply.codeberg.org>
2025-10-30 18:09:03 +01:00
crystal
9e4e00d7d0 improve custom domain examples (#557)
- remove codeberg.page from .domains, it's redundant, the pages-server
  does not validate the .domains file for codeberg.page domains
- add information for www-apex redirects to apex examples

Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/557
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: crystal <crystal@noreply.codeberg.org>
Co-committed-by: crystal <crystal@noreply.codeberg.org>
2025-10-30 17:05:41 +01:00
Dependency bot
46a199266f chore(deps): lock file maintenance (#692) 2025-10-29 01:24:11 +01:00
Dependency bot
8abba40555 chore(deps): update codeberg.org/woodpecker-plugins/node-pm docker digest to 5df6aa5 (#691) 2025-10-29 01:23:49 +01:00
Panagiotis "Ivory" Vasilopoulos
cd08e66317 Contact: Add 'Community channels' section to Abuse (#685)
- Mention where reports should be made.
- Mention expectations regarding propagation of bans and provide context.
- Provide additional means of recourse in cases of interpersonal conflicts
  between a participant and a moderator.
- Explain that moderation standards can be stricter (and not ToU-only)
  at the behest of a moderator.

Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/685
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: Panagiotis "Ivory" Vasilopoulos <git@n0toose.net>
Co-committed-by: Panagiotis "Ivory" Vasilopoulos <git@n0toose.net>
2025-10-26 13:30:40 +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
Arno Welzel
1047a82256 Update documentation (README, Forgejo Actions) (#667)
- Updated README.md to explain how to do linting and use prettier.
- Updated "Using Forgejo Actions (Self-hosted)" by pointing to the the official Forgejo documentation to avoid duplicating content.

Co-authored-by: Gusted <gusted@noreply.codeberg.org>
Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/667
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Reviewed-by: Panagiotis "Ivory" Vasilopoulos <git@n0toose.net>
Co-authored-by: Arno Welzel <privat@arnowelzel.de>
Co-committed-by: Arno Welzel <privat@arnowelzel.de>
2025-10-20 19:04:43 +02:00
Gusted
32485acc13 chore(deps): update dependency prettier to v3.6.2 (#686)
Co-authored-by: woodpecker-bot <woodpecker-bot@obermui.de>
Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/686
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-committed-by: Gusted <postmaster@gusted.xyz>
2025-10-20 18:58:07 +02:00
Gusted
bc152b0e2f Adjust placing of renovate comment 2025-10-20 16:11:50 +02:00
Gusted
b4130c5c76 Manage prettier version by renovate 2025-10-20 15:23:02 +02:00
Dependency bot
88d89671e1 chore(deps): update pipelinecomponents/yamllint docker tag to v0.35.6 (#684) 2025-10-19 02:35:12 +02:00
Dependency bot
f1571b5ee2 chore(deps): update mstruebing/editorconfig-checker docker tag to v3.4.1 (#683) 2025-10-19 02:33:41 +02:00
Dependency bot
ff5ecfb490 chore(deps): update docker.io/woodpeckerci/plugin-surge-preview docker tag to v1.4.1 (#682) 2025-10-16 02:10:42 +02:00
Dependency bot
95e52dc06d chore(deps): update codeberg.org/woodpecker-plugins/node-pm docker tag to v1.3.5 (#681) 2025-10-16 02:10:28 +02:00
Otto Richter
2f42adda8b Various updates to the FAQ (#662)
Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/662
Reviewed-by: Moritz Marquardt <momar@noreply.codeberg.org>
Co-authored-by: Otto Richter <otto@codeberg.org>
Co-committed-by: Otto Richter <otto@codeberg.org>
2025-10-13 14:26:23 +02:00
Gusted
1845a1984c fix: remove hugo link (#680)
It has been removed from hugo.

Ref: ce5a249f24

Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/680
Reviewed-by: Bastian Greshake Tzovaras <gedankenstuecke@noreply.codeberg.org>
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-committed-by: Gusted <postmaster@gusted.xyz>
2025-10-13 02:36:14 +02:00
Dependency bot
d625f15706 chore(deps): update docker.io/woodpeckerci/plugin-prettier docker tag to v1.4.0 (#679)
Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/679
Co-authored-by: Dependency bot <renovate-bot@noreply.codeberg.org>
Co-committed-by: Dependency bot <renovate-bot@noreply.codeberg.org>
2025-10-12 23:56:31 +02:00
Panagiotis "Ivory" Vasilopoulos
04b2fa9fc8 Contact: Update and elaborate Abuse section (#678)
- Mention Report content button
- Summarize expectations
- Mention on-site/off-site behavior

Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/678
Reviewed-by: Bastian Greshake Tzovaras <gedankenstuecke@noreply.codeberg.org>
Reviewed-by: Beowulf <beowulf@beocode.eu>
Reviewed-by: Robert Wolff <mahlzahn@posteo.de>
2025-10-10 18:52:25 +02:00
Dependency bot
76581c43e1 chore(deps): lock file maintenance (#677)
Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/677
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-10-01 14:53:43 +02:00
Dependency bot
59594699cf chore(deps): lock file maintenance (#676) 2025-09-22 02:15:07 +02:00
dawe
23b6a2e990 fix: improve and fix some wording in the CI section (#675)
Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/675
Reviewed-by: Panagiotis "Ivory" Vasilopoulos <git@n0toose.net>
Reviewed-by: Bastian Greshake Tzovaras <gedankenstuecke@noreply.codeberg.org>
Co-authored-by: dawe <dawedawe@posteo.de>
Co-committed-by: dawe <dawedawe@posteo.de>
2025-09-19 13:19:37 +02:00
Dependency bot
4b19f1ec6a chore(deps): update mstruebing/editorconfig-checker docker tag to v3.4.0 (#673) 2025-09-17 02:15:26 +02:00
Dependency bot
157297d0bf chore(deps): update dependency pagefind to v1.4.0 (#672) 2025-09-17 02:13:50 +02:00
kevinhikaruevans
a4e80b85a7 fix: do not suggest both an A and CNAME record (#671)
I think this was a copy-paste error. But you cannot have both A and CNAME records on the same name. Only A/AAAA/TXT are the records needed here.

Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/671
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: kevinhikaruevans <kevinhikaruevans@noreply.codeberg.org>
Co-committed-by: kevinhikaruevans <kevinhikaruevans@noreply.codeberg.org>
2025-09-14 13:28:09 +02:00
Kilian Koeltzsch
83ac61e9a8 add warning about pages for repositories with a dot in the name (#670)
Hi,

coming from https://codeberg.org/Codeberg/pages-server/issues/512, this adds a warning that repos with dots in the name can cause issues when trying to set up a custom domain.

I'm not sure if the wording here fits the existing docs, or if hints like this fit in the docs at all, but I wanted to open this as a suggestion nonetheless :)

Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/670
Reviewed-by: Bastian Greshake Tzovaras <gedankenstuecke@noreply.codeberg.org>
Co-authored-by: Kilian Koeltzsch <me@kilian.io>
Co-committed-by: Kilian Koeltzsch <me@kilian.io>
2025-09-12 15:32:49 +02:00
hugobuddel
cff67c76cb Use full path when specifying ssh key file (#669)
Using a `~` apparently does not work with `ssh-keygen`:
```
$ ssh-keygen -t ed25519 -a 100
Generating public/private ed25519 key pair.
Enter file in which to save the key (/home/knud/.ssh/id_ed25519): ~/.ssh/id_ed25519_codeberg
Enter passphrase for "~/.ssh/id_ed25519_codeberg" (empty for no passphrase):
Enter same passphrase again:
Saving key "~/.ssh/id_ed25519_codeberg" failed: No such file or directory
```

Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/669
Reviewed-by: Robert Wolff <mahlzahn@posteo.de>
Co-authored-by: hugobuddel <hugo@buddelmeijer.nl>
Co-committed-by: hugobuddel <hugo@buddelmeijer.nl>
2025-09-06 14:00:07 +02:00
mst
224d96e4a7 Fix bottom margin in admonitions and card text + fix card margin on 'Donating to Codeberg' page (#668)
**Before:**

![Screenshot 2025-08-22 at 23-58-56 Your First Repository Codeberg Documentation](/attachments/ef01b002-5c3a-4132-8a36-e84f5a09b110)
![Screenshot 2025-08-23 at 00-07-41 Your First Repository Codeberg Documentation](/attachments/b16328c6-3f3e-45df-93b7-9ef5e6eafff5)
![Screenshot 2025-08-23 at 00-16-37 Donating to Codeberg Codeberg Documentation](/attachments/db873806-9de6-4324-9eef-d6f95ea13f0f)

**After:**

![Screenshot 2025-08-23 at 00-07-01 Your First Repository Codeberg Documentation](/attachments/a7fce9ee-ced5-45b6-9e93-c4ce3234b07b)
![Screenshot 2025-08-23 at 00-08-13 Your First Repository Codeberg Documentation](/attachments/c04acf6c-a293-4824-a90e-2650ed05d810)
![Screenshot 2025-08-23 at 00-17-21 Donating to Codeberg Codeberg Documentation](/attachments/e5caf5ee-00c0-4a18-8ed8-a6790989b0f0)

Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/668
Reviewed-by: Bastian Greshake Tzovaras <gedankenstuecke@noreply.codeberg.org>
Co-authored-by: mst <oivan2401@gmail.com>
Co-committed-by: mst <oivan2401@gmail.com>
2025-08-23 01:52:48 +02:00
Dependency bot
b48564bd4a chore(deps): lock file maintenance (#665) 2025-08-15 02:18:14 +02:00
Otto Richter
9533f44b89 Update private repo FAQ (#660)
Matches some uncertainty and questions from Mastodon. The previous quote box drew a lot of attention, while it was not actually the point we wanted to convey.

Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/660
Reviewed-by: Bastian Greshake Tzovaras <gedankenstuecke@noreply.codeberg.org>
Reviewed-by: Panagiotis "Ivory" Vasilopoulos <git@n0toose.net>
Reviewed-by: Beowulf <beowulf@beocode.eu>
Co-authored-by: Otto Richter <otto@codeberg.org>
Co-committed-by: Otto Richter <otto@codeberg.org>
2025-08-12 19:59:24 +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
Gusted
de0217c6bc Fix image in getting started wiki page (#657)
The alt text contained quotes which messed with the parsing of the image element.

Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/657
Reviewed-by: Bastian Greshake Tzovaras <gedankenstuecke@noreply.codeberg.org>
Co-authored-by: Gusted <gusted@noreply.codeberg.org>
Co-committed-by: Gusted <gusted@noreply.codeberg.org>
2025-08-12 13:26:52 +02:00
Bastian Greshake Tzovaras
e004b03c97 Codeberg Pages: add custom 404 instructions (#654)
Closes #653

Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/654
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: Bastian Greshake Tzovaras <bgreshake@googlemail.com>
Co-committed-by: Bastian Greshake Tzovaras <bgreshake@googlemail.com>
2025-08-08 04:38:35 +02:00
Dependency bot
0d9164b25c chore(deps): lock file maintenance (#652) 2025-08-06 02:10:41 +02:00
Dependency bot
a486d932e8 chore(deps): update dependency @11ty/eleventy-plugin-syntaxhighlight to v5.0.2 (#651) 2025-08-04 02:13:40 +02:00
Dependency bot
e4202f385a chore(deps): lock file maintenance (#649)
Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/649
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-07-24 20:05:52 +02:00
Jan Koll
b97624349b fix: correct typo in inline-css (#647)
Fixes #646

Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/647
Reviewed-by: Robert Wolff <mahlzahn@posteo.de>
Co-authored-by: Jan Koll <jan.niklas.koll@gmail.com>
Co-committed-by: Jan Koll <jan.niklas.koll@gmail.com>
2025-07-21 13:09:13 +02:00
freyalin
aaede8c9bb main (#644)
Greetings,

I have been using Hugo and hosted Forgejo Actions to publish the static site to Codeberg Pages, and I noticed that there's no instructions on automatic deploy with custom domain. It's worth noticing that `.domains` file should be placed at the `static` directory for Hugo, and accordingly for other SSGs, instead of  root of source repository, in order to preserve it to the output branch.  I will also initiate a PR to Hugo documents regarding the sample Forgejo Action `hugo.yaml` setup.

Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/644
Reviewed-by: Bastian Greshake Tzovaras <gedankenstuecke@noreply.codeberg.org>
Co-authored-by: freyalin <xlin@mailbox.org>
Co-committed-by: freyalin <xlin@mailbox.org>
2025-07-18 16:39:24 +02:00
Panagiotis "Ivory" Vasilopoulos
78e5235f20 FAQ: Replace relatively very easy with very easy (#642)
See: https://codeberg.org/Codeberg/Documentation/pulls/641#issuecomment-5837717

Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/642
Reviewed-by: Bastian Greshake Tzovaras <gedankenstuecke@noreply.codeberg.org>
2025-07-15 23:11:18 +02:00
Panagiotis "Ivory" Vasilopoulos
baea8c83e9 Improve title of license requirement (#641)
Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/641
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Reviewed-by: Robert Wolff <mahlzahn@posteo.de>
2025-07-15 22:56:17 +02:00
Panagiotis "Ivory" Vasilopoulos
a26bb35eb6 Outline motivations for license requirement (#640)
- Add public domain dedication mention
- Add instructions for people unsure about licenses
- Add focus for private content

Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/640
Reviewed-by: Bastian Greshake Tzovaras <gedankenstuecke@noreply.codeberg.org>
Reviewed-by: Robert Wolff <mahlzahn@posteo.de>
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2025-07-14 22:13:11 +02:00
Bastian Greshake Tzovaras
43af756a75 Add docs on how to reduce git repo size/remove files (#639)
Given the plan to enable the storage quotas at some point in the future, instructions for how to reduce the size of git repos will become more relevant (and indeed, this has been a recurring question that came up on Codeberg, Matrix etc since announcing the quotas).

Building on @aral's draft in #418 I've gone ahead and took a stab at adding such a docs page, which hopefully helps outline the approach with enough warnings 😆

Closes #418

Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/639
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: Bastian Greshake Tzovaras <bgreshake@googlemail.com>
Co-committed-by: Bastian Greshake Tzovaras <bgreshake@googlemail.com>
2025-07-12 16:10:52 +02:00