HesterG and GitHub
ed78711e46
Fix broken links in documents v1.19 ( #25142 )
...
Partially port #24630
2023-06-08 16:45:29 +08:00
HesterG and GitHub
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
HesterG and GitHub
b2ec116c60
Add oauth Chinese document for v1.19 ( #25020 )
2023-06-02 10:52:53 -04:00
HesterG and GitHub
edfa2c5b78
Port Chinese document for localization to v1.19 ( #25021 )
2023-06-02 10:49:33 -04:00
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 and GitHub
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 and GitHub
cdeb55f6e5
Remove unnecessary content on docs ( #24976 ) ( #25001 )
...
Backport #24976
2023-05-30 17:21:03 +08:00
HesterG and GitHub
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
5482602ba8
Add cardtype to org/user level project on creation, edit and view ( #24043 ) ( #24066 )
...
Backport #24043
Part of #23318
The way to fix the missing cardtype for user/org level projects in this
PR is to port the cardtype related part from #22112 to org/user level
projects' template and router functions.
Before:
<img width="1135" alt="截屏2023-04-11 13 55 49"
src="https://user-images.githubusercontent.com/17645053/231069068-ba897129-ae90-4aa0-9b0f-468bf5c65375.png ">
<img width="1131" alt="截屏2023-04-11 13 55 59"
src="https://user-images.githubusercontent.com/17645053/231069084-279f6681-5a10-42da-b5a8-2b0ba47c7078.png ">
After:
Create
<img width="835" alt="截屏2023-04-11 13 27 16"
src="https://user-images.githubusercontent.com/17645053/231064445-0d6e12bd-5725-48db-a102-80e7472757c2.png ">
Edit
<img width="852" alt="截屏2023-04-11 13 27 05"
src="https://user-images.githubusercontent.com/17645053/231064503-c70525cd-1038-43ec-8d93-8b8d95d183d4.png ">
View
<img width="1329" alt="截屏2023-04-11 13 26 56"
src="https://user-images.githubusercontent.com/17645053/231064529-26023c85-698b-4b2e-af02-45f9820c77ec.png ">
---------
Co-authored-by: silverwind <me@silverwind.io >
2023-04-12 08:23:05 -04:00
HesterG and GitHub
ced94f2e0d
Add accessibility to the menu on the navbar ( #23059 ) ( #23095 )
...
Backport #23059
This PR is trying to add accessibility to the menu as mentioned in
#23053 so the menu can be accessed using keyboard (A quick demo is added
below), with a reference to
[PR2612](https://github.com/go-gitea/gitea/pull/22612 ). The goal is to
make the menu accessible merely using keyboard like shown below. And
this PR might need confirmation from developers using screen readers.
2023-02-23 20:56:03 +08:00
9ebf6424ee
Remove dashes between organization member avatars on hover ( #23034 )
...
On the home page of an organization, there are unexpected dashes between
the avatars of the members when hovering over the avatars, as shown in
below:


This is because in `fomantic/build/semantic.css` there is a
rule `text-decoration: underline;` when hovering over the `<a>` tag.
Here, the `<a>` tag has width and height because of the avatar image inside,
leading to the unexpected underlines.
This PR overrides the `a:hover` rule so the underline does not exist anymore.
Co-authored-by: delvh <leon@kske.dev >
2023-02-21 12:28:31 +01:00
e3cffa70f9
add margin top to the top of branches ( #23002 )
...
add margin top as mentioned in #22973
---------
Co-authored-by: jidi <jidi@jidideMacBook-Pro.local >
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
2023-02-21 13:03:44 +08:00