94 Commits

Author SHA1 Message Date
Samy Pessé ef84a34fcd Bump version to 4.0.0-alpha.6 🚀 2017-03-16 15:12:46 +01:00
Samy Pessé caa8c52222 Bump version to 4.0.0-alpha.5 🚀 2017-03-09 11:18:00 +01:00
Samy Pessé da2ee396cf Bump version to 4.0.0-alpha.4 🚀 2017-01-27 18:56:38 +01:00
Samy Pessé 856b222a61 Bump version to 4.0.0-alpha.3 🚀 2017-01-13 19:11:15 +01:00
Samy Pessé a84d02ece0 Bump version to 4.0.0-alpha.2 🚀 2017-01-13 16:07:41 +01:00
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 Pesse febdd8a8bd Prevent null as location in history 2016-12-04 21:18:45 +01:00
Samy Pesse 5dbd8f5740 History is activated with a setup location 2016-12-04 20:43:55 +01:00
Soreine 36e548fd3c core: Remove unused Button.href prop 2016-12-02 17:35:40 +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 ebf7a5cf50 Export ReactCSSTransitionGroup from gitbook-core 2016-10-31 17:12:47 +01: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
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 cdf9842d68 Fix display of button in left toolbar 2016-10-17 23:02:17 +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 d9c3cb418a Add component tooltip from gitbook-core 2016-10-13 23:31:05 +02:00
Samy Pesse 2c3072fd8a Fix update of page attributes in hook "page" 2016-10-13 21:53:15 +02:00
Samy Pesse 4db57fe5c5 Fix rendering of search 2016-10-13 19:19:54 +02:00
Samy Pesse 37920c758b Normalize style of dropdown 2016-10-13 17:57:09 +02:00
Samy Pesse 05646996c0 Rename "navigation" to "history" and add loading bar 2016-10-13 16:17:00 +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
Nicolas Gaborit 3aea3e5d88 Adapt plugin sharing (#1553)
* Reuse old package config

* Add plugin config shape

* Add ButtonGroup to core components

* List all sharing sites

* Displaying buttons from config

* First iteration of Dropdown component (need CSS)

* Using Dropdown for sharing button

* Create HotKeys component

* Move Backdrop to its own file

* Trying a cleaner API for Dropdown

* Add README.md

* livereload: Add missing gitbook-plugin dependency

* sharing: Now use Immutable state

* sharing: Adapt quickly to new Dropdown

* sharing: Fix sharing from dropdown
2016-10-13 12:56:46 +02:00
Samy Pesse ba56801352 Add base for new fontsettings plugin 2016-10-13 00:18:47 +02:00
Samy Pesse 961b9d7031 Fix error for code blocks without language 2016-10-12 15:47:29 +02:00
Samy Pesse 3a2abb870b gitbook-plugin create should add eslint config 2016-10-11 10:19:48 +02:00
Samy Pesse 885a161d42 Update react-safe-html@0.4.0 2016-10-11 09:25:07 +02:00
Samy Pesse 9a9b5a2621 Show "copied" text when clicking the copy button 2016-10-10 12:56:23 +02:00
Samy Pesse 417013a230 Resolve assets and lunr index before loading 2016-10-09 16:52:27 +02:00
Samy Pesse 03b89194d7 Prepare for multiple role rendering for ebooks 2016-10-08 18:19:49 +02:00
Samy Pesse 68ec88c620 Add script to bump version 2016-10-08 14:32:35 +02:00
Samy Pesse 1d291ff2f0 Fix style of toolbar and add title to it 2016-10-06 23:04:20 +02:00
Samy Pesse 58ae96b7f6 Add "url" to summary articles and files in json representation 2016-10-06 20:08:47 +02:00
Samy Pesse 1354582c4e Generate an url index for generation 2016-10-06 16:29:32 +02:00
Samy Pesse 9d20a9afa5 Store config as immutable in state 2016-10-06 09:41:47 +02:00
Samy Pesse 45683185a2 Add reducer for file in gitbook state 2016-10-05 23:19:11 +02:00
Samy Pesse 6ce4949df3 Add "url" to file 2016-10-05 23:12:00 +02:00
Samy Pesse 805886e4a9 We trigger current url history only once the page has been mounted 2016-10-05 14:22:01 +02:00
Samy Pesse 45752fc79c Complete highlight plugin 2016-10-05 01:47:16 +02:00
Samy Pesse 16ca48b2c0 Correctly update page when url changed 2016-10-04 18:32:31 +02:00
Samy Pesse 84315a99f1 First handling of templating blocks 2016-10-03 23:34:27 +02:00
Samy Pesse 4049279269 Emit current location when listening 2016-10-03 15:48:28 +02:00
Samy Pesse b04befd67c Use replace of url for search to avoid filling history 2016-10-03 15:21:40 +02:00
Samy Pesse d82032298d Fix new api for activate/deactivate 2016-10-03 14:56:55 +02:00
Samy Pesse 34eb35699d Change "init to "activate" 2016-10-03 10:35:24 +02:00