summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDerick Montague <derick.montague@ibm.com>2020-11-16 21:10:32 +0300
committerDerick Montague <derick.montague@ibm.com>2020-11-16 21:10:32 +0300
commitab93192e39e100b642aed9754adac12f590fd581 (patch)
tree7e4c5396df1fc1e44d166c1fd3aaaa987780ff08 /docs
parente6e924527fb58de46ef70fb016d120f2eefbb01b (diff)
downloadwebui-vue-ab93192e39e100b642aed9754adac12f590fd581.tar.xz
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
Diffstat (limited to 'docs')
-rw-r--r--docs/.vuepress/config.js2
-rw-r--r--docs/.vuepress/public/button-disabled.pngbin28504 -> 0 bytes
-rw-r--r--docs/.vuepress/public/button.pngbin37823 -> 0 bytes
-rw-r--r--docs/guide/components/buttons/button-disabled.pngbin0 -> 6472 bytes
-rw-r--r--docs/guide/components/buttons/button.pngbin0 -> 9579 bytes
-rw-r--r--docs/guide/components/buttons/index.md (renamed from docs/guide/components/button.md)4
6 files changed, 3 insertions, 3 deletions
diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js
index e4dd2004..3c05469d 100644
--- a/docs/.vuepress/config.js
+++ b/docs/.vuepress/config.js
@@ -47,7 +47,7 @@ module.exports = {
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 70f3b152..00000000
--- 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 d994e86d..00000000
--- 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 00000000..3aa9ba1f
--- /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 00000000..a751f932
--- /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
index 3e61b797..ca78201b 100644
--- a/docs/guide/components/button.md
+++ b/docs/guide/components/buttons/index.md
@@ -6,11 +6,11 @@ Buttons are used to perform an action. The main buttons in the application are t
### 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