diff options
author | Thomas Boerger <thomas@webhippie.de> | 2018-07-11 16:43:33 +0200 |
---|---|---|
committer | Jonas Franz <info@jonasfranz.software> | 2018-07-11 16:43:33 +0200 |
commit | d84490a0df308f0783637e39bf5302128f9f8584 (patch) | |
tree | eb49f2408e4b0648567844a57872ed6f975af089 /docs/static | |
parent | c2ec38f9b70157ae08867190b2d2b23efd1d4cb0 (diff) | |
download | gitea-d84490a0df308f0783637e39bf5302128f9f8584.tar.gz gitea-d84490a0df308f0783637e39bf5302128f9f8584.zip |
Replaced docker docs with netlify deployment (#4420)
Diffstat (limited to 'docs/static')
-rw-r--r-- | docs/static/.gitkeep | 0 | ||||
-rw-r--r-- | docs/static/_headers | 6 | ||||
-rw-r--r-- | docs/static/_redirects | 8 |
3 files changed, 14 insertions, 0 deletions
diff --git a/docs/static/.gitkeep b/docs/static/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 --- a/docs/static/.gitkeep +++ /dev/null diff --git a/docs/static/_headers b/docs/static/_headers new file mode 100644 index 0000000000..b3c268ea10 --- /dev/null +++ b/docs/static/_headers @@ -0,0 +1,6 @@ +/* + Content-Security-Policy: default-src 'self' + X-Frame-Options: DENY + X-Xss-Protection: 1; mode=block + X-Content-Type-Options: nosniff + Referrer-Policy: strict-origin-when-cross-origin diff --git a/docs/static/_redirects b/docs/static/_redirects new file mode 100644 index 0000000000..0eb23153ae --- /dev/null +++ b/docs/static/_redirects @@ -0,0 +1,8 @@ +https://gitea-docs.netlify.com/* https://docs.gitea.io/:splat 302! + +/ /fr-fr/ 302! Language=fr +/ /nl-nl/ 302! Language=nl +/ /pt-br/ 302! Language=pt-br +/ /zh-cn/ 302! Language=zh-cn +/ /zh-tw/ 302! Language=zh-tw +/ /en-us/ 302! |