docsify/site/admin/config.yml

62 lines
1.8 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: "Coverpage"
name: Coverpage
file: "site/_coverpage.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: "Title", name: "title", widget: "string"}
- {label: "Body", name: "body", widget: "markdown"}
- label: "Settings"
name: Settings
files:
- label: "Theme"
name: Theme
file: "site/index.html"
fields:
- { label: 'Body', name: 'body', widget: 'markdown' }