1
0
Fork
You've already forked Documentation
0
Codeberg documentation content
CSS 49.6%
HTML 37.1%
JavaScript 10.5%
Shell 2.8%
Find a file
2021年01月21日 01:11:59 +01:00
assets Add default colors for background, text and hyperlinks. 2020年10月28日 20:43:12 +01:00
content reworded for clarity on Gitea version in use 2021年01月21日 01:11:59 +01:00
.eleventy.js Blending together codeberg-docs-prototype and original Codeberg/Documentation 2020年08月13日 12:31:45 +02:00
.gitignore deploy.sh 2020年08月24日 21:27:11 +02:00
CONTRIBUTORS.md Added Henning to CONTRIBUTORS + technical changes to PR #98 2020年10月14日 21:57:47 +02:00
deploy.sh Integrating deploy script into npm workflow 2020年08月25日 11:54:12 +02:00
LICENSE.md fixed markdown 2020年11月15日 15:33:22 +01:00
package-lock.json Blending together codeberg-docs-prototype and original Codeberg/Documentation 2020年08月13日 12:31:45 +02:00
package.json Bugfix in package.json 2020年08月27日 16:43:48 +02: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.