Add placeholder pages for docs site

This commit is contained in:
Graham Esau 2019-12-14 16:52:41 +00:00
parent ccb7f48c3b
commit fcd38ed76a
10 changed files with 89 additions and 2 deletions

11
docs/1-deriving.md Normal file
View file

@ -0,0 +1,11 @@
---
layout: default
title: Deriving JsonSchema
nav_order: 2
has_children: true
has_toc: false
---
# Deriving JsonSchema
How to use `#[derive(JsonSchema)]`...

10
docs/1.1-attributes.md Normal file
View file

@ -0,0 +1,10 @@
---
layout: default
title: Attributes
parent: Deriving JsonSchema
nav_order: 1
---
# Attributes
Attributes that affect deriving JsonSchema...

9
docs/2-implementing.md Normal file
View file

@ -0,0 +1,9 @@
---
layout: default
title: Implementing JsonSchema
nav_order: 3
---
# Implementing JsonSchema
How to implement JsonSchema manually, without deriving it...

9
docs/3-generating.md Normal file
View file

@ -0,0 +1,9 @@
---
layout: default
title: Generating Schemas
nav_order: 4
---
# Generating Schemas
Using the `schema_for!` macro, and `gen` module...

9
docs/4-features.md Normal file
View file

@ -0,0 +1,9 @@
---
layout: default
title: Feature Flags
nav_order: 5
---
# Feature Flags
Feature flags that can be enabled..

View file

@ -1,6 +1,7 @@
--- ---
permalink: /404.html permalink: /404.html
layout: default layout: default
nav_exclude: true
--- ---
<style type="text/css" media="screen"> <style type="text/css" media="screen">
@ -9,6 +10,7 @@ layout: default
max-width: 600px; max-width: 600px;
text-align: center; text-align: center;
} }
h1 { h1 {
margin: 30px 0; margin: 30px 0;
font-size: 4em; font-size: 4em;

8
docs/5-examples.md Normal file
View file

@ -0,0 +1,8 @@
---
layout: default
title: Examples
nav_order: 6
has_children: true
---
# Examples

View file

@ -60,8 +60,8 @@
//$body-text-color: $grey-dk-100; //$body-text-color: $grey-dk-100;
//$body-heading-color: $grey-dk-300; //$body-heading-color: $grey-dk-300;
//$search-result-preview-color: $grey-dk-000; //$search-result-preview-color: $grey-dk-000;
//$nav-child-link-color: $grey-dk-100;
//$link-color: $purple-000; //$link-color: $purple-000;
$nav-child-link-color: $link-color;
//$btn-primary-color: $purple-100; //$btn-primary-color: $purple-100;
//$base-button-color: #f7f7f7; //$base-button-color: #f7f7f7;
@ -136,6 +136,10 @@ xl: 1400px
margin-right: 0.1rem !important; margin-right: 0.1rem !important;
} }
.aux-nav a img {
height: 22px;
}
pre.highlight, figure.highlight { pre.highlight, figure.highlight {
line-height: 1.2em; line-height: 1.2em;
} }
@ -143,3 +147,11 @@ pre.highlight, figure.highlight {
pre.highlight code, figure.highlight code { pre.highlight code, figure.highlight code {
font-size: 14px; font-size: 14px;
} }
.navigation-list-item .navigation-list-child-list {
display: block !important;
}
.navigation-list > .navigation-list-item {
margin-bottom: 0.5em !important;
}

View file

@ -0,0 +1,9 @@
---
layout: default
title: Example 1
parent: Examples
nav_order: 1
summary: blah blah blahhh
---
# Examples 1: A Meta-Example

View file

@ -0,0 +1,8 @@
---
layout: default
title: Example 2
parent: Examples
nav_order: 2
---
# Examples 2: Another Meta-Example