Commit graph

16 commits

Author SHA1 Message Date
Lunny Xiao
8857e97b5f
Merge push to create, open PR from push, and push options docs articles into one ()
Add documentation for this feature.

<img width="734" alt="gitea-push-hint"
src="https://user-images.githubusercontent.com/81045/227921177-af08ab76-7556-4a69-8da9-bb59cec1388b.png">

---------

Co-authored-by: delvh <dev.lh@web.de>
2023-04-07 07:36:19 +08:00
Xinyu Zhou
563945c50c
Refactor docs ()
This patch:
- Rename some files( `.md` to `.en-us.md`), fix missed translation copy
- Update link which shoud be refer to `../hacking-on-gitea/` instead of
`../make/` (outdated)
- Update `_redirects`:
  -  redirect `/{zh-cn|fr-fr}/make/` to `../hacking-on-gitea/`
  - redirect `/zh-cn/third-party-tools/` to `/zh-cn/integrations/`
- Delete duplicated/outdated files.
- Update menu `weight` of developers.zh-cn.md

Signed-off-by: Xinyu Zhou <i@sourcehut.net>
2022-10-31 23:16:19 +00:00
techknowlogick
6af1a0c8c0
inline gitpod image ()
fix 

Co-authored-by: 6543 <6543@obermui.de>
2022-10-18 09:55:57 +08:00
Joe Constant
d7f0d8d8ea
Add redirect of /upgrade/ to /upgrade-from-gitea/ on docs site ()
Since adding an aliases block doesn't seem to work locally for me (I
suspect because a page actually exists and Hugo is granting preference
to existing pages over aliases), I also added entries to
static/_redirects file so Netlify will handle the redirects

Fixes 
2022-10-06 21:53:02 +01:00
techknowlogick
9b22ada0a7
Self-host cloudron image for docs ()
* Add cloudron image to docs itself

* rm cloudron csp

* Update from-package.en-us.md
2020-12-07 22:20:37 -05:00
John Olheiser
a33db35b38
Fully qualify cloudron CSP ()
* Wildcard cloudron

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Just use FQDN

Signed-off-by: jolheiser <john.olheiser@gmail.com>
2020-12-07 16:17:27 -06:00
John Olheiser
991ab899ff
Add cloudron to img-src CSP ()
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2020-12-07 10:33:22 -06:00
John Olheiser
1d6b565de4
Refactor docs ()
* First pass

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* More changes

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Redirects

Signed-off-by: jolheiser <john.olheiser@gmail.com>
2020-10-23 11:59:45 -04:00
John Olheiser
8f16a2c37b Update _headers () 2019-12-13 22:03:09 +02:00
John Olheiser
b41f303ae0 Add CDNJS to script-src CSP () 2019-11-13 20:22:09 +00:00
Jonas Franz
79ce24bc6f
Add oauth2 documentation ()
* Add oauth2 documentation

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Apply suggestions from code review

Co-Authored-By: jonasfranz <info@jonasfranz.software>

* Update docs/content/doc/advanced/oauth2-provider.md

Co-Authored-By: jonasfranz <info@jonasfranz.software>

* Update oauth2-provider.md
2019-04-14 10:42:11 +02:00
Thomas Boerger
e6b51200ab Final CSP header fix () 2018-07-12 19:48:33 +08:00
Thomas Boerger
8afd500c48 Add missing font hosts to CSP header () 2018-07-11 19:24:06 -04:00
Thomas Boerger
8b21cdba78
Fix CSP header for docs () 2018-07-12 00:27:48 +02:00
Thomas Boerger
d84490a0df Replaced docker docs with netlify deployment () 2018-07-11 16:43:33 +02:00
techknowlogick
fb5c6b6444 Import docs into main repository ()
* import docs into main repository

Signed-off-by: Matti Ranta <matti@mdranta.net>
2017-11-26 23:44:32 +02:00