From 2218e6e56582427a28dcf9dc21f44cd429a3796e Mon Sep 17 00:00:00 2001 From: EricFromCanada <enk3@outlook.com> 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 1a372fc3..c78280a8 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,8 @@ <br><br> <p align="center"> <h1 align="center">Just the Docs</h1> - <p align="center">A modern, high customizable, responsive Jekyll theme for documentation with built-in search.<br>Easily hosted on GitHub pages with few dependencies.</p> - <p align="center"><strong><a href="https://pmarsceill.github.io/just-the-docs">See it in action!</a></strong></p> + <p align="center">A modern, high customizable, responsive Jekyll theme for documentation with built-in search.<br>Easily hosted on GitHub Pages with few dependencies.</p> + <p align="center"><strong><a href="https://pmarsceill.github.io/just-the-docs/">See it in action!</a></strong></p> <br><br><br> </p> diff --git a/docs/customization.md b/docs/customization.md index 0ed6c2ee..74c153c0 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 320e5cea..3297f294 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. <div class="code-example" markdown="1"> [Button with space](http://example.com/){: .btn .btn-purple .mr-2 } diff --git a/docs/utilities/color.md b/docs/utilities/color.md index 7b2aa656..ba90b3b9 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 92d1234b..ff248b3a 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 235a1a83..bc5e2cb2 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 7d7a86dc..786b65a5 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 1576d6e4..aef0e2dc 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 -- GitLab