aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWei-Ning Huang <w@byzantine-lab.io>2019-09-01 14:30:46 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-09-01 14:30:46 +0800
commit37523e23ea895633eefe94a766dd32e7c1a3a621 (patch)
tree961af6b42ceb1554caf31115ca431de8ade0e432
parentcccb6d1efcf0797649ed53bd7130b1b409ee9f67 (diff)
downloadtangerine-wiki-37523e23ea895633eefe94a766dd32e7c1a3a621.tar.gz
tangerine-wiki-37523e23ea895633eefe94a766dd32e7c1a3a621.tar.zst
tangerine-wiki-37523e23ea895633eefe94a766dd32e7c1a3a621.zip
Add edit-on-github integration
-rw-r--r--docs/index.html13
1 files changed, 9 insertions, 4 deletions
diff --git a/docs/index.html b/docs/index.html
index 123c3c1..1be5889 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -10,9 +10,14 @@
</head>
<body>
<div id="app"></div>
+ <script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
+ <script src="//unpkg.com/docsify/lib/plugins/search.min.js"></script>
+ <script src="//unpkg.com/docsify/lib/plugins/ga.min.js"></script>
+ <script src="//unpkg.com/docsify-edit-on-github/index.js"></script>
<script>
window.$docsify = {
name: 'Tangerine Network Wiki',
+ repo: 'tangerine-network/wiki',
loadSidebar: true,
maxLevel: 5,
subMaxLevel: 2,
@@ -25,11 +30,11 @@
'/zh-cn/': '搜索',
'/': 'Search'
}
- }
+ },
+ plugins: [
+ EditOnGithubPlugin.create("https://github.com/tangerine-network/wiki/blob/master/docs/"),
+ ]
}
</script>
- <script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
- <script src="//unpkg.com/docsify/lib/plugins/search.min.js"></script>
- <script src="//unpkg.com/docsify/lib/plugins/ga.min.js"></script>
</body>
</html>