mirror of
https://github.com/wassname/talk.git
synced 2026-06-29 17:21:58 +08:00
185 lines
4.9 KiB
YAML
185 lines
4.9 KiB
YAML
# Hexo Configuration
|
|
## Docs: https://hexo.io/docs/configuration.html
|
|
## Source: https://github.com/hexojs/hexo/
|
|
|
|
# Site
|
|
title: Talk Documentation
|
|
subtitle:
|
|
description: >
|
|
Documentation and guides for Talk from The Coral Project.
|
|
google_analytics: UA-73335347-5
|
|
author:
|
|
language: en
|
|
timezone:
|
|
|
|
# URL
|
|
## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
|
|
url: https://docs.coralproject.net/talk/
|
|
root: /talk/
|
|
permalink: :permalink/
|
|
permalink_defaults:
|
|
|
|
# Directory
|
|
source_dir: source
|
|
public_dir: public/talk
|
|
tag_dir: tags
|
|
archive_dir: archives
|
|
category_dir: categories
|
|
code_dir: downloads/code
|
|
i18n_dir: :lang
|
|
skip_render:
|
|
|
|
# Writing
|
|
new_post_name: :title.md # File name of new posts
|
|
default_layout: doc
|
|
titlecase: false # Transform title into titlecase
|
|
external_link: true # Open external links in new tab
|
|
filename_case: 0
|
|
render_drafts: false
|
|
post_asset_folder: false
|
|
relative_link: false
|
|
future: true
|
|
highlight:
|
|
enable: false
|
|
|
|
# Home page setting
|
|
# path: Root path for your blogs index page. (default = '')
|
|
# per_page: Posts displayed per page. (0 = disable pagination)
|
|
# order_by: Posts order. (Order by date descending by default)
|
|
index_generator:
|
|
path: ''
|
|
|
|
# Category & Tag
|
|
default_category: uncategorized
|
|
category_map:
|
|
tag_map:
|
|
|
|
# Date / Time format
|
|
## Hexo uses Moment.js to parse and display date
|
|
## You can customize the date format as defined in
|
|
## http://momentjs.com/docs/#/displaying/format/
|
|
date_format: YYYY-MM-DD
|
|
time_format: HH:mm:ss
|
|
|
|
# Extensions
|
|
## Plugins: https://hexo.io/plugins/
|
|
## Themes: https://hexo.io/themes/
|
|
theme: coral
|
|
|
|
# Deployment
|
|
## Docs: https://hexo.io/docs/deployment.html
|
|
deploy:
|
|
type:
|
|
|
|
sidebar:
|
|
top:
|
|
- title: GitHub
|
|
url: https://github.com/coralproject/
|
|
- title: Docker
|
|
url: https://hub.docker.com/r/coralproject/
|
|
- title: Roadmap
|
|
url: https://www.pivotaltracker.com/n/projects/1863625
|
|
side:
|
|
- title: Installation
|
|
children:
|
|
- title: Talk Quickstart
|
|
url: /
|
|
- title: Installation from Docker
|
|
url: /installation-from-docker/
|
|
- title: Installation from Source
|
|
url: /installation-from-source/
|
|
- title: Planning your Talk Architecture
|
|
url: /planning-architecture/
|
|
- title: Configuration
|
|
children:
|
|
- title: Required Configuration
|
|
url: /configuration/
|
|
- title: Advanced Configuration
|
|
url: /advanced-configuration/
|
|
- title: Integrating
|
|
children:
|
|
- title: Authentication
|
|
url: /integrating/authentication/
|
|
- title: Asset Managment
|
|
url: /integrating/asset-management/
|
|
- title: Configuring the Comment Stream
|
|
url: /integrating/configuring-comment-stream/
|
|
- title: Configuring the Admin
|
|
url: /integrating/configuring-admin/
|
|
- title: Notifications
|
|
url: /integrating/notifications/
|
|
- title: Event Tracking and Metrics
|
|
url: /integrating/event-tracking-metrics/
|
|
- title: Styling and CSS
|
|
url: /integrating/styling-css/
|
|
- title: Translations and i18n
|
|
url: /integrating/translations-i18n/
|
|
- title: Product Guide
|
|
children:
|
|
- title: How Talk Works
|
|
url: /how-talk-works/
|
|
- title: Commenter Features
|
|
url: /commenter-features/
|
|
- title: Moderator Features
|
|
url: /moderator-features/
|
|
- title: User Roles in Talk
|
|
url: /roles/
|
|
- title: Trust
|
|
url: /trust/
|
|
- title: Toxic Comments
|
|
url: /toxic-comments/
|
|
- title: Configuring Talk
|
|
url: /configuring-talk/
|
|
- title: Plugins
|
|
children:
|
|
- title: Plugins Overview
|
|
url: /plugins/
|
|
- title: Plugin Directory
|
|
url: /plugins-directory/
|
|
- title: Plugin Recipes
|
|
url: /plugin-recipes/
|
|
- title: API
|
|
children:
|
|
- title: GraphQL Overview
|
|
url: /api/overview/
|
|
- title: GraphQL Reference
|
|
url: /api/graphql/
|
|
- title: Server Plugin API
|
|
url: /api/server/
|
|
- title: Client Plugin API
|
|
url: /api/client/
|
|
- title: Plugin Slots API
|
|
url: /api/slots/
|
|
- title: Tutorials
|
|
children:
|
|
- title: Creating a Basic Plugin
|
|
url: /building-basic-plugin/
|
|
- title: Customizing Plugins with Coral UI
|
|
url: /customizing-plugins-coral-ui/
|
|
- title: When You've Installed Talk
|
|
url: /when-youve-installed-talk/
|
|
- title: Migrating
|
|
children:
|
|
- title: Migrating to v4.0.0
|
|
url: /migration/4/
|
|
- title: Migrating to v4.1.0
|
|
url: /migration/4.1/
|
|
- title: Contact
|
|
url: /contact/
|
|
|
|
marked:
|
|
gfm: true
|
|
pedantic: false
|
|
sanitize: false
|
|
tables: true
|
|
breaks: false
|
|
smartLists: true
|
|
smartypants: true
|
|
modifyAnchors: 1
|
|
autolink: true
|
|
|
|
node_sass:
|
|
outputStyle: compressed
|
|
precision: 5
|
|
sourceComments: false
|