Samy Pessé
7029c01806
Switch to markup-it for parsing ( #1659 )
...
* Start new parsers in gitbook itself
* Update markup-it
* Fix eslint errors
* Adapt basic parsing for summary
* Start tests for summaryFromDocument
* Continue
* Add parsing of glossary
* Add back languages parsing
* Adapt most tests for parsing
* Adapt all tests 🙌
* Adapt travis tests
* Bootstrap lerna before running tests
* Fix lowercase in require (linux)
* Fix command gitbook init
* Fix generation of ready by init command
* Fix generation of summary
* Fix watch after serve
* Add trademark to sidebar
* Add back favicon to default theme
* Open trademark in new tab
2017-01-06 17:15:30 +01:00
Samy Pessé
16af264360
Merge branch 'master' into dream
2016-12-22 10:17:28 +01:00
Samy Pesse
febdd8a8bd
Prevent null as location in history
2016-12-04 21:18:45 +01:00
Samy Pesse
b04724ae0b
Debounce scroll watcher in body
2016-12-04 20:55:40 +01:00
Samy Pesse
5dbd8f5740
History is activated with a setup location
2016-12-04 20:43:55 +01:00
Samy Pesse
f3af207e6e
Update url when scrolling in default theme
2016-12-04 20:27:44 +01:00
Samy Pesse
7d05f8cb89
Update ied@2.3.6 and ad trailing newline in package.json
2016-12-04 19:46:54 +01:00
Soreine
9d3c397446
plugin: Add more categories
2016-12-02 17:52:49 +01:00
Soreine
0681a51c2f
plugin: Improve messages for create CLI
2016-12-02 17:50:03 +01:00
Soreine
36e548fd3c
core: Remove unused Button.href prop
2016-12-02 17:35:40 +01:00
Soreine
ec149e6112
plugin: Display help by default
2016-12-02 17:35:33 +01:00
Soreine
e1bcb4ed7d
plugin: Add CONTRIBUTING.md
2016-12-02 17:34:54 +01:00
Soreine
4aae18617b
plugin-search: Remove react dependency
2016-12-02 16:01:35 +01:00
Soreine
6d00944576
Fixed React version
2016-12-02 15:59:01 +01:00
Soreine
be8b11dcb4
ReactInjection was moved
2016-12-02 15:58:25 +01:00
Johan Preynat
1780435c4f
Use fixed size for sidebar and provide animation
2016-10-31 17:13:19 +01:00
Johan Preynat
ebf7a5cf50
Export ReactCSSTransitionGroup from gitbook-core
2016-10-31 17:12:47 +01:00
Soreine
1d877db5f0
search: Clear search with Esc or button
2016-10-19 01:06:44 +02:00
Soreine
92678bb93f
Clearer doc for File
2016-10-19 00:34:57 +02:00
Soreine
4f2c729d60
core: Fix HotKeys default keymap
2016-10-19 00:34:19 +02:00
Soreine
59079bc18d
plugin-lunr: Fix reading page search attributes
2016-10-18 16:40:49 +02:00
Samy Pesse
66c2a6c076
Add roles "body:wrapper", "toolbar:wrapper", "page:wrapper"
2016-10-17 23:56:41 +02:00
Samy Pesse
182bb9eb86
Remove react dependencies from "gitbook"
2016-10-17 23:40:02 +02:00
Samy Pesse
9ab738e478
Use same react instance between server and gitbook
...
Fix injection of DOM properties not working on the browser
2016-10-17 23:39:40 +02:00
Samy Pesse
d0555e2bd0
Add background to dropdown
2016-10-17 23:38:28 +02:00
Samy Pesse
cdf9842d68
Fix display of button in left toolbar
2016-10-17 23:02:17 +02:00
Samy Pesse
a1ae5c2295
Normalize action types in plugins
2016-10-17 20:50:09 +02:00
Samy Pesse
373a486a14
Replace GitBook.Shapes by GitBook.PropTypes
2016-10-17 18:24:29 +02:00
Samy Pesse
f262a7cd89
Add languages to client side state, and add "current" to json repr
2016-10-14 23:05:37 +02:00
Samy Pesse
b63b0cc50d
Normalize Panel in gitbook-core
2016-10-14 11:09:24 +02:00
Samy Pesse
5839d4d8a8
Improve "gitbook-plugin create" to prompt for title/categories
2016-10-13 23:54:27 +02:00
Samy Pesse
d9c3cb418a
Add component tooltip from gitbook-core
2016-10-13 23:31:05 +02:00
Samy Pesse
12c7ac1498
Add roles "page:header" and "page:footer"
2016-10-13 21:53:15 +02:00
Samy Pesse
2c3072fd8a
Fix update of page attributes in hook "page"
2016-10-13 21:53:15 +02:00
Johan Preynat
bb14f48c39
Add tests for multiple inline template blocks
2016-10-13 21:07:23 +02:00
Samy Pesse
d56019dc18
Hook "page" should not be able to edit content but attributes
2016-10-13 20:55:41 +02:00
Samy Pesse
0a6216a093
Limit size of text in search results
2016-10-13 20:25:46 +02:00
Samy Pesse
4c174f916e
Add highlighting for search terms in results
2016-10-13 19:33:04 +02:00
Samy Pesse
4db57fe5c5
Fix rendering of search
2016-10-13 19:19:54 +02:00
Samy Pesse
2a78bcebab
Search plugin should provide roles "search:results" and "search:result"
2016-10-13 18:08:48 +02:00
Samy Pesse
be14a8ea4d
Fix search input
2016-10-13 17:57:09 +02:00
Samy Pesse
37920c758b
Normalize style of dropdown
2016-10-13 17:57:09 +02:00
Soreine
52f9409e24
gitbook-plugin: Add eslint as devDependency
2016-10-13 17:31:33 +02:00
Samy Pesse
05646996c0
Rename "navigation" to "history" and add loading bar
2016-10-13 16:17:00 +02:00
Samy Pesse
c439cf8513
Increase content font-size
2016-10-13 15:46:18 +02:00
Soreine
631cebfd2f
search: Document search handlers API
2016-10-13 15:45:19 +02:00
Samy Pesse
f1f2024489
Add support for align HTML attribute
2016-10-13 15:22:52 +02:00
Samy Pesse
227b329e78
Start style for dropdowns
2016-10-13 14:47:06 +02:00
Samy Pesse
da8c78b3c8
Refactor Backdrop, Hotkeys and Dropdown
2016-10-13 13:35:59 +02:00
Samy Pesse
c42c5897fe
Refactor code of plugin sharing
2016-10-13 13:23:19 +02:00