diff --git a/.eslintignore b/.eslintignore
new file mode 100644
index 0000000..2d2ecd6
--- /dev/null
+++ b/.eslintignore
@@ -0,0 +1 @@
+.git/
diff --git a/.eslintrc b/.eslintrc
index d6a85f8..5620c1c 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -1,5 +1,7 @@
{
- "extends": ["vue"],
+ "extends": [
+ "vue"
+ ],
"env": {
"browser": true
},
diff --git a/.gitignore b/.gitignore
index ee8a519..c2ba75d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,4 @@
-.DS_Store
*.log
+.DS_Store
+/themes
node_modules
-/themes
\ No newline at end of file
diff --git a/.npmignore b/.npmignore
new file mode 100644
index 0000000..41b1431
--- /dev/null
+++ b/.npmignore
@@ -0,0 +1,5 @@
+.eslintignore
+.eslintrc
+.github/
+.gitignore
+.travis.yml
diff --git a/.travis.yml b/.travis.yml
index fb0b83e..db361c4 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,6 +1,9 @@
sudo: false
cache:
directories:
- - $HOME/.yarn-cache
+ - $HOME/.yarn-cache
language: node_js
node_js: stable
+os:
+ - linux
+ - osx
diff --git a/dev.html b/dev.html
index 4b31b4d..2a689c6 100644
--- a/dev.html
+++ b/dev.html
@@ -23,15 +23,14 @@
'/zh-cn/changelog': '/changelog',
'/changelog': 'https://raw.githubusercontent.com/QingWei-Li/docsify/master/CHANGELOG'
},
+ auto2top: true,
+ basePath: '/docs/',
+ executeScript: true,
loadNavbar: true,
- executeScript: true
+ loadSidebar: true,
+ name: 'docsify',
+ subMaxLevel: 2
}
-
+