From a3d16bd0b600597a84ee2a5aded504d692342f9d Mon Sep 17 00:00:00 2001 From: basebuilder Date: Mon, 5 Feb 2024 18:29:35 +0100 Subject: [PATCH] Add basic Decap CMS files --- docs/admin/config.yml | 26 ++++++++++++++++++++++++++ docs/admin/index.html | 12 ++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 docs/admin/config.yml create mode 100644 docs/admin/index.html diff --git a/docs/admin/config.yml b/docs/admin/config.yml new file mode 100644 index 0000000..26ab1e2 --- /dev/null +++ b/docs/admin/config.yml @@ -0,0 +1,26 @@ +display_url: "https://docs.coopcloud.tech/" +logo_url: "/img/coop_cloud_logo_pink.png" +backend: + name: gitea + repo: coop-cloud/docs.coopcloud.tech + branch: main + app_id: c5bb5fe3-d24d-4246-b790-7455a271d1e8 + site_domain: docs.coopcloud.tech + api_root: https://git.coopcloud.tech/api/v1 + base_url: https://git.coopcloud.tech + auth_endpoint: https://git.coopcloud.tech/login/oauth/authorize +media_folder: img +public_folder: /img +collections: + - name: 'docs' + label: 'Docs' + create: true + folder: 'docs/' + slug: '{{slug}}' + fields: + - label: 'Title' + name: 'title' + widget: 'string' + - label: "Body" + name: "body" + widget: "markdown" diff --git a/docs/admin/index.html b/docs/admin/index.html new file mode 100644 index 0000000..55b3e83 --- /dev/null +++ b/docs/admin/index.html @@ -0,0 +1,12 @@ + + + + + + + Co-op Cloud: Docs Editor + + + + +