The Codeberg Documentation website is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
It bundles third-party font software licensed under a different license. Please look at the LICENSE file for details.
Changes to the original versions of the article as well as its individual authors can be looked up in this article's commit history
Codeberg and the Codeberg Logo are trademarks of Codeberg e.V.
A wiki is a collaborative space on the web. It is a common practice to use wikis to collect knowledge and share information.
Codeberg allows you to add a wiki to a repo for additional documentation.
The user in these examples is knut
, the polar bear and its repository is foobar
.
To enable the wiki for a repository, visit the Settings
page and activate Enable Repository Wiki
in the Advanced Section
. It will default to the built-in wiki which is described here, but you can add an URI to an external site the "Wiki" tab should link to.
Be aware that the wiki, once enabled, is accessible for everyone who has read
access to your repository - on public repositories even unauthenticated guests can access the wiki.
The wiki is not a suitable place for storing private information or secrets (like passwords).
To edit the wiki write
permission to the repository is required.
The wiki is essentially a separate Git repo in your repository with a predefined name in the form of <your-repository-name>.wiki.git
.
It consists of Markdown files (file extension .md
) and additional assets like images.
No further stylesheets are needed. The Markdown files are automatically rendered according to the selected Codeberg theme.
After you have enabled the wiki you are prompted to create the initial page Home.md
.
The web UI in your browser is currently limited to adding, updating, and deleting pages; you can't manage assets like images this way.