0
0
Fork 0
mirror of https://codeberg.org/forgejo/docs.git synced 2024-12-24 22:32:43 -05:00
Forgejo Documentation https://forgejo.org/docs/
Find a file
Earl Warren de971ac0e2 update the website when a branch is pushed (#9)
TODO:

- [x] comment out the `git push` once the website has submodules merged in

Fixes: https://codeberg.org/forgejo/docs/issues/8

Additionally

* Upgrade to node:20
* Exclude the README.md when copying to the preview

* Allow forgejo-website to push to main on website

![image](/attachments/14f4f38f-fdb8-4ca7-9aee-d9b7e108d71e)

Preview: https://forgejo.codeberg.page/@docs_pull_9/
Reviewed-on: https://codeberg.org/forgejo/docs/pulls/9
Reviewed-by: Loïc Dachary <dachary@noreply.codeberg.org>
Co-authored-by: Earl Warren <contact@earl-warren.org>
Co-committed-by: Earl Warren <contact@earl-warren.org>
2023-08-16 10:32:04 +00:00
.forgejo/workflows update the website when a branch is pushed (#9) 2023-08-16 10:32:04 +00:00
docs move docs to subfolder 2023-08-15 00:19:15 +01:00
images/user move docs to subfolder 2023-08-15 00:19:15 +01:00
.editorconfig add editorconfig 2023-08-16 00:09:09 +01:00
.gitignore add CI to preview PRs (#5) 2023-08-16 09:31:01 +00:00
README.md update the website when a branch is pushed (#9) 2023-08-16 10:32:04 +00:00

Forgejo Documentation

This is the documentation for Forgejo and is published on the Forgejo website.

The main development branch of this repo is the next branch, which documents the version of Forgejo that is currently being developed.

Each time a new major version of Forgejo is released, a new branch will be created in this repo to document the stable release.

Current release branches are as follows:

Documentation content lives in the docs subfolder, and images in the images subfolder.

Contributing

Pull Requests

PRs should usually be sent against the next branch. Sometimes it will be appropriate to send a PR against a specific release branch if the changes only affect that release.

Most changes should either be sent as a single commit per PR, or should be squashed before merging. Fast-forwarding is the preferred merge strategy. Changes can then be backported (or if appropriate frontported) by cherry-picking.

Rarely, it will make sense to create a feature branch containting a series of commits that will be merged instead of squashing and fast-forwarding. Such a feature branch can then be merged into multiple versions of the docs if appropriate. In this case, the feature branch should usually be taken from the last common ancestor of all of the version branches into which it will potentially be merged.

All internal links within the documentation content should be relative to each page's path at the https://forgejo.org/docs/{{version}}/ URL. File extensions (.md) should not be included, and every URL should end with a trailing slash. Look at existing links for examples.

Images

Images should use relative URLs to the image files, which will be published at https://forgejo.org/images/{{version}}/.

Code of Conduct

All contributors are required to abide by the Forgejo Code of Conduct.

Feel free to reach out to the moderation team in case of any conflicts.

License

The documentation content originates from several different sources and each page has a different license. Please check the license frontmatter key near the top of each file to see the relevant license.

Where not otherwise stated, content is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License.