Merge branch 'master' of github.com:qingwei-li/docsify
This commit is contained in:
commit
b8a96b867b
11 changed files with 26 additions and 11 deletions
10
CHANGELOG.md
10
CHANGELOG.md
|
|
@ -1,3 +1,13 @@
|
||||||
|
<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)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* style rerender due to setting themeColor ([17ff3d1](https://github.com/QingWei-Li/docsify/commit/17ff3d1))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a name="4.2.1"></a>
|
<a name="4.2.1"></a>
|
||||||
## [4.2.1](https://github.com/QingWei-Li/docsify/compare/v4.2.0...v4.2.1) (2017-07-19)
|
## [4.2.1](https://github.com/QingWei-Li/docsify/compare/v4.2.0...v4.2.1) (2017-07-19)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -73,6 +73,7 @@ These projects are using docsify to generate their sites. Pull requests welcome
|
||||||
| [samlify](https://samlify.js.org) | Node.js SAML2 library |
|
| [samlify](https://samlify.js.org) | Node.js SAML2 library |
|
||||||
| [palettify](https://dobromir-hristov.github.io/palettify/) | A color palette effects assistant |
|
| [palettify](https://dobromir-hristov.github.io/palettify/) | A color palette effects assistant |
|
||||||
| [commitlint](https://marionebl.github.io/commitlint/) | Lint commit messages |
|
| [commitlint](https://marionebl.github.io/commitlint/) | Lint commit messages |
|
||||||
|
| [vue-data-tables](https://github.com/njleonzhang/vue-data-tables/) | A simple and customizable data table,based on vue2 and element-ui. |
|
||||||
|
|
||||||
## Similar projects
|
## Similar projects
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@ if [[ $REPLY =~ ^[Yy]$ ]]; then
|
||||||
npm version $VERSION --message "[release] $VERSION $RELEASE_TAG"
|
npm version $VERSION --message "[release] $VERSION $RELEASE_TAG"
|
||||||
|
|
||||||
# changelog
|
# changelog
|
||||||
node_modules/.bin/conventional-changelog -p angular -i CHANGELOG.md -s
|
node_modules/.bin/conventional-changelog -p angular -i CHANGELOG.md -s -r 2
|
||||||
|
|
||||||
git add .
|
git add .
|
||||||
git commit -m "chore: add changelog $VERSION"
|
git commit -m "chore: add changelog $VERSION"
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||

|

|
||||||
|
|
||||||
# docsify <small>4.2.1</small>
|
# docsify <small>4.2.2</small>
|
||||||
|
|
||||||
> A magical documentation site generator.
|
> A magical documentation site generator.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3318,7 +3318,9 @@ function initRender (vm) {
|
||||||
before(navAppendToTarget, navEl);
|
before(navAppendToTarget, navEl);
|
||||||
|
|
||||||
if (config.themeColor) {
|
if (config.themeColor) {
|
||||||
$.head.innerHTML += theme(config.themeColor);
|
$.head.appendChild(
|
||||||
|
create('div', theme(config.themeColor)).getRootNode()
|
||||||
|
);
|
||||||
// Polyfll
|
// Polyfll
|
||||||
cssVars(config.themeColor);
|
cssVars(config.themeColor);
|
||||||
}
|
}
|
||||||
|
|
@ -3800,7 +3802,7 @@ initGlobalAPI();
|
||||||
/**
|
/**
|
||||||
* Version
|
* Version
|
||||||
*/
|
*/
|
||||||
Docsify.version = '4.2.1';
|
Docsify.version = '4.2.2';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Run Docsify
|
* Run Docsify
|
||||||
|
|
|
||||||
4
lib/docsify.min.js
vendored
4
lib/docsify.min.js
vendored
File diff suppressed because one or more lines are too long
2
package-lock.json
generated
2
package-lock.json
generated
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "docsify",
|
"name": "docsify",
|
||||||
"version": "4.2.1",
|
"version": "4.2.2",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"abbrev": {
|
"abbrev": {
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "docsify",
|
"name": "docsify",
|
||||||
"version": "4.2.1",
|
"version": "4.2.2",
|
||||||
"description": "A magical documentation generator.",
|
"description": "A magical documentation generator.",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "qingwei-li",
|
"name": "qingwei-li",
|
||||||
|
|
|
||||||
|
|
@ -37,5 +37,5 @@
|
||||||
"integrity": "sha1-6DWIAbhrg7F1YNTjw4LXrvIQCUQ="
|
"integrity": "sha1-6DWIAbhrg7F1YNTjw4LXrvIQCUQ="
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"version": "4.2.1"
|
"version": "4.2.2"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "docsify-server-renderer",
|
"name": "docsify-server-renderer",
|
||||||
"version": "4.2.1",
|
"version": "4.2.2",
|
||||||
"description": "docsify server renderer",
|
"description": "docsify server renderer",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "qingwei-li",
|
"name": "qingwei-li",
|
||||||
|
|
|
||||||
|
|
@ -211,7 +211,9 @@ export function initRender (vm) {
|
||||||
dom.before(navAppendToTarget, navEl)
|
dom.before(navAppendToTarget, navEl)
|
||||||
|
|
||||||
if (config.themeColor) {
|
if (config.themeColor) {
|
||||||
dom.$.head.innerHTML += tpl.theme(config.themeColor)
|
dom.$.head.appendChild(
|
||||||
|
dom.create('div', tpl.theme(config.themeColor)).getRootNode()
|
||||||
|
)
|
||||||
// Polyfll
|
// Polyfll
|
||||||
cssVars(config.themeColor)
|
cssVars(config.themeColor)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue