-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocsify.js
91 lines (81 loc) · 2.36 KB
/
docsify.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
import {
pageEditPlugin,
tocPlugin,
featherPlugin,
searchFocusPlugin,
expandActivePlugin,
} from "./plugins";
import { aliases } from "./aliases";
window.$docsify = {
// General
// ---------------------------------------------------------------------------
name: `<div class="logo"><img src="/_media/images/spot.png"/></div>`,
homepage: "/connect-your-cloud-provider/README.md",
notFoundPage: true,
formatUpdated: "{MM}/{DD}, {HH}:{mm}",
ga: "UA-68573156-10",
// Navigation
// ---------------------------------------------------------------------------
routerMode: "history", // default: 'hash'
alias: { ...aliases }, // routing rules for backwards compatibility
maxLevel: 1,
subMaxLevel: 1,
loadSidebar: true,
auto2top: true,
autoHeader: false,
coverpage: false,
// Search
// ---------------------------------------------------------------------------
search: {
paths: "auto",
placeholder: `Search (Press "/" to focus)`,
noData: "No Results.",
},
// Theme
// ---------------------------------------------------------------------------
noEmoji: true,
themeColor: "#0086ff",
// Local Plugins
// ---------------------------------------------------------------------------
plugins: [
pageEditPlugin,
tocPlugin,
featherPlugin,
searchFocusPlugin,
expandActivePlugin,
],
// Plugin: @spotinst/help
// ---------------------------------------------------------------------------
editOnGitHub: {
base: "https://github.com/spotinst/help/edit/master/src/docs",
},
// Plugin: @imyelo/docsify-pagination
// ---------------------------------------------------------------------------
pagination: {
crossChapter: true,
crossChapterText: false,
},
// Plugin: @lyingdragon/docsify-plugin-page-toc
// ---------------------------------------------------------------------------
toc: {
title: "On This Page",
},
// Plugin: @jhildenbiddle/docsify-tabs
// ---------------------------------------------------------------------------
tabs: {
persist: true,
sync: true,
theme: "material",
tabComments: true,
tabHeadings: true,
},
// Plugin: @zhengxiangqi/docsify-scroll-to-top
// ---------------------------------------------------------------------------
scrollToTop: {
auto: true,
text: "↑",
right: 15,
bottom: 15,
offset: 500,
},
};