From 2218e6e56582427a28dcf9dc21f44cd429a3796e Mon Sep 17 00:00:00 2001
From: EricFromCanada
Date: Mon, 14 Jan 2019 14:39:40 -0500
Subject: [PATCH] Fix links and syntax
For pages in utilities/, reorder `nav_order` to follow `parent`.
---
README.md | 4 ++--
docs/customization.md | 8 ++++----
docs/ui-components/buttons.md | 2 +-
docs/utilities/color.md | 2 +-
docs/utilities/layout.md | 3 +--
docs/utilities/responsive-modifiers.md | 2 +-
docs/utilities/typography.md | 2 +-
index.md | 2 +-
8 files changed, 12 insertions(+), 13 deletions(-)
diff --git a/README.md b/README.md
index 1a372fc..c78280a 100644
--- a/README.md
+++ b/README.md
@@ -4,8 +4,8 @@
Just the Docs
- A modern, high customizable, responsive Jekyll theme for documentation with built-in search.
Easily hosted on GitHub pages with few dependencies.
- See it in action!
+ A modern, high customizable, responsive Jekyll theme for documentation with built-in search.
Easily hosted on GitHub Pages with few dependencies.
+ See it in action!
diff --git a/docs/customization.md b/docs/customization.md
index 0ed6c2e..74c153c 100644
--- a/docs/customization.md
+++ b/docs/customization.md
@@ -16,17 +16,17 @@ nav_order: 6
---
## Color schemes
-{: .d-inline-block :}
+{: .d-inline-block }
New
-{: .label .label-green :}
+{: .label .label-green }
Just the Docs supports two color schemes: light (default), and dark.
To enable a color scheme, set the `color_scheme` parameter in your site's `_config.yml` file:
#### Example
-{: no_toc }
+{: .no_toc }
```yml
# Color scheme currently only supports "dark" or nil (default)
@@ -56,7 +56,7 @@ To customize your site’s aesthetic, open `_sass/custom/custom.scss` in your ed
For example, to change the link color from the purple default to blue, open `_sass/custom/custom.css` and find the `$link-color` variable on line `50`. Uncomment it, and change its value to our `$blue-000` variable, or another shade of your choosing.
#### Example
-{: no_toc }
+{: .no_toc }
```scss
// ...
diff --git a/docs/ui-components/buttons.md b/docs/ui-components/buttons.md
index 320e5ce..3297f29 100644
--- a/docs/ui-components/buttons.md
+++ b/docs/ui-components/buttons.md
@@ -79,7 +79,7 @@ Wrap the button in a container that uses the [font-size utility classes]({{ site
### Spacing between buttons
-Use the [margin utility classes]({{ site.baseurl }}{% link docs/utilities/utilities.md %}#spacing) to add spacing between two buttons in the same block.
+Use the [margin utility classes]({{ site.baseurl }}{% link docs/utilities/layout.md %}#spacing) to add spacing between two buttons in the same block.
[Button with space](http://example.com/){: .btn .btn-purple .mr-2 }
diff --git a/docs/utilities/color.md b/docs/utilities/color.md
index 7b2aa65..ba90b3b 100644
--- a/docs/utilities/color.md
+++ b/docs/utilities/color.md
@@ -1,8 +1,8 @@
---
layout: default
title: Color
-nav_order: 3
parent: Utilities
+nav_order: 3
---
# Color Utilities
diff --git a/docs/utilities/layout.md b/docs/utilities/layout.md
index 92d1234..ff248b3 100644
--- a/docs/utilities/layout.md
+++ b/docs/utilities/layout.md
@@ -1,9 +1,8 @@
---
layout: default
title: Layout
-nav_order: 2
parent: Utilities
-has_children: true
+nav_order: 2
---
# Layout Utilities
diff --git a/docs/utilities/responsive-modifiers.md b/docs/utilities/responsive-modifiers.md
index 235a1a8..bc5e2cb 100644
--- a/docs/utilities/responsive-modifiers.md
+++ b/docs/utilities/responsive-modifiers.md
@@ -1,8 +1,8 @@
---
layout: default
title: Responsive Modifiers
-nav_order: 1
parent: Utilities
+nav_order: 1
---
# Responsive modifiers
diff --git a/docs/utilities/typography.md b/docs/utilities/typography.md
index 7d7a86d..786b65a 100644
--- a/docs/utilities/typography.md
+++ b/docs/utilities/typography.md
@@ -1,8 +1,8 @@
---
layout: default
title: Typography
-nav_order: 3
parent: Utilities
+nav_order: 4
---
# Typography Utilities
diff --git a/index.md b/index.md
index 1576d6e..aef0e2d 100644
--- a/index.md
+++ b/index.md
@@ -20,7 +20,7 @@ Just the Docs gives your documentation a jumpstart with a responsive Jekyll them
### Dependencies
-Just the Docs is built for [Jekyll](https://jekyllrb.com), a static site generator. View the [quick start guide](https://jekyllrb.com/docs/quickstart/) for more information. Just the Docs requires no special Jekyll plugins and can run on GitHub Pages' standard Jekyll compiler.
+Just the Docs is built for [Jekyll](https://jekyllrb.com), a static site generator. View the [quick start guide](https://jekyllrb.com/docs/) for more information. Just the Docs requires no special Jekyll plugins and can run on GitHub Pages' standard Jekyll compiler.
### Quick start: Use as a GitHub Pages remote theme