docsify/site/admin/config.yml

49 lines
1.4 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-05 10:15:02 +00:00
media_folder: "assets/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-05 21:41:39 +00:00
name: Navigation
2024-03-05 10:15:02 +00:00
files:
- label: "Landing Page"
2024-03-05 18:59:04 +00:00
name: Landing
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 18:57:36 +00:00
- label: "Sidebar"
2024-03-05 18:59:04 +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-05 22:02:18 +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:17:59 +00:00
- {label: "Title", name: "title", widget: "hidden"}
2024-03-05 21:41:39 +00:00
- {label: "Body", name: "body", widget: "markdown"}