Add jekyll-rtd-theme

This commit is contained in:
saowang 2020-08-20 22:55:17 +08:00
parent e84d0b9334
commit a608f98ca5
4 changed files with 47 additions and 0 deletions

View File

5
docs/Gemfile Normal file
View File

@ -0,0 +1,5 @@
source "https://rubygems.org"
gem "jekyll-rtd-theme"
gem "github-pages", group: :jekyll_plugins

14
docs/Makefile Normal file
View File

@ -0,0 +1,14 @@
default:
@bundle install
update:
@bundle update
clean:
@bundle exec jekyll clean
server: clean
@bundle exec jekyll server
build: clean
@bundle exec jekyll build --profile

28
docs/_config.yml Normal file
View File

@ -0,0 +1,28 @@
title: mermaid
lang: en
description: Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.
theme: jekyll-rtd-theme
# remote_theme: rundocs/jekyll-rtd-theme
sass:
style: compressed
copyright:
revision: true
edit: true
addons_branch: true
addons:
- github
- i18n
- analytics
readme_index:
with_frontmatter: true
exclude:
- Makefile
- Gemfile
- Gemfile.lock