John Olheiser
8c771c8b91
Docusaurus-ify 1.19 ( #26053 )
...
See https://github.com/go-gitea/gitea/pull/26051
---------
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: Giteabot <teabot@gitea.io>
2023-07-26 10:01:15 +08:00
Giteabot
2184a06c1a
Correctly refer to dev tags as nightly in the docker docs ( #26004 ) ( #26017 )
...
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
2023-07-20 10:50:33 -05:00
John Olheiser
c4798b08b1
Fix awesome-gitea link in 1.19 ( #26006 )
...
As title, we still pull the docs for `1.19`.
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2023-07-20 14:30:11 +08:00
Giteabot
b4bfaf7d4d
Add link to support page for commercial support ( #25293 ) ( #25299 )
...
Backport #25293 by @techknowlogick
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2023-06-16 14:19:26 +08:00
HesterG
ed78711e46
Fix broken links in documents v1.19 ( #25142 )
...
Partially port #24630
2023-06-08 16:45:29 +08:00
HesterG
c23ab427e1
Change branch name from master to main in some documents' links ( #25126 ) ( #25139 )
...
Backport #25126
As title. And needs to backport to 1.19
2023-06-08 04:31:55 -04:00
sillyguodong
e3cdb050fa
add zh-cn for Upgrade from old Gitea
in v1.19 ( #25022 )
...
as title
---------
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2023-06-06 11:39:53 -04:00
techknowlogick
8df6713a6e
update labels link to correct location in 1.19 docs ( #25105 )
2023-06-06 11:29:16 -04:00
Giteabot
15adec19e7
improve permission documentation ( #23942 ) ( #25078 )
2023-06-05 18:04:59 +08:00
HesterG
b2ec116c60
Add oauth Chinese document for v1.19 ( #25020 )
2023-06-02 10:52:53 -04:00
HesterG
edfa2c5b78
Port Chinese document for localization to v1.19 ( #25021 )
2023-06-02 10:49:33 -04:00
silverwind
b83e4f295d
Run markdownlint on drone, fix lint issue ( #25040 )
...
It currently does not run on 1.19 branch, resulting in lint error having
landed in https://github.com/go-gitea/gitea/pull/25016 .
2023-06-01 10:34:40 -05:00
sillyguodong
95bf09fca0
Add chinese documentations for Packages ( #24914 ) ( #25016 )
...
backport: #24914
2023-05-31 15:55:01 +08:00
sillyguodong
3b5cc02345
Add chinese documentations for installation ( #24904 ) ( #25015 )
...
backport #24904
2023-05-31 14:17:19 +08:00
HesterG
37b73b3337
Add Chinese docs for help, contribution and development ( #24925 ) ( #25011 )
...
Backport #24925 , partially backport #24934
(`docs/content/doc/help/faq.zh-cn.md` file)
Part of backport has already done by #24942
Also backport #24881 to avoid "deadlock"
---------
Co-authored-by: Zettat123 <zettat123@gmail.com>
2023-05-31 14:12:37 +08:00
HesterG
d2c9fb02dd
Unify doc links to use paths relative to doc folder ( #24979 ) ( #25000 )
...
Backport #24979
Changes:
1. Use uniform links types relative to doc folder (start with `doc/`)
2. According to [docusaurus
links](https://docusaurus.io/docs/markdown-features/links ), if `<a>` is
used, the `href` is resolved as URL location, but not file location. So
need to use `[text]({{< relref "path" >}})` instead.
2023-05-30 18:08:32 +08:00
HesterG
cdeb55f6e5
Remove unnecessary content on docs ( #24976 ) ( #25001 )
...
Backport #24976
2023-05-30 17:21:03 +08:00
Giteabot
0ef7b66018
Update from-binary.en-us.md ( #24975 ) ( #24999 )
...
Backport #24975 by @team-epk
Fixed link to the creating a systemd service in Ubuntu document.
2023-05-30 14:01:06 +08:00
Giteabot
3a7e0953c1
zh-cn
translation for usage docs (#24897 ) ( #24977 )
...
Backport #24897 by @Zettat123
- [x] agit-support
- [x] clone-filter
- [x] incoming-email
- [x] labels
- [x] linked-references
- [x] merge-message-templates
- [x] permissions
- [x] profile-readme
- [x] protected-tags
- [x] push
- [x] repo-mirror
- [x] secrets
- [x] template-repositories
- [x] webhooks
Co-authored-by: Zettat123 <zettat123@gmail.com>
2023-05-29 11:53:11 +08:00
Giteabot
9da84a36eb
simple docs fixes: 'pull request' page (en-us & zh-tw) link path to 'issue-pull-request-templates' ( #24961 ) ( #24970 )
...
Backport #24961 by @jonkeim
Co-authored-by: Jon Keim <jon@windless.org>
Co-authored-by: silverwind <me@silverwind.io>
2023-05-28 21:51:53 -04:00
Giteabot
8a6a1143a4
Remove reference to caddy v1 in docs ( #24962 ) ( #24964 )
...
Backport #24962 by @techknowlogick
caddy v1 is loong eol. v2 should be used.
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2023-05-28 05:34:50 -04:00
HesterG
b4cd1028d9
Fix doc for 1.19 backend guideline ( #24942 )
...
Port the file change in
https://github.com/go-gitea/gitea/pull/24925/files from `main` to
`v1.19` to fix docs
2023-05-26 17:22:38 +08:00
Giteabot
d1af0a3e4c
Merge two translation contributing documents ( #23939 ) ( #24933 )
...
Backport #23939 by @lunny
This PR also adjusts the weights.
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: delvh <dev.lh@web.de>
2023-05-25 12:07:25 -04:00
Lunny Xiao
e7757aa4be
Remove unnecessary prefix usage ( #24888 )
...
Since now all articles have a class, the `Usage:` is unnecessary. This
PR will remove them.
2023-05-24 00:34:31 +08:00
Giteabot
aa984f21fa
Fix docs documenting invalid @every
for OLDER_THAN
cron settings ( #24695 ) ( #24698 )
...
Backport #24695 by @yardenshoham
Looks like a copy-paste leftover
- Fixes #20868
Co-authored-by: Yarden Shoham <git@yardenshoham.com>
2023-05-13 23:47:56 +08:00
Giteabot
cc7a4f17e0
Don't set meta theme-color
by default ( #24340 ) ( #24346 )
...
Backport #24340 by @silverwind
Fixes https://github.com/go-gitea/gitea/issues/24321 . By not setting
this meta tag, Safari will use body color for chrome and out-of-viewport
areas, which looks much better then static mismatching green.
As per
[MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta/name/theme-color )
it's really only Apple browsers who still support this tag, most others
have dropped support.
Before:
<img width="347" alt="Screenshot 2023-04-25 at 19 59 13"
src="https://user-images.githubusercontent.com/115237/234363180-0fe667ef-5469-4f5f-b31a-c9d73aff10ac.png ">
After:
<img width="361" alt="Screenshot 2023-04-25 at 20 00 00"
src="https://user-images.githubusercontent.com/115237/234363185-e2d2b62f-0133-4316-944d-b614ffb84eb0.png ">
Co-authored-by: silverwind <me@silverwind.io>
2023-04-26 01:33:15 -04:00
Giteabot
8644993699
Update documentation to explain which projects allow Gitea to host static pages ( #23993 ) ( #24058 )
...
Backport #23993 by @6543
close #23521
Signed-off-by: 6543 <6543@obermui.de>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: a1012112796 <1012112796@qq.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2023-04-11 18:43:35 +02:00
Lunny Xiao
5066b208de
Merge push to create
, open PR from push
, and push options
docs articles into one ( #23744 ) ( #23959 )
...
backport #23744
2023-04-07 15:49:26 +08:00
Giteabot
8d88f148d7
docs: make the required backticks in email password more explicit ( #23923 ) ( #23926 )
...
Backport #23923 by @teauxfu
updated the example config to make the needed backticks around the
password more obvious
Co-authored-by: alex <alexmw777@gmail.com>
2023-04-04 15:06:54 -04:00
Giteabot
7bfab90a8f
docs: fix typo ( #23924 ) ( #23925 )
...
Backport #23924 by @teauxfu
fixes a minor typo in the email templates page
Co-authored-by: alex <alexmw777@gmail.com>
2023-04-04 18:13:09 +02:00
Lunny Xiao
1a8da2e08f
Update docs markdown file weight to make it clear ( #23909 ) ( #23921 )
...
backport #23909
2023-04-04 11:27:38 -04:00
Giteabot
1886bd6a01
Rename actions unit to repo.actions
and add docs for it ( #23733 ) ( #23881 )
...
Backport #23733 by @wolfogre
I neglected that the `NameKey` of `Unit` is not only for translation,
but also configuration. So it should be `repo.actions` to maintain
consistency.
## ⚠️ BREAKING ⚠️
If users already use `actions.actions` in `DISABLED_REPO_UNITS` or
`DEFAULT_REPO_UNITS`, it will be treated as an invalid unit key.
Co-authored-by: Jason Song <i@wolfogre.com>
2023-04-03 12:54:36 +02:00
wxiaoguang
d15f20b2d2
Add ONLY_SHOW_RELEVANT_REPOS back, fix explore page bug, make code more strict ( #23766 ) ( #23791 )
...
Follow #21962
After I eat my own dogfood, I would say that
ONLY_SHOW_RELEVANT_REPOS=false is necessary for many private/enterprise
instances, because many private repositories do not have
"description/topic", users just want to search by their names.
This PR also adds `PageIsExploreRepositories` check, to make code more
strict, because the `search` template is shared for different purpose.
And during the test, I found a bug that the "Search" button didn't
respect the "relevant" parameter, so this PR fixes the bug by the way
together.
2023-03-30 09:09:22 -05:00
wxiaoguang
b73d1ac1eb
Make minio package support legacy MD5 checksum ( #23768 ) ( #23770 )
...
Backport #23768 (no source code conflict, only some unrelated
docs/test-ini conflicts)
Some storages like:
* https://developers.cloudflare.com/r2/api/s3/api/
* https://www.backblaze.com/b2/docs/s3_compatible_api.html
They do not support "x-amz-checksum-algorithm" header
But minio recently uses that header with CRC32C by default. So we have
to tell minio to use legacy MD5 checksum.
2023-03-29 00:02:13 +08:00
Giteabot
f23b587fe7
Describe Gitea's purpose more accurately ( #23698 ) ( #23710 )
2023-03-26 17:33:32 +08:00
Giteabot
a28863bff7
Fix codeblocks in the cheat sheet ( #23664 ) ( #23669 )
...
Backport #23664 by @SuperSandro2000
Conflicts fixed by Andrew Thornton <art27@cantab.net>
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Co-authored-by: Andrew Thornton <art27@cantab.net>
2023-03-23 16:50:56 -04:00
Lunny Xiao
162f2841d0
Rename develop -> development, contribute -> contributing, administer -> administration ( #23662 )
...
backport #23629
To make versioned documentation less surprising, 1.19 should have the
same technology.
2023-03-23 15:44:09 -05:00
Giteabot
4730ed18f1
Add .patch
to attachment.ALLOWED_TYPES
( #23580 ) ( #23582 )
...
Backport #23580 by @silverwind
Updated this default to GitHub's latest, adding the `.patch` file
extension to allowed types.
Co-authored-by: silverwind <me@silverwind.io>
2023-03-19 16:48:44 -04:00
silverwind
8f8bd3c0cb
Replace Less with CSS ( #23508 )
...
Backport https://github.com/go-gitea/gitea/pull/23481 ,
https://github.com/go-gitea/gitea/pull/23504 and
https://github.com/go-gitea/gitea/pull/23520 to 1.19, just so we have an
easier time with future backports.
Seems to work on a basic level. There was a merge conflict in
`RepoActionView.vue`, otherwise it merged cleanly.
---------
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
2023-03-16 21:04:39 -04:00
Giteabot
70e31b4aa0
Update path to docs theme file ( #23502 ) ( #23505 )
...
Backport #23502 by @techknowlogick
The branch name for the theme was updated to main
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2023-03-15 16:04:27 -05:00
Giteabot
c698a6fc5d
Scoped label display and documentation tweaks ( #23430 ) ( #23433 )
...
Backport #23430 by @brechtvl
* Fix scoped label left and right part breaking across lines.
* Remove slanted divider in scoped label display, make it straight.
After using this for a while, this feels more visually noisy than
helpful.
* Reduce contrast between scope and item to reduce probability of
unreadable text on background.
* Change documentation to remove mention of non-exclusive scoped labels.
Co-authored-by: Brecht Van Lommel <brecht@blender.org>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
2023-03-15 07:58:38 +08:00
Giteabot
fa33919e24
Support reflogs ( #22451 ) ( #23438 )
...
Backport #22451 by @philip-peterson
This PR adds support for reflogs on all repositories. It does this by
adding a global configuration entry.
Implements #14865
Signed-off-by: Philip Peterson <philip.c.peterson@gmail.com>
Co-authored-by: Philip Peterson <philip-peterson@users.noreply.github.com>
2023-03-13 12:20:10 +00:00
Giteabot
61f91bdc7e
Update documentation for the new YAML label file format ( #23020 ) ( #23341 )
...
Backport #23020
update documentation to include an overview of the yaml label template
that is part of PR #22976
Signed-off-by: Jon Roadley-Battin <jon.roadleybattin@gmail.com>
Co-authored-by: JonRB <4564448+eeyrjmr@users.noreply.github.com>
Co-authored-by: Yarden Shoham <hrsi88@gmail.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Co-authored-by: delvh <dev.lh@web.de>
2023-03-06 17:52:29 -06:00
Giteabot
ee3d9330a8
Update hacking-on-gitea-zh_cn documentation ( #23315 ) ( #23323 )
...
Backport #23315
This PR fix outdated hacking-on-gitea-zh_cn documentation.
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Jason Song <i@wolfogre.com>
2023-03-06 18:44:02 +08:00
Giteabot
17ae7e335e
Add basic documentation for labels, including scoped labels ( #23304 ) ( #23309 )
...
Backport #23304
Part of #22974
Co-authored-by: Brecht Van Lommel <brecht@blender.org>
Co-authored-by: delvh <dev.lh@web.de>
2023-03-05 20:38:46 +08:00
Giteabot
a926994bfe
Re-add accidentally removed hacking-on-gitea.zh-cn.md
( #23297 ) ( #23305 )
2023-03-04 20:09:58 -05:00
Yarden Shoham
111c509287
Add InsecureSkipVerify to Minio Client for Storage ( #23166 ) ( #23177 )
...
Backport #23166
Allows using Minio with untrusted certificates
Closes #23128
Signed-off-by: Yarden Shoham <hrsi88@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2023-02-28 00:29:17 +02:00
Yarden Shoham
a3694b6989
Fix secrets overview page missing from docs sidebar ( #23143 ) ( #23145 )
...
Backport #23143
There was a warning while building the docs: `Building sites … WARN
2023/02/25 08:56:37
"/workspace/gitea/docs/content/doc/secrets/overview.en-us.md:1:1":
duplicate menu entry with identifier "overview" in menu "sidebar"`.
### Before
![image](https://user-images.githubusercontent.com/20454870/221348741-55cef254-f2ac-4507-9a66-818b406c668f.png )
### After
![image](https://user-images.githubusercontent.com/20454870/221348757-42066303-e1b7-43fe-9c4f-e05182fbabdd.png )
Signed-off-by: Yarden Shoham <hrsi88@gmail.com>
2023-02-25 13:30:32 +02:00
Yarden Shoham
aff432b197
Nest metadata in refactoring docs ( #23087 ) ( #23091 )
...
Backport #23087
Whitespace was missing from refactoring docs metadata.
backport label applied so it is included in versioned docs.
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2023-02-23 03:39:30 -05:00
John Olheiser
4d2d3bd65d
Changelog 1.18.5 ( #23045 ) ( #23049 )
...
Frontport #23045
2023-02-21 13:36:19 -06:00