docsify/site/admin/config.yml

48 lines
1.4 KiB
YAML

site_url: https://docs.bigyellowfish.com
publish_mode: simple
search: false
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
commit_messages:
create: Create {{collection}} “{{slug}}”
update: Update {{collection}} “{{slug}}”
delete: Delete {{collection}} “{{slug}}”
uploadMedia: Upload “{{path}}”
deleteMedia: Delete “{{path}}”
openAuthoring: '{{message}}'
media_folder: "assets/images"
# public_folder: "site"
collections:
- label: "Navigation"
name: Navigation
files:
- label: "Landing Page"
name: Landing
file: "site/README.md"
fields:
- { label: 'Body', name: 'body', widget: 'markdown' }
- label: "Sidebar"
name: Sidebar
file: "site/_sidebar.md"
fields:
- { label: 'Body', name: 'body', widget: 'markdown' }
- label: "Pages"
name: Pages
folder: "site/pages"
create: true
fields:
- {label: "Body", name: "body", widget: "markdown"}