Codeberg Documentation – tutorials, how-tos and other Codeberg-specific resources.
Find a file
William Davis acd7bd1ace
Document GPG key usage (#127)
Cpaitalize Git, Linux, and change protocol to standard
    Moved attribution to file, resovled comments
    Added recommended bits and time
    Syntax error
    Did some TODOs
    Finished last section
    Finished Adding your GPG key to Codeberg
    Please fix the error
    Fix link
    Added info about some parts being derived from github's docs
    Finished Generating a GPG key
    Finished the Generating a GPG key section
    updated gpg-key.md
    Created the gpg key page

Co-authored-by: William Davis <unbeatable-101@noreply.codeberg.org>
Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/127
2021-06-07 22:06:55 +02:00
assets Complete Matrix integration guide 2021-05-15 16:19:47 +09:00
content Document GPG key usage (#127) 2021-06-07 22:06:55 +02:00
.eleventy.js Remove Gitea Icons shortcode 2021-05-16 20:09:28 +09:00
.gitignore deploy.sh 2020-08-24 21:27:11 +02:00
CONTRIBUTORS.md Document GPG key usage (#127) 2021-06-07 22:06:55 +02:00
deploy.sh Add date and time to deployment script 2021-05-14 20:18:58 +09:00
LICENSE.md fixed markdown 2020-11-15 15:33:22 +01:00
package-lock.json Add shortcode for Gitea icons 2021-05-14 22:59:06 +09:00
package.json Add shortcode for Gitea icons 2021-05-14 22:59:06 +09:00
README.md Contributor FAQ 2020-10-05 00:42:23 +02:00

Codeberg Documentation

This repository contains the documentation for Codeberg, with some code to build it into a static website.

Please have a look into it and consider to help writing the Documentation. This is still very much work-in-progress, the more useful material we collect, the better we can later present it! All contributions are very welcome!

For an introduction on contributing to Codeberg Documentation, please have a look at the Contributor FAQ

Usage

Local Development

If you want to work on the documentation, for example by writing your own articles, the easiest way to do so is to fork the documentation repository and develop locally.

First, run

npm install

to install all dependencies (they will be installed only for this project, not globally). You only have to do this once.

Then run

npm run serve

to start a development web server that by default is listening at http://localhost:8080.

Now you can simply change, add or remove files, save them and the development server should automatically reload all changed pages using the amazing Browsersync.

When you're done, commit your changes to your fork and write a pull request for Codeberg/Documentation. We're happy about every contribution!

Build & Deployment

Like for local development, before building and deploying you first have to install the dependencies (once):

npm install

To build the entire website to the _site directory run

npm run build

Instead, to directly publish the page to Codeberg pages, you can also run

npm run deploy

which includes a call to npm run build.

Technical Information

This website uses Eleventy, a static site generator.

It's supplied as a dev-dependency in package.json and its dependencies are locked with package-lock.json to try to ensure reproducible builds.

License and Contributors

This website (excluding bundled fonts) is licensed under CC BY-SA 4.0. See the LICENSE file for details.

The contributors are listed in CONTRIBUTORS.md.