From e5c226fa9c8bb671397c940c5ee96150fb307595 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=CC=81rgio=20Ramos?= Date: Mon, 24 Oct 2016 14:14:03 +0100 Subject: [PATCH] create empty guidelines --- ui/.eslintignore | 4 +- ui/docs/components.js | 0 ui/src/{ => components}/base/index.js | 0 ui/src/components/base/readme.md | 1 + ui/src/{ => components}/button/index.js | 0 ui/src/{ => components}/button/readme.md | 0 ui/src/{ => components}/button/style.css | 0 ui/src/{ => components}/container/index.js | 0 ui/src/components/container/readme.md | 1 + ui/src/docs.js | 9 ++- ui/src/faq.md | 1 + ui/src/getting-started.md | 1 + ui/src/guidelines/overview.md | 1 + ui/src/index.js | 6 +- ui/test/index.js | 2 +- ui/webpack/base.js | 85 ++++++++++++++++++++++ 16 files changed, 105 insertions(+), 6 deletions(-) delete mode 100644 ui/docs/components.js rename ui/src/{ => components}/base/index.js (100%) create mode 100644 ui/src/components/base/readme.md rename ui/src/{ => components}/button/index.js (100%) rename ui/src/{ => components}/button/readme.md (100%) rename ui/src/{ => components}/button/style.css (100%) rename ui/src/{ => components}/container/index.js (100%) create mode 100644 ui/src/components/container/readme.md create mode 100644 ui/src/faq.md create mode 100644 ui/src/getting-started.md create mode 100644 ui/src/guidelines/overview.md create mode 100644 ui/webpack/base.js diff --git a/ui/.eslintignore b/ui/.eslintignore index b1d4c644..a6f80ca9 100644 --- a/ui/.eslintignore +++ b/ui/.eslintignore @@ -1,3 +1,5 @@ /node_modules coverage -.nyc_output \ No newline at end of file +.nyc_output +docs/static +static \ No newline at end of file diff --git a/ui/docs/components.js b/ui/docs/components.js deleted file mode 100644 index e69de29b..00000000 diff --git a/ui/src/base/index.js b/ui/src/components/base/index.js similarity index 100% rename from ui/src/base/index.js rename to ui/src/components/base/index.js diff --git a/ui/src/components/base/readme.md b/ui/src/components/base/readme.md new file mode 100644 index 00000000..b698ffc7 --- /dev/null +++ b/ui/src/components/base/readme.md @@ -0,0 +1 @@ +# `` diff --git a/ui/src/button/index.js b/ui/src/components/button/index.js similarity index 100% rename from ui/src/button/index.js rename to ui/src/components/button/index.js diff --git a/ui/src/button/readme.md b/ui/src/components/button/readme.md similarity index 100% rename from ui/src/button/readme.md rename to ui/src/components/button/readme.md diff --git a/ui/src/button/style.css b/ui/src/components/button/style.css similarity index 100% rename from ui/src/button/style.css rename to ui/src/components/button/style.css diff --git a/ui/src/container/index.js b/ui/src/components/container/index.js similarity index 100% rename from ui/src/container/index.js rename to ui/src/components/container/index.js diff --git a/ui/src/components/container/readme.md b/ui/src/components/container/readme.md new file mode 100644 index 00000000..bd33d693 --- /dev/null +++ b/ui/src/components/container/readme.md @@ -0,0 +1 @@ +# `` diff --git a/ui/src/docs.js b/ui/src/docs.js index 029813ac..225bfb3b 100644 --- a/ui/src/docs.js +++ b/ui/src/docs.js @@ -1,3 +1,10 @@ module.exports = { - Button: require('./button/readme.md') + components: { + Base: require('./components/base/readme.md'), + Container: require('./components/container/readme.md'), + Button: require('./components/button/readme.md') + }, + guidelines: { + Overview: require('./guidelines/overview.md') + } }; diff --git a/ui/src/faq.md b/ui/src/faq.md new file mode 100644 index 00000000..109af79b --- /dev/null +++ b/ui/src/faq.md @@ -0,0 +1 @@ +# faq \ No newline at end of file diff --git a/ui/src/getting-started.md b/ui/src/getting-started.md new file mode 100644 index 00000000..a6a564a0 --- /dev/null +++ b/ui/src/getting-started.md @@ -0,0 +1 @@ +# getting started \ No newline at end of file diff --git a/ui/src/guidelines/overview.md b/ui/src/guidelines/overview.md new file mode 100644 index 00000000..aed49439 --- /dev/null +++ b/ui/src/guidelines/overview.md @@ -0,0 +1 @@ +# overview \ No newline at end of file diff --git a/ui/src/index.js b/ui/src/index.js index a405120e..17f7cd30 100644 --- a/ui/src/index.js +++ b/ui/src/index.js @@ -1,5 +1,5 @@ module.exports = { - Button: require('./button'), - Container: require('./container'), - Base: require('./base') + Button: require('./components/button'), + Container: require('./components/container'), + Base: require('./components/base') }; diff --git a/ui/test/index.js b/ui/test/index.js index 4f016c6c..c5415ec3 100644 --- a/ui/test/index.js +++ b/ui/test/index.js @@ -7,7 +7,7 @@ const { } = enzyme; test('renders