0
0
Fork 0
mirror of https://codeberg.org/forgejo/docs.git synced 2024-11-21 17:36:59 -05:00
Commit graph

308 commits

Author SHA1 Message Date
Caesar Schinas
c64d2ccd06
move images to content dir and use relative paths
This is necessary for the website upgrade to Astro v3, which has a new built-in image API.
2023-08-31 23:07:42 +01:00
Earl Warren
852b447f91
admin: storage: updates and improve S3
The original documentation was written with a focus on local storage
and missed a few important aspects of how storage types can be mixed
together in some subsystems.

* unify the susbsystem paths to be "directory" instead of using "base
  path". It is not technically a directory in S3 but looks like one
  and the approximation is unlikely to cause confusion.
* use S3 instead of minio where possible to emphasize the storage type
  is not MinIO specific and add a section for the compatibility with
  garage
* change the document structure to have two separate parts:
  * [storage] the global sections
  * [xxxx] the subsystem specific section
  and within each of them local and S3 are documented separately
  because they share nothing
* [storage] is documented to be a fallback if [xxxx] does not exist
  for a given subsystem. There is no notion of inheritance because
  it behaves in ways that are not tested and for which consistency is
  not guaranteed
* backward compatibility with Gitea is documented to be the reason why
  there are no safeguards against undocumented features
