mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-16 07:35:16 +00:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 2faf53e16b | |||
| 5430ed99de | |||
| fef4dfd05e |
@@ -2,6 +2,10 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
This project adheres to [Semantic Versioning](http://semver.org/).
|
||||
|
||||
## 2.5.0-beta.5
|
||||
- Fix position of sidebar toggle button
|
||||
- Update asciidoc parser to remove git dependency
|
||||
|
||||
## 2.5.0-beta.4
|
||||
- Fix compatibility for some plugins (like `autocover`)
|
||||
- Fix position of sidebar toggle button when glossary button is present
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "gitbook",
|
||||
"version": "2.5.0-beta.4",
|
||||
"version": "2.5.0-beta.5",
|
||||
"homepage": "https://www.gitbook.com",
|
||||
"description": "Library and cmd utility to generate GitBooks",
|
||||
"main": "lib/index.js",
|
||||
@@ -11,7 +11,7 @@
|
||||
"resolve": "0.6.3",
|
||||
"fs-extra": "0.16.5",
|
||||
"fstream-ignore": "1.0.2",
|
||||
"gitbook-parsers": "0.8.4",
|
||||
"gitbook-parsers": "0.8.5",
|
||||
"gitbook-plugin-highlight": "1.0.3",
|
||||
"gitbook-plugin-sharing": "1.0.1",
|
||||
"gitbook-plugin-search": "1.0.2",
|
||||
|
||||
@@ -24618,7 +24618,7 @@ function updateButton(opts) {
|
||||
}
|
||||
|
||||
if (_.isNumber(opts.index) && opts.index >= 0) {
|
||||
insertAt($toolbar, '.btn, .dropdown', opts.index, $result);
|
||||
insertAt($toolbar, '.btn, .dropdown, h1', opts.index, $result);
|
||||
} else {
|
||||
$result.insertBefore($title);
|
||||
}
|
||||
|
||||
@@ -157,7 +157,7 @@ function updateButton(opts) {
|
||||
}
|
||||
|
||||
if (_.isNumber(opts.index) && opts.index >= 0) {
|
||||
insertAt($toolbar, '.btn, .dropdown', opts.index, $result);
|
||||
insertAt($toolbar, '.btn, .dropdown, h1', opts.index, $result);
|
||||
} else {
|
||||
$result.insertBefore($title);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user