Commit Graph

2522 Commits

Author SHA1 Message Date
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 1a3e4e8337 Small tweaks to doc 2016-10-13 15:45:19 +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
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 95b3b4ebb7 Revert fontsettings plugin 2016-10-13 11:10:53 +02:00
Samy Pesse ba56801352 Add base for new fontsettings plugin 2016-10-13 00:18:47 +02:00
Samy Pesse 48ee0e35b0 Start changelog 2016-10-12 21:27:55 +02:00
Samy Pesse 2fff291cad Readme should always be generated as "index.html" 2016-10-12 20:56:36 +02:00
Johan Preynat baea45d924 Enhance display of headings 2016-10-12 19:49:58 +02:00
Samy Pesse 52d0384605 Improve some CSS for default theme 2016-10-12 16:07:28 +02:00
Samy Pesse 961b9d7031 Fix error for code blocks without language 2016-10-12 15:47:29 +02:00
Samy Pesse 5b0622014a Adapt test for listDependencies 2016-10-12 14:18:46 +02:00
Samy Pesse 7253dbc476 Use ied instead of npm for installation of plugins 2016-10-12 14:09:48 +02:00
Samy Pesse b4dd3e1ddc Adapt test for plugins.findForBook 2016-10-12 12:17:34 +02:00
Samy Pesse 4b6fc0ae2f Adapt tests for website rendering and render languages index 2016-10-12 12:12:08 +02:00
Samy Pesse 5d4dc499a5 Remove references to plugin resources 2016-10-12 11:56:31 +02:00
Samy Pesse 0e7aece96d Use a single instance of Git for output 2016-10-12 11:13:31 +02:00
Samy Pesse b7c245d75a Add yarn.lock to .gitignore 2016-10-12 11:04:56 +02:00
Samy Pesse 5fed4e1ced Adapt findInstalled for unit tests 2016-10-12 11:04:09 +02:00
Samy Pesse c71da9955e Improve performance of plugins listing 2016-10-11 11:36:17 +02:00
Samy Pesse 3a2abb870b gitbook-plugin create should add eslint config 2016-10-11 10:19:48 +02:00
Samy Pesse e8947a2c11 Update nunjucks@2.5.2 2016-10-11 10:11:35 +02:00
Samy Pesse 885a161d42 Update react-safe-html@0.4.0 2016-10-11 09:25:07 +02:00
Samy Pesse fe0d4bf024 Add timing logs for browser rendering 2016-10-11 00:11:17 +02:00