Skip to content

Commit

Permalink
Upgrade to last gitbook
Browse files Browse the repository at this point in the history
  • Loading branch information
gpbl committed Jul 31, 2016
1 parent c633f9d commit ebdc6bd
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 22 deletions.
10 changes: 6 additions & 4 deletions book.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
{
"plugins": ["edit-link", "prism", "-highlight", "-sharing", "ga", "anchors"],
"gitbook": "3.2.x",
"plugins": ["edit-link", "prism", "-highlight", "-sharing", "ga", "include"],
"root": "./docs",
"structure": {
"summary": "docs/README.md"
"summary": "SUMMARY.md"
},
"styles": {
"website": "docs/styles/website.css"
"website": "styles/website.css"
},
"pluginsConfig": {
"ga": {
"token": "UA-68185118-1"
},
"edit-link": {
"base": "https://github.com/gpbl/react-day-picker/tree/master",
"label": "<span>Edit This Page</span>"
"label": "Edit This Page"
}
}
}
19 changes: 1 addition & 18 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1 @@
# react-day-picker

* [Introduction](/README.md)
* [Examples with code](/docs/Examples.md)
* [Basic usage](/docs/Basic.md)
* [Use of modifiers](/docs/Modifiers.md)
* [Styling](/docs/Styling.md)
* [Component API](/docs/API.md)
* [Component props](/docs/APIProps.md)
* [Component methods](/docs/APIMethods.md)
* [Localization](/docs/Localization.md)
* [Localization with moment.js](/docs/LocalizationMoment.md)
* [Custom localization](/docs/LocalizationCustom.md)
* [Tips](/docs/Tips.md)
* [Utilities](/docs/Utilities.md)
* [DateUtils](/docs/DateUtils.md)
* [LocaleUtils](/docs/LocaleUtils.md)
* [Contributing](/docs/Contributing.md)
!INCLUDE "../README.md"
16 changes: 16 additions & 0 deletions docs/SUMMARY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
* [Introduction](README.md)
* [Examples with code](Examples.md)
* [Basic usage](Basic.md)
* [Use of modifiers](Modifiers.md)
* [Styling](Styling.md)
* [Component API](API.md)
* [Component props](APIProps.md)
* [Component methods](APIMethods.md)
* [Localization](Localization.md)
* [Localization with moment.js](LocalizationMoment.md)
* [Custom localization](LocalizationCustom.md)
* [Tips](Tips.md)
* [Utilities](Utilities.md)
* [DateUtils](DateUtils.md)
* [LocaleUtils](LocaleUtils.md)
* [Contributing](Contributing.md)
6 changes: 6 additions & 0 deletions docs/styles/website.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/* CSS for website */

body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
letter-spacing: 0;
}
p code {
Expand Down Expand Up @@ -31,3 +32,8 @@ section ul, section ol {
section h1, section h2, section h3 {
border-bottom: 1px solid #EAEAEA;
}

.book.font-family-1,
.book .book-summary {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

0 comments on commit ebdc6bd

Please sign in to comment.