Replaced docker docs with netlify deployment (#4420)

This commit is contained in:
Thomas Boerger 2018-07-11 16:43:33 +02:00 committed by Jonas Franz
parent c2ec38f9b7
commit d84490a0df
7 changed files with 28 additions and 94 deletions

View file

6
docs/static/_headers vendored Normal file
View file

@ -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

8
docs/static/_redirects vendored Normal file
View file

@ -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!