Fix docs button alignment and image path
- Create directory in order to use relative path for images and better
organize content
Signed-off-by: Derick Montague <derick.montague@ibm.com>
Change-Id: Ia5085c1b72c162016ed4da037a15f5f53c744742
diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js
index e4dd200..3c05469 100644
--- a/docs/.vuepress/config.js
+++ b/docs/.vuepress/config.js
@@ -47,7 +47,7 @@
children: [
"/guide/components/",
"/guide/components/alert",
- "/guide/components/button",
+ "/guide/components/buttons/",
"/guide/components/table",
"/guide/components/toast",
]
diff --git a/docs/.vuepress/public/button-disabled.png b/docs/.vuepress/public/button-disabled.png
deleted file mode 100644
index 70f3b15..0000000
--- a/docs/.vuepress/public/button-disabled.png
+++ /dev/null
Binary files differ
diff --git a/docs/.vuepress/public/button.png b/docs/.vuepress/public/button.png
deleted file mode 100644
index d994e86..0000000
--- a/docs/.vuepress/public/button.png
+++ /dev/null
Binary files differ
diff --git a/docs/guide/components/buttons/button-disabled.png b/docs/guide/components/buttons/button-disabled.png
new file mode 100644
index 0000000..3aa9ba1
--- /dev/null
+++ b/docs/guide/components/buttons/button-disabled.png
Binary files differ
diff --git a/docs/guide/components/buttons/button.png b/docs/guide/components/buttons/button.png
new file mode 100644
index 0000000..a751f93
--- /dev/null
+++ b/docs/guide/components/buttons/button.png
Binary files differ
diff --git a/docs/guide/components/button.md b/docs/guide/components/buttons/index.md
similarity index 91%
rename from docs/guide/components/button.md
rename to docs/guide/components/buttons/index.md
index 3e61b79..ca78201 100644
--- a/docs/guide/components/button.md
+++ b/docs/guide/components/buttons/index.md
@@ -6,11 +6,11 @@
### Enabled buttons
-![Button examples](/button.png)
+![Button examples](./button.png)
### Disabled buttons
-![Disabled button examples](/button-disabled.png)
+![Disabled button examples](./button-disabled.png)
```vue