From 6d9618e8c4957203a0a18f739a6346c06b7be781 Mon Sep 17 00:00:00 2001 From: Shawn Allen Date: Mon, 17 Dec 2018 15:57:53 -0800 Subject: [PATCH] add styleguide CSS + JS bundles --- docs/pages/_document.js | 4 +++- docs/script/update-assets | 12 ++++++++++++ docs/static/github/styleguide.css | 2 ++ docs/static/github/styleguide.js | 3 +++ 4 files changed, 20 insertions(+), 1 deletion(-) create mode 100755 docs/script/update-assets create mode 100644 docs/static/github/styleguide.css create mode 100644 docs/static/github/styleguide.js diff --git a/docs/pages/_document.js b/docs/pages/_document.js index 76dd4ffa..06c55a8f 100644 --- a/docs/pages/_document.js +++ b/docs/pages/_document.js @@ -2,7 +2,7 @@ import React from 'react' import Document, {Main, NextScript} from 'next/document' import {ServerStyleSheet} from 'styled-components' import {extractCritical} from 'emotion-server' -import {config, getAssetPath} from '../src/utils' +import {config, rootPage, getAssetPath} from '../src/utils' export default class MyDocument extends Document { static getInitialProps({renderPage}) { @@ -44,6 +44,7 @@ export default class MyDocument extends Document { +
+