62 lines
1.8 KiB
YAML
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: "site/_images"
|
|
# public_folder: "site"
|
|
|
|
collections:
|
|
- label: "Navigation"
|
|
name: navigation
|
|
files:
|
|
- label: "Home Page"
|
|
name: home
|
|
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'}
|