diff --git a/docs/dynamic.js b/docs/dynamic.js index 1d9e8a1..21604eb 100644 --- a/docs/dynamic.js +++ b/docs/dynamic.js @@ -8,6 +8,10 @@ const routes = [ ] export default class extends React.Component { + static defaultProps = { + ignore: true + } + static getInitialProps = async ({ path }) => { let title = 'dynamic' switch (path) { diff --git a/docs/examples/Button.md b/docs/library/Button.md similarity index 100% rename from docs/examples/Button.md rename to docs/library/Button.md diff --git a/docs/examples/Donut.js b/docs/library/Donut.js similarity index 100% rename from docs/examples/Donut.js rename to docs/library/Donut.js diff --git a/docs/examples/Heading.md b/docs/library/Heading.md similarity index 100% rename from docs/examples/Heading.md rename to docs/library/Heading.md diff --git a/docs/examples/index.js b/docs/library/index.js similarity index 100% rename from docs/examples/index.js rename to docs/library/index.js diff --git a/docs/examples/nested/hello.md b/docs/library/nested/hello.md similarity index 100% rename from docs/examples/nested/hello.md rename to docs/library/nested/hello.md diff --git a/docs/examples/nested/index.md b/docs/library/nested/index.md similarity index 100% rename from docs/examples/nested/index.md rename to docs/library/nested/index.md diff --git a/docs/readme.js b/docs/readme.js deleted file mode 100644 index 59157cc..0000000 --- a/docs/readme.js +++ /dev/null @@ -1,24 +0,0 @@ -import React from 'react' -import { - Container -} from 'rebass' -import styled from 'styled-components' -import Readme from '../README.md' - -const Prose = styled.div([], { - '& img': { - display: 'block', - maxWidth: '100%', - height: 'auto', - }, - '& .demo-image, & a[href="LICENSE/"]': { - display: 'none' - } -}) - -export default props => - - - - - diff --git a/docs/todo.md b/docs/todo.md new file mode 100644 index 0000000..390f382 --- /dev/null +++ b/docs/todo.md @@ -0,0 +1,6 @@ +--- +ignore: true +--- + +- [ ] getting-started +- [ ] getting-started