This PR adds anchor links to any markdown headings. It also replaces any hacky workarounds used previously. Closes #83. Reviewed-on: Codeberg/Documentation#159 Co-authored-by: n <email@example.com> Co-committed-by: n <firstname.lastname@example.org>
|11 months ago|
|assets||11 months ago|
|content||11 months ago|
|.eleventy.js||11 months ago|
|.gitignore||2 years ago|
|CONTRIBUTORS.md||1 year ago|
|LICENSE.md||1 year ago|
|README.md||2 years ago|
|deploy.sh||11 months ago|
|package-lock.json||11 months ago|
|package.json||11 months ago|
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
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.
to install all dependencies (they will be installed only for this project, not globally). You only have to do this once.
npm run serve
to start a development web server that by default is listening at
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):
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.
This website uses Eleventy, a static site generator.
It's supplied as a dev-dependency in
package.json and its dependencies are locked
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