Commit Graph

19 Commits (16afe4f63181a68565785c04885ed7d38b408fa9)

Author SHA1 Message Date
John Olheiser 79995a8194
Re-add static images to docs ()
https://github.com/go-gitea/gitea/pull/26051 I accidentally rebased
locally without my re-addition for these files, so they were missed in
the merge, but only for `main`.

Signed-off-by: jolheiser <john.olheiser@gmail.com>
John Olheiser bd4c7ce578
Docusaurus-ify ()
This PR cleans up the docs in a way to make them simpler to ingest by
our [docs repo](https://gitea.com/gitea/gitea-docusaurus).

1. It includes all of the sed invocations our ingestion did, removing
the need to do it at build time.
2. It replaces the shortcode variable replacement method with
`@variable@` style, simply for easier sed invocations when required.
3. It removes unused files and moves the docs up a level as cleanup.

---------

Signed-off-by: jolheiser <john.olheiser@gmail.com>
Jason Song 8f314c6793
Docs for Gitea Actions ()
A new documentation section for Gitea Actions.

Some content comes from:

- [Hacking on Gitea
Actions](https://blog.gitea.io/2023/03/hacking-on-gitea-actions/)
- The README of [act_runner](https://gitea.com/gitea/act_runner)
- @ChristopherHX's excellent overview of the differences between Gitea
Actions and GitHub Actions in [this
comment](https://github.com/go-gitea/gitea/issues/13539#issuecomment-1448888850).

---------

Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
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>
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>
techknowlogick 6af1a0c8c0
inline gitpod image ()
fix 

Co-authored-by: 6543 <6543@obermui.de>
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 
techknowlogick 9b22ada0a7
Self-host cloudron image for docs ()
* Add cloudron image to docs itself

* rm cloudron csp

* Update from-package.en-us.md
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>
John Olheiser 991ab899ff
Add cloudron to img-src CSP ()
Signed-off-by: jolheiser <john.olheiser@gmail.com>
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>
John Olheiser 8f16a2c37b Update _headers ()
John Olheiser b41f303ae0 Add CDNJS to script-src CSP ()
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
Thomas Boerger e6b51200ab Final CSP header fix ()
Thomas Boerger 8afd500c48 Add missing font hosts to CSP header ()
Thomas Boerger 8b21cdba78
Fix CSP header for docs ()
Thomas Boerger d84490a0df Replaced docker docs with netlify deployment ()
techknowlogick fb5c6b6444 Import docs into main repository ()
* import docs into main repository

Signed-off-by: Matti Ranta <matti@mdranta.net>