Add unit testing documentation
- Add unit testing section and page
Signed-off-by: Derick Montague <derick.montague@ibm.com>
Change-Id: I693b0576a5815aa7181c5ce068334509b99c7fc7
diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js
index 3c05469..0a8e508 100644
--- a/docs/.vuepress/config.js
+++ b/docs/.vuepress/config.js
@@ -42,6 +42,7 @@
"/guide/guidelines/typography"
]
},
+ "/guide/unit-testing/",
{
title: "Components",
children: [
diff --git a/docs/.vuepress/styles/palette.styl b/docs/.vuepress/styles/palette.styl
index 2a79275..4d79601 100644
--- a/docs/.vuepress/styles/palette.styl
+++ b/docs/.vuepress/styles/palette.styl
@@ -1,4 +1,3 @@
-
// VuePress Theme overrides
// Change content to be left aligned
.theme-default-content:not(.custom),
@@ -6,3 +5,11 @@
max-width 72ch
margin 0
padding 2rem
+
+// Overide default margins for p tags
+// VuePress is nesting li content in p tags
+// unless they are nested li elements creating
+// inconsistent margins between different lists
+li p
+ margin-bottom .5rem
+ margin-top .5rem