From 9b22ada0a786494a69cf8aedb3576f9e252b2c79 Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Mon, 7 Dec 2020 22:20:37 -0500 Subject: [PATCH] Self-host cloudron image for docs (#13895) * Add cloudron image to docs itself * rm cloudron csp * Update from-package.en-us.md --- .../doc/installation/from-package.en-us.md | 2 +- docs/static/_headers | 2 +- docs/static/cloudron.svg | 53 +++++++++++++++++++ 3 files changed, 55 insertions(+), 2 deletions(-) create mode 100644 docs/static/cloudron.svg diff --git a/docs/content/doc/installation/from-package.en-us.md b/docs/content/doc/installation/from-package.en-us.md index 40cfea473a..c2e0924962 100644 --- a/docs/content/doc/installation/from-package.en-us.md +++ b/docs/content/doc/installation/from-package.en-us.md @@ -87,7 +87,7 @@ To enable Gitea to run as a service, run `sysrc gitea_enable=YES` and start it w Gitea is available as a 1-click install on [Cloudron](https://cloudron.io). Cloudron makes it easy to run apps like Gitea on your server and keep them up-to-date and secure. -[![Install](https://www.cloudron.io/img/button.svg)](https://www.cloudron.io/button.html?app=io.gitea.cloudronapp) +[![Install](/cloudron.svg)](https://cloudron.io/button.html?app=io.gitea.cloudronapp) The Gitea package is maintained [here](https://git.cloudron.io/cloudron/gitea-app). diff --git a/docs/static/_headers b/docs/static/_headers index 41055546ab..7bf593b769 100644 --- a/docs/static/_headers +++ b/docs/static/_headers @@ -1,5 +1,5 @@ /* - Content-Security-Policy: default-src 'self'; script-src 'self' 'unsafe-inline' https://cdnjs.cloudflare.com; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com https://cdnjs.cloudflare.com; img-src 'self' https://www.cloudron.io; font-src 'self' data: https://cdnjs.cloudflare.com https://fonts.gstatic.com + Content-Security-Policy: default-src 'self'; script-src 'self' 'unsafe-inline' https://cdnjs.cloudflare.com; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com https://cdnjs.cloudflare.com; font-src 'self' data: https://cdnjs.cloudflare.com https://fonts.gstatic.com X-Frame-Options: DENY X-Xss-Protection: 1; mode=block X-Content-Type-Options: nosniff diff --git a/docs/static/cloudron.svg b/docs/static/cloudron.svg new file mode 100644 index 0000000000..716f67a165 --- /dev/null +++ b/docs/static/cloudron.svg @@ -0,0 +1,53 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file