2023-08-31 12:35:32 +02:00
Gusted
693f849196 developer: add ARCHITECTURE file
- As per https://codeberg.org/forgejo/discussions/issues/53#issuecomment-1070207
2023-08-30 17:11:06 +00:00
Earl Warren
a8736608ba
admin: installation: address caesar comments
https://codeberg.org/forgejo/docs/pulls/92#issuecomment-1091839
2023-08-30 15:27:51 +02:00
firefly-cpp
12cf38145e admin:installation:Installation from package docs 2023-08-30 13:08:15 +02:00
crystal
b0319eaa02
Add next.forgejo.org documentation 2023-08-29 19:49:52 -06:00
Earl Warren
ac639fae68
admin: actions: update the runner download name
The name scheme changed with version 3.0.0
2023-08-28 12:27:29 +02:00
Caesar Schinas
3573e7ceac add link to command-line 2023-08-27 15:18:31 +00:00
Caesar Schinas
713824565b grammar and formatting improvements in command-line 2023-08-27 15:18:31 +00:00
Caesar Schinas
6c5e27d8f9 s/gitea/forgejo/ in command-line docs 2023-08-27 15:18:31 +00:00
Caesar Schinas
b7c2392a4c import command-line docs from Gitea 2023-08-27 15:18:31 +00:00
Earl Warren
ace3c8f8e9 address caesar comments 2023-08-27 06:06:03 +00:00
Earl Warren
86df6f07b2 typo 2023-08-27 06:06:03 +00:00
Earl Warren
705958fcfa address gusted comments 2023-08-27 06:06:03 +00:00
Earl Warren
d1f42e1b83 admin: actions: rework and introduce OCI images 2023-08-27 06:06:03 +00:00
Caesar Schinas
581d02f1d7
s/Gitea/Forgejo/ 2023-08-27 00:02:54 +01:00
firefly-cpp
475ef3b3c7 user:issue-pull-request-templates:gitea->forgejo in template 2023-08-26 14:44:38 +02:00
Robin Kloppe
cda78ddf2a serveral improvements 2023-08-26 00:12:52 +02:00
Earl Warren
a68070a894
admin: actions: add a section about alternative runners 2023-08-25 10:18:29 +02:00
Robin Kloppe
42dbbba27c Clarified version check endpoint parameters. HTTP_ENDPOINT is now deprecated (#68)
Clarified version check endpoint parameters. HTTP_ENDPOINT is now deprecated

Closes #49

Reviewed-on: https://codeberg.org/forgejo/docs/pulls/68
Reviewed-by: Caesar Schinas <caesar@caesarschinas.com>
Co-authored-by: Robin Kloppe <git@mainboarder.de>
Co-committed-by: Robin Kloppe <git@mainboarder.de>
2023-08-24 10:28:46 +00:00
Earl Warren
73a1bcb126 admin: logging-documentation: add documentation for MODE = 2023-08-23 10:42:13 +00:00
Loïc Dachary
f0c9ffab9e developer: release: document the steps 2023-08-22 22:12:41 +00:00
Caesar Schinas
a575e3ef68 fix: ci: update website config filename 2023-08-22 21:59:32 +00:00
Gusted
2b3136b775 admin: document SLOW_QUERY_TRESHOLD option
- This is a Forgejo-specific option and the associated pull request is
- https://codeberg.org/forgejo/forgejo/pulls/1284.
- Adding a recommendation to set it to a lower value if an administrator
is investigating poor database performance with Forgejo.
2023-08-21 21:01:23 +00:00
wh0ami
21517723f4 admin: add hint for known bug with SameSite strict and external OAuth2 providers 2023-08-21 19:29:26 +00:00
Earl Warren
5ea739c8d1
admin: ugprade add notes about v1.20.[12]-0 2023-08-21 10:55:19 +02:00
Caesar Schinas
1de27e8949
tooling: add live preview script 2023-08-19 23:20:00 +01:00
Caesar Schinas
a3c639ff49 better description of input validation attributes
Closes https://codeberg.org/forgejo/website/issues/168
2023-08-19 20:03:28 +00:00
Caesar Schinas
c6ab3c37fb
fix: broken links from Gitea docs import
Invalid link templates left over from docs import from Gitea.

Closes https://codeberg.org/forgejo/website/issues/160
2023-08-19 16:26:57 +01:00
Caesar Schinas
ba892adf7f add yaml to editorconfig 2023-08-19 06:27:35 +00:00
Caesar Schinas
db41d2411f
CI: use slashes in backport branch names and labels 2023-08-18 23:44:21 +01:00
Loïc Dachary
db05f79562 CI: do nothing instead of failing if trying to backport a PR 2023-08-18 20:51:01 +00:00
Robin Kloppe
4a3f87ad43
Removed Push Options link from User Index - Bug #30 2023-08-18 22:40:37 +02:00
Robin Kloppe
b8c2ed65c9 Replaced mydomain with example - RFC2606, RFC6761 2023-08-18 22:27:55 +02:00
Earl Warren
7cc799cfa1
README: add backport instructions 2023-08-18 15:09:05 +02:00
Earl Warren
3de0164331
CI: use WEBSITETOKEN
because using GITHUB_TOKEN has the undesirable side effect of blocking
the workflows when creating a branch and a PR from it
2023-08-18 14:50:44 +02:00
Earl Warren
2fd1640125
CI: add backport workflow
Refs: https://codeberg.org/forgejo/docs/issues/18
2023-08-18 14:12:49 +02:00
Loïc Dachary
3d68e4f36e
CI: move the preview script to an action 2023-08-17 23:56:58 +02:00
Loïc Dachary
5dde3a4231 add a comment with a link to the preview on creation
Refs: https://codeberg.org/forgejo/docs/issues/3
2023-08-17 17:30:40 +00:00
Loïc Dachary
67fdb5449b
developer: link to the CI file for go-version recommendation 2023-08-17 19:01:23 +02:00
Caesar Schinas
2d3459594d
document "And Your Own Notifications" setting 2023-08-17 14:11:28 +01:00
Caesar Schinas
4e059dc7f9
add linting for docs markdown content 2023-08-16 23:57:11 +01:00
crystal
8b922f661d
Add "internal" pull request instructions 2023-08-16 10:01:15 -06:00
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
Earl Warren
fc108d2064 add CI to preview PRs (#5)
TODO:

- [x] clone from website instead of caesar
- [x] skip the proof of change commit

Preview: https://forgejo.codeberg.page/@docs_pull_5/

This is a simplistic approach to get started with previews. It copies the website, moves the docs under `/forgejo-docs/{{ base branch }}`, create the website and publishes it for preview. No doubt the actual workflow will be different but that needs to be decided.

* Added a WEBSITETOKEN secret created from the forgejo-website user. It is a token with write access to repositories. https://codeberg.org/forgejo/docs/settings/actions/secrets. Contrary to woodpecker it is not in an environment variable but will be replaced when inserting `${{ secrets.WEBSITETOKEN }}` somewhere
* In the environment the variable was replaced CI_COMMIT_PULL_REQUEST → `${{ env.GITHUB_REF_NAME }}`
* The preview is published at https://forgejo.codeberg.page/@docs_pull_N/ instead of https://forgejo.codeberg.page/@pull_N/
* The `$$` were replaced with `$` in the script because Forgejo Actions does not interpret `$` and therefore does not need escaping them to `$$`

Reviewed-on: https://codeberg.org/forgejo/docs/pulls/5
Reviewed-by: Loïc Dachary <dachary@noreply.codeberg.org>
Reviewed-by: Caesar Schinas <caesar@caesarschinas.com>
Co-authored-by: Earl Warren <contact@earl-warren.org>
Co-committed-by: Earl Warren <contact@earl-warren.org>
2023-08-16 09:31:01 +00:00
Caesar Schinas
c14ccdf2d2
add editorconfig 2023-08-16 00:09:09 +01:00
Caesar Schinas
c592e1acb1
add README 2023-08-15 15:53:17 +01:00
Caesar Schinas
27864fec2b
move docs to subfolder 2023-08-15 00:19:15 +01:00
Vlad-Stefan Harbuz
ea5e4573fe
Replace “MAILER_TYPE” with “PROTOCOL” 2023-08-13 17:18:48 +01:00
Caesar Schinas
6ec4fbe7c8
Merge branch 'storage' into next
# Conflicts:
#	admin/config-cheat-sheet.md
2023-08-13 17:16:28 +01:00