docsify/site/admin/config.yml

40 lines
1.1 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"
collections:
- label: "Pages"
name: Pages
files:
- label: "Landing Page"
file: "site/README.md"
fields:
- {label: Intro, name: intro, widget: markdown}
- label: "Sidebar"
file: "site/_sidebar.md"
fields:
- {label: Intro, name: intro, widget: markdown}