docsify/site/admin/config.yml

62 lines
1.8 KiB
YAML
Raw Normal View History

2024-03-05 18:45:44 +00:00
site_url: https://docs.bigyellowfish.com
publish_mode: simple
search: false
2024-03-05 10:15:02 +00:00
backend:
name: gitea
repo: nicholas/docsify # Path to your Gitea repository
app_id: 33acc7a8-da11-4fce-acd5-970ff5c9bad3 # The Client ID provided by Gitea
api_root: https://gitea.bigyellowfish.com/api/v1 # API URL of your Gitea instance
base_url: https://gitea.bigyellowfish.com # Root URL of your Gitea instance
auth_endpoint: https://gitea.bigyellowfish.com/login/oauth/authorize
# optional, defaults to master
# branch: main
2024-03-05 18:45:44 +00:00
commit_messages:
create: Create {{collection}} “{{slug}}”
update: Update {{collection}} “{{slug}}”
delete: Delete {{collection}} “{{slug}}”
uploadMedia: Upload “{{path}}”
deleteMedia: Delete “{{path}}”
openAuthoring: '{{message}}'
2024-03-07 20:44:12 +00:00
media_folder: "_images"
2024-03-05 21:47:17 +00:00
# public_folder: "site"
2024-03-05 10:15:02 +00:00
collections:
2024-03-05 21:37:32 +00:00
- label: "Navigation"
2024-03-07 20:44:12 +00:00
name: navigation
2024-03-05 10:15:02 +00:00
files:
2024-03-07 20:44:12 +00:00
- label: "Home Page"
name: home
2024-03-05 21:47:17 +00:00
file: "site/README.md"
2024-03-05 10:15:02 +00:00
fields:
2024-03-05 21:30:59 +00:00
- { label: 'Body', name: 'body', widget: 'markdown' }
2024-03-05 23:03:16 +00:00
- label: "Coverpage"
2024-03-07 20:44:12 +00:00
name: coverpage
2024-03-05 23:03:16 +00:00
file: "site/_coverpage.md"
fields:
- { label: 'Body', name: 'body', widget: 'markdown' }
2024-03-05 18:57:36 +00:00
- label: "Sidebar"
2024-03-07 20:44:12 +00:00
name: sidebar
2024-03-05 21:47:17 +00:00
file: "site/_sidebar.md"
2024-03-05 18:57:36 +00:00
fields:
2024-03-05 21:37:32 +00:00
- { label: 'Body', name: 'body', widget: 'markdown' }
2024-03-05 21:41:39 +00:00
- label: "Pages"
2024-03-07 20:44:12 +00:00
name: pages
2024-03-05 21:47:17 +00:00
folder: "site/pages"
2024-03-05 21:41:39 +00:00
create: true
fields:
2024-03-05 22:24:57 +00:00
- {label: "Title", name: "title", widget: "string"}
2024-03-05 21:41:39 +00:00
- {label: "Body", name: "body", widget: "markdown"}
2024-03-06 22:06:16 +00:00
- label: "Settings"
2024-03-07 20:44:12 +00:00
name: settings
2024-03-06 22:04:46 +00:00
files:
- label: "Theme"
2024-03-07 20:44:12 +00:00
name: theme
2024-03-06 22:07:36 +00:00
file: "site/index.html"
2024-03-06 22:04:46 +00:00
fields:
2024-03-07 19:13:02 +00:00
- { label: 'code', name: 'code', widget: 'code'}