Compare commits

...
12 Commits
16 changed files with 49 additions and 18 deletions
+29
View File
@@ -1,3 +1,32 @@
<a name="4.2.6"></a>
## [4.2.6](https://github.com/QingWei-Li/docsify/compare/v4.2.4...v4.2.6) (2017-07-27)
### Bug Fixes
* **css:** hide the nav when the content has not yet been loaded ([1fa1619](https://github.com/QingWei-Li/docsify/commit/1fa1619))
* **release:** release shell ([628e211](https://github.com/QingWei-Li/docsify/commit/628e211))
<a name="4.2.4"></a>
## [4.2.4](https://github.com/QingWei-Li/docsify/compare/v4.2.2...v4.2.4) (2017-07-26)
### Bug Fixes
* **render:** Remove getRootNode to be compatible with the lower version of Chrome, fixed [#225](https://github.com/QingWei-Li/docsify/issues/225) ([b8dd346](https://github.com/QingWei-Li/docsify/commit/b8dd346))
<a name="4.2.3"></a>
## [4.2.3](https://github.com/QingWei-Li/docsify/compare/v4.2.2...v4.2.3) (2017-07-26)
### Features
* **search:** Supports the max depth of the search headline, fixed [#223](https://github.com/QingWei-Li/docsify/issues/223), resolve [#129](https://github.com/QingWei-Li/docsify/issues/129) ([b7b589b](https://github.com/QingWei-Li/docsify/commit/b7b589b))
<a name="4.2.2"></a> <a name="4.2.2"></a>
## [4.2.2](https://github.com/QingWei-Li/docsify/compare/v4.2.1...v4.2.2) (2017-07-24) ## [4.2.2](https://github.com/QingWei-Li/docsify/compare/v4.2.1...v4.2.2) (2017-07-24)
+1
View File
@@ -20,6 +20,7 @@
- [Documentation](https://docsify.js.org) - [Documentation](https://docsify.js.org)
- [CLI](https://github.com/QingWei-Li/docsify-cli) - [CLI](https://github.com/QingWei-Li/docsify-cli)
- CDN: [UNPKG](https://unpkg.com/docsify/) | [jsDelivr](https://cdn.jsdelivr.net/npm/docsify/)
## Features ## Features
+3 -2
View File
@@ -30,15 +30,16 @@ if [[ $REPLY =~ ^[Yy]$ ]]; then
# commit # commit
git add -A git add -A
git commit -m "[build] $VERSION $RELEASE_TAG" git commit -m "[build] $VERSION $RELEASE_TAG"
npm version $VERSION --message "[release] $VERSION $RELEASE_TAG" npm --no-git-tag-version version $VERSION --message "[release] $VERSION $RELEASE_TAG"
# changelog # changelog
node_modules/.bin/conventional-changelog -p angular -i CHANGELOG.md -s -r 2 node_modules/.bin/conventional-changelog -p angular -i CHANGELOG.md -s
git add . git add .
git commit -m "chore: add changelog $VERSION" git commit -m "chore: add changelog $VERSION"
# publish # publish
git tag v$VERSION
git push origin refs/tags/v$VERSION git push origin refs/tags/v$VERSION
git push git push
if [[ -z $RELEASE_TAG ]]; then if [[ -z $RELEASE_TAG ]]; then
+1 -1
View File
@@ -1,6 +1,6 @@
![logo](_media/icon.svg) ![logo](_media/icon.svg)
# docsify <small>4.2.3</small> # docsify <small>4.2.6</small>
> A magical documentation site generator. > A magical documentation site generator.
+2 -2
View File
@@ -3319,7 +3319,7 @@ function initRender (vm) {
if (config.themeColor) { if (config.themeColor) {
$.head.appendChild( $.head.appendChild(
create('div', theme(config.themeColor)).getRootNode() create('div', theme(config.themeColor)).firstElementChild
); );
// Polyfll // Polyfll
cssVars(config.themeColor); cssVars(config.themeColor);
@@ -3802,7 +3802,7 @@ initGlobalAPI();
/** /**
* Version * Version
*/ */
Docsify.version = '4.2.3'; Docsify.version = '4.2.6';
/** /**
* Run Docsify * Run Docsify
+2 -2
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "docsify", "name": "docsify",
"version": "4.2.3", "version": "4.2.6",
"lockfileVersion": 1, "lockfileVersion": 1,
"dependencies": { "dependencies": {
"abbrev": { "abbrev": {
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "docsify", "name": "docsify",
"version": "4.2.3", "version": "4.2.6",
"description": "A magical documentation generator.", "description": "A magical documentation generator.",
"author": { "author": {
"name": "qingwei-li", "name": "qingwei-li",
+1 -1
View File
@@ -37,5 +37,5 @@
"integrity": "sha1-6DWIAbhrg7F1YNTjw4LXrvIQCUQ=" "integrity": "sha1-6DWIAbhrg7F1YNTjw4LXrvIQCUQ="
} }
}, },
"version": "4.2.3" "version": "4.2.6"
} }
@@ -1,6 +1,6 @@
{ {
"name": "docsify-server-renderer", "name": "docsify-server-renderer",
"version": "4.2.3", "version": "4.2.6",
"description": "docsify server renderer", "description": "docsify server renderer",
"author": { "author": {
"name": "qingwei-li", "name": "qingwei-li",
+1 -1
View File
@@ -212,7 +212,7 @@ export function initRender (vm) {
if (config.themeColor) { if (config.themeColor) {
dom.$.head.appendChild( dom.$.head.appendChild(
dom.create('div', tpl.theme(config.themeColor)).getRootNode() dom.create('div', tpl.theme(config.themeColor)).firstElementChild
) )
// Polyfll // Polyfll
cssVars(config.themeColor) cssVars(config.themeColor)
+2 -2
View File
@@ -10,7 +10,7 @@
body:not(.ready) { body:not(.ready) {
overflow: hidden; overflow: hidden;
[data-cloak], .app-nav { [data-cloak], .app-nav, > nav {
display: none; display: none;
} }
} }
@@ -244,7 +244,7 @@ main {
position: static; position: static;
} }
} }
.sidebar-nav { .sidebar-nav {
line-height: 2em; line-height: 2em;
} }