diff --git a/package.json b/package.json index 4d06f6f..3499e8f 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "scripts": { "start:frontend": "react-scripts start", "start:api": "cd api/ && venv/bin/gunicorn -b 127.0.0.1:5000 api:app", - "start:docs": "npx styleguidist server --open", + "start:docs": "npx styleguidist server --open --config styleguidist/styleguide.config.js", "build": "react-scripts build", "test": "react-scripts test", "eject": "react-scripts eject" diff --git a/docs/Styleguidist/material-icon.css b/styleguidist/material-icon.css similarity index 100% rename from docs/Styleguidist/material-icon.css rename to styleguidist/material-icon.css diff --git a/docs/Styleguidist/roboto-font.css b/styleguidist/roboto-font.css similarity index 100% rename from docs/Styleguidist/roboto-font.css rename to styleguidist/roboto-font.css diff --git a/styleguide.config.js b/styleguidist/styleguide.config.js similarity index 90% rename from styleguide.config.js rename to styleguidist/styleguide.config.js index 5fc80d1..d35877b 100644 --- a/styleguide.config.js +++ b/styleguidist/styleguide.config.js @@ -47,8 +47,8 @@ module.exports = { */ require: [ // Material UI Resources - path.join(__dirname, "docs/Styleguidist/material-icon.css"), - path.join(__dirname, "docs/Styleguidist/roboto-font.css"), + path.join(__dirname, "./material-icon.css"), + path.join(__dirname, "./roboto-font.css"), ], /** @@ -61,11 +61,11 @@ module.exports = { sections: [ { name: "Getting Started", - content: "./docs/Styleguidist/Introduction.md", + content: "../docs/Styleguidist/Introduction.md", }, { name: "Components", - components: 'src/components/**/[A-Z]*.js', + components: '../src/components/**/[A-Z]*.js', } ], diff --git a/styleguide.style.js b/styleguidist/styleguide.style.js similarity index 100% rename from styleguide.style.js rename to styleguidist/styleguide.style.js diff --git a/styleguide.theme.js b/styleguidist/styleguide.theme.js similarity index 100% rename from styleguide.theme.js rename to styleguidist/styleguide.theme.js