Commit graph

445 commits

Author SHA1 Message Date
Andre601 b234b71bb7 Create new admonition boxes (#337)
Related issue: https://codeberg.org/Codeberg/Documentation/issues/330

This is my attempt at adding admonition-like boxes to the documentation. The goal is to make important stuff stand out more (especially warnings and alike).

The system uses a custom `<admonition>` box which allows classes for further customization. I.e. `<admonition class="warning">` to display a warning box.

I first wanted to make individual boxes (`<warning>`, `<note>`, ...) but decided against it, as it would've created a lot of duplicate CSS.

The CSS is designed in such a way that the first paragraph of the box is made bold (font-weight 700) while any subsequent ones are not.

The following forms of admonitions are included:
- Info (default)
- Note
- Tip
- Warning

Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/337
Co-authored-by: Andre601 <github@andre601.ch>
Co-committed-by: Andre601 <github@andre601.ch>
2023-09-18 15:17:17 +00:00
Panagiotis "Ivory" Vasilopoulos 536884cd59 Simpify and update instructions for reports
The language was simplified, some explanations as to which methods are
preferred for which situations were provided, and I also added an
explanation for the new "tag @moderation to report spam" feature.

I tried to make the content less ambiguous and easier to read.

This change was made because of the following issue in the Community
repository: https://codeberg.org/Codeberg/Community/issues/1293
2023-09-18 10:02:53 +02:00
Panagiotis "Ivory" Vasilopoulos 3261f41b63 Add note about retaliatory abuse in Contact section (#334)
Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/334
2023-09-18 07:47:41 +00:00
Panagiotis "Ivory" Vasilopoulos 7c15ec5243 Improve FAQ section (#347)
- Create two sections, "Codeberg's Structures" and "Before I move..."
- Explain that Codeberg is not necessarily *just* a Forgejo instance
  by mentioning / crediting more open-source projects in a
  non-exhaustive manner.
- Improve wording and phrasing of some questions
- Update Forgejo version instructions
- Private repositories: Split into two questions that are separately
  meant for collaborative projects and ordinary users respectively.
- Use words as "most likely" and "probably" in order to *not* make the
  reader immediately worry about potentially breaking the rules,
  especially as the ToS itself mentions that the platform reserves
  the right to take strict action without a warning. If the user
  choose Codeberg to begin with, it is very likely that "our" values
  align.
- Explain what "fair use" is as far as the repository size is concerned
  better.
- Break text into new lines depending on columns and the ideas that
  each part of a sentence gets across.

Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/347
2023-09-11 20:49:18 +00:00
nezbednik b17bda7c61 Fix minor spelling mistake in CI index page (#352)
Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/352
Co-authored-by: nezbednik <nezbednik@atlas.cz>
Co-committed-by: nezbednik <nezbednik@atlas.cz>
2023-09-09 19:29:41 +00:00
Panagiotis "Ivory" Vasilopoulos 1403a81d75 Improve 'Contributing Code' guide (#326)
* Improve references to Forgejo and Gitea
* Point reader to potentially good first issues
* Be more specific as to what kinds of patches can be submitted to the
  `Codeberg/forgejo` repository
* Explain how easy Go can be for beginners better
* Include some advice as to what a prospective contributor can work on
  based on personal experiences

Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/326
2023-08-22 13:17:52 +00:00
Panagiotis "Ivory" Vasilopoulos 51c394cd3b 'Projects' has been renamed to 'Contributing' 2023-08-03 20:05:12 +00:00
Panagiotis "Ivory" Vasilopoulos 092ae8e74c Mention Codeberg-e.V./requests in FAQ (#336)
This was added because a user was not sure where they could request an
increase to the repository limit of an organization that they intended
to use for a hackathon.

We may want to consider creating a more detailed page about this later.

Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/336
2023-08-03 19:59:56 +00:00
rtn 3e3dbf8dd3 Update 'content/codeberg-translate/introduction-to-weblate.md' (#338)
Some language tweaks.

* remove capital letters from some words
* fix typos

Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/338
Co-authored-by: rtn <rtn@noreply.codeberg.org>
Co-committed-by: rtn <rtn@noreply.codeberg.org>
2023-07-25 10:49:50 +00:00
Lucas Hinderberger 68d5b2a9a0 Merge branch 'eleventy2' 2023-07-21 21:25:02 +02:00
Lucas Hinderberger a27a71bf0f Workaround: Markdown parser does not ignore backtick fence inside tilde fence 2023-07-21 21:17:17 +02:00
Lucas Hinderberger d55c1397f7 Replacing indented code blocks with fenced code blocks 2023-07-21 21:17:17 +02:00
Lucas Hinderberger 91fbf7a9a0 Replacing tabs with spaces 2023-07-21 21:17:17 +02:00
Lucas Hinderberger 51ea0f2bf1 Updating dependencies 2023-07-21 21:17:17 +02:00
Panagiotis "Ivory" Vasilopoulos 836ce8e83b Remove subreddit from Contact information (#333)
The community has been marked as private.

Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/333
2023-07-21 15:45:55 +00:00
Panagiotis "Ivory" Vasilopoulos 37b507b6f7 Fix styling and factual errors in 'Repository Permissions' (#328)
Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/328
2023-07-20 21:46:54 +00:00
Andre601 a21dbdd678 Add note about _redirects status (#329)
As mentioned in https://codeberg.org/Codeberg/pages-server/issues/234

The `_redirects` file feature seems to not yet be implemented in the production version of Codeberg Pages. That combined with the fact that the docs give the impression that it is available can and will cause confusion for people.

I've added a simple note at the top of the page, informing about the status of this feature not yet being available.

Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/329
Co-authored-by: Andre601 <andre601@noreply.codeberg.org>
Co-committed-by: Andre601 <andre601@noreply.codeberg.org>
2023-07-20 21:06:05 +00:00
Panagiotis "Ivory" Vasilopoulos 5d457efc06 Clean up 'Clone & Commit via CLI' guide (#325)
* Fix typos
* Simplify language
* Increase clarity as to whether the CLI tools are official
* Make language slightly more formal
* Gaps between headers and content

Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/325
2023-07-18 14:29:05 +00:00
Panagiotis "Ivory" Vasilopoulos dd6d870c69 Link to Gitea docs on index page (#323)
Based on social media feedback regarding Forgejo's documentation
not always covering everything. Although it is probably best to use
the Forgejo documentation wherever possible, it is probably in the
interest of our users to link back to both sites.

Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/323
2023-07-18 09:46:27 +00:00
f0sh 77bfb6cc15 Change all Gitea references to Forgejo, fix #315 (#322)
Where possible, changed all references from Gitea to Forgejo.
Wherever documentation mentions specifically Gitea, it is preserved.

Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/322
Co-authored-by: f0sh <f0sh@mailbox.org>
Co-committed-by: f0sh <f0sh@mailbox.org>
2023-07-18 00:43:47 +00:00
Oscar Carballal Prego a25f81e9a2 Improve authentication wording for Matrix integration (#321)
The current documentation fails to specify that the authentication token required a "Bearer" prefix. If a user follows the docs to the letter, it will fail. This patch explains that the user has to add "Bearer" to the token to be able to work.

Co-authored-by: Oscar Carballal Prego <oscar@lareira.digital>
Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/321
Co-authored-by: Oscar Carballal Prego <oscarcp@noreply.codeberg.org>
Co-committed-by: Oscar Carballal Prego <oscarcp@noreply.codeberg.org>
2023-07-17 09:00:30 +00:00
Panagiotis "Ivory" Vasilopoulos a9d53ca7cb Add documentation for Keycloak (#316)
Simple guide for using Keycloak with Codeberg based on the instructions
provided by Shane Engelman in Codeberg's Matrix chat.

Co-authored-by: shane <contact@shane.gg>
Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/316
2023-07-15 20:49:21 +00:00
Panagiotis "Ivory" Vasilopoulos 89538796b4 Improve index site (#317)
* Introduce links to other documentation sources
* Improve wording
* Explain the purpose of Codeberg's Documentation

Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/317
2023-07-14 21:21:16 +00:00
f0sh 1984032bdd Add improvements to the Documentation according to open issues (#314)
Tried to close some open issues in the issue tracker by submitting the following changes as my first contribution to Codeberg:

 - added list on every section index page, should fix #63
 - added webhooks documentation, should fix #282
 - described behaviour of a limited user profile, should fix #279
 - added further explanation to 2fa section, according to Codeberg/Documentation#268, should fix #268
 - added codeberg badge generator to first-repository description, should fix #39
 - added dns record description to custom-domains, should fix #302
 - added description how to use 2fa with git, should fix #278
 - added and updated repo migration service description, should fix #312

Feedback highly appreciated.

Co-authored-by: f0sh <f0sh@mailbox.org>
Co-authored-by: Panagiotis "Ivory" Vasilopoulos <git@n0toose.net>
Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/314
Co-authored-by: f0sh <f0sh@noreply.codeberg.org>
Co-committed-by: f0sh <f0sh@noreply.codeberg.org>
2023-07-08 16:27:44 +00:00
JakobDev ff8910c5ee Add Documentation for Codeberg Translate (#300)
This is a simple documentation for Codeberg Translate. I think it can be improved in some points (especially the wording), but it should be a good start.

Closes: https://codeberg.org/Codeberg/Documentation/issues/273
Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/300
Co-authored-by: JakobDev <jakobdev@gmx.de>
Co-committed-by: JakobDev <jakobdev@gmx.de>
2023-07-04 21:02:20 +00:00
Otto 065c065e09 Revisit CI section 2023-06-29 23:12:29 +00:00
Panagiotis "Ivory" Vasilopoulos 8fe5dd27d6 Improve clarity of wiki documentation (#305)
Fixes https://codeberg.org/Codeberg/Community/issues/1001#issuecomment-890160

Co-authored-by: Panagiotis "Ivory" Vasilopoulos <git@n0toose.net>
Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/305
Co-authored-by: Panagiotis "Ivory" Vasilopoulos <n0toose@noreply.codeberg.org>
Co-committed-by: Panagiotis "Ivory" Vasilopoulos <n0toose@noreply.codeberg.org>
2023-06-23 01:06:16 +00:00
NeatNit 2887826c38 Update SSH connection test text to match actual result (#307)
I just went through these steps and noticed that the message is wrong, so here's the update. Note that the message normally shows the username and key name, which I've replaced with "____".

Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/307
Co-authored-by: NeatNit <neatnit@noreply.codeberg.org>
Co-committed-by: NeatNit <neatnit@noreply.codeberg.org>
2023-05-30 09:07:14 +00:00
d7415 e91d2ea42e A list of subscriptions is now available (#306)
This feature was added in this Gitea PR: https://github.com/go-gitea/gitea/issues/16111

Co-authored-by: Martin Stone <martin@d7415.co.uk>
Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/306
Co-authored-by: d7415 <martin@d7415.co.uk>
Co-committed-by: d7415 <martin@d7415.co.uk>
2023-05-24 14:25:23 +00:00
video-prize-ranch 95574213ea Redirects documentation (#294)
Documentation for redirects on Codeberg Pages:
https://codeberg.org/Codeberg/pages-server/pulls/148

Co-authored-by: video-prize-ranch <cb.8a3w5@simplelogin.co>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/294
Co-authored-by: video-prize-ranch <video-prize-ranch@noreply.codeberg.org>
Co-committed-by: video-prize-ranch <video-prize-ranch@noreply.codeberg.org>
2023-03-31 07:05:47 +00:00
Otto ebdccd0c67 Update 'content/getting-started/faq.md' 2023-03-26 13:48:23 +00:00
RobWalt 9c4533497b update codeberg-cli section with new binary name (#299)
We noticed that there is an application with the name `cod` already in available as a package in many distros and decided to rename the binary to `berg`. This PR just updates the section about `codeberg-cli` to use the new binary name.

Co-authored-by: RobWalt <robwalter96@gmail.com>
Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/299
Co-authored-by: RobWalt <robwalt@noreply.codeberg.org>
Co-committed-by: RobWalt <robwalt@noreply.codeberg.org>
2023-03-20 08:33:15 +00:00
n0toose 447946f70b Clarify that Codeberg API can create new releases (#297)
This PR was created in a hurry -- it was created after a person in the Codeberg Matrix room asked for an explicit clarification.

Co-authored-by: Panagiotis "Ivory" Vasilopoulos <git@n0toose.net>
Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/297
Co-authored-by: n0toose <git@n0toose.net>
Co-committed-by: n0toose <git@n0toose.net>
2023-03-18 14:42:36 +00:00
Otto 38f5587a17 s/Gitea/Forgejo 2023-03-05 14:27:37 +00:00
Loïc Dachary bb020e98e8 explain why the tag may look strange at times 2023-03-04 09:26:43 +00:00
Loïc Dachary 109622e1ea s/1.12/1.18/ 2023-03-04 09:26:43 +00:00
Loïc Dachary 67236e8b2d s/gitea/forgejo/ 2023-03-04 09:26:43 +00:00
Isaac Beverly 08986833f7 Provide additional clarification for custom domains with Codeberg Pages (#293)
This provides more detail when using ALIAS+TXT DNS records.

More context:  https://matrix.to/#/!wkyjxWeAOBpKMvHbno:matrix.org/$Z0mdXrDKTNptIBpENaeZKd9WuuMWhCrawgIWsNjJjXo?via=freeyourgadget.org&via=matrix.org&via=tchncs.de

Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/293
Co-authored-by: Isaac Beverly <imbev@noreply.codeberg.org>
Co-committed-by: Isaac Beverly <imbev@noreply.codeberg.org>
2023-03-03 22:17:35 +00:00
RobWalt 4c425e13a4 Mentioning codeberg-cli tool (#285)
Co-authored-by: RobWalt <robwalter96@gmail.com>
Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/285
Co-authored-by: RobWalt <robwalt@noreply.codeberg.org>
Co-committed-by: RobWalt <robwalt@noreply.codeberg.org>
2023-02-24 20:14:28 +00:00
Lucas Hinderberger 08d985108d Replacing project list with link to Codeberg/Projects repo (#292)
This replaces the project table in the "Improving Codeberg" section with a link to the new Codeberg/Projects repository.

Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/292
Co-authored-by: Lucas Hinderberger <mail@lucas-hinderberger.de>
Co-committed-by: Lucas Hinderberger <mail@lucas-hinderberger.de>
2023-02-24 19:39:18 +00:00
JakobDev 448fd740df Add Documentation for integrating with Read the Docs (#289)
This adds a Documentation for connecting Codeberg to [Read the Docs](https://readthedocs.org/). English is not my native Language, so there may be a few things that could be written better.

Co-authored-by: René Wagner <rwa@clttr.info>
Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/289
Co-authored-by: JakobDev <jakobdev@gmx.de>
Co-committed-by: JakobDev <jakobdev@gmx.de>
2023-02-24 19:37:22 +00:00
Jan Klippel e52d13f76b
replace mentions of Gitea with Forgejo
Replace the mentions of Gitea in the Codeberg projects list
with Forgejo as Codeberg is now based on the Forgejo soft fork of Gitea.

Fixes: #286
2023-02-19 12:03:12 +01:00
René Wagner 669f227ca9 remove contributors, use commit log for reference instead
closes #275
2023-02-14 16:53:14 +00:00
René Wagner d182737311 add contributors reference to README
closes #275
2023-02-14 16:52:04 +00:00
Jeremy d42e22f64c Fixed English mistakes 2022-12-24 09:48:23 +00:00
CameronNemo 9b8b8889ca ci: point to VCS integration docs
Signed-off-by: CameronNemo <cameronnemo@noreply.codeberg.org>
2022-12-20 23:14:19 +00:00
fpare 51570538fd add the ssh url scheme 2022-11-29 17:18:29 +00:00
fpare 1e341a0845 clarify the title 2022-11-29 17:18:29 +00:00
fpare d34e73a2b6 add suggestion to use SSH to avoir entering password every time 2022-11-29 17:18:29 +00:00
fpare 7a9528cfff Revert "add suggestion to use SSH to avoir entering password every time"
This reverts commit a4e17f1ad15d74a1cadceca4debd2c1a08a8dd23.
2022-11-29 17:18:29 +00:00