fix search, add yaml tutorial

This commit is contained in:
Tom Johnson
2016-02-07 21:46:23 -08:00
parent ca9ace3249
commit 85fb9a9821
12 changed files with 609 additions and 84 deletions

View File

@ -217,6 +217,15 @@ entries:
version: all
output: web, pdf
- title: Working with YAML
url: /mydoc/mydoc_yaml_tutorial.html
audience: writers, designers
platform: all
product: all
version: all
output: web, pdf
- title: Tags
url: /mydoc/mydoc_tags.html
audience: writers, designers
@ -479,22 +488,38 @@ entries:
version: all
output: web, pdf
# - title: Collaborating with version control
# audience: writers, designers
# platform: all
# product: all
# version: all
# output: web, pdf
# items:
#
# - title: Mercurial notes and tips
# url: /mydoc/mydoc_mercurial_collaboration.html
# audience: writers, designers
# platform: all
# product: all
# version: all
# output: web, pdf
#
- title: Algolia search
audience: writers, designers
platform: all
product: all
version: all
output: web, pdf
items:
- title: Configuring Algolia search
url: /mydoc/mydoc_algoliasearch.html
audience: writers, designers
platform: all
product: all
version: all
output: web, pdf
- title: Collaborating with version control
audience: writers, designers
platform: all
product: all
version: all
output: web, pdf
items:
- title: Mercurial notes and tips
url: /mydoc/mydoc_mercurial_collaboration.html
audience: writers, designers
platform: all
product: all
version: all
output: web, pdf
# - title: Git notes and tips
# url: /mydoc/mydoc_git_collaboration.html
# audience: writers, designers

107
_data/mydoc/samplelist.yml Normal file
View File

@ -0,0 +1,107 @@
entries:
- title: Sidebar
subcategories:
- title: Food
items:
- title: Bananas
url: bananas.html
thirdlevel:
- title: Apples
thirdlevelitems:
- title: Fuji apples
url: fuji_apples.html
- title: Gala apples
url: gala_apples.html
name:
husband: Tom
wife: Shannon
bikes:
- title: mountain bikes
- title: road bikes
- title: hybrid bikes
salesteams:
- title: Regions
subitems:
- location: US
- location: Spain
- location: France
toc:
- title: Group 1
subitems:
- page: Thing 1
- page: Thing 2
- page: Thing 3
- title: Group 2
subitems:
- page: Piece 1
- page: Piece 2
- page: Piece 3
- title: Group 3
subitems:
- page: Widget 1
- page: Widget 2
- page: Widget 3
something: &hello Greetings earthling!
myref: *hello
about:
- zero
- one
- two
- three
numbercolors:
- zero:
properties: red
- one:
properties: yellow
- two:
properties: green
- three:
properties: blue
mypages:
- section1: Section 1
audience: developers
product: acme
url: facebook.com
- section2: Section 2
audience: writers
product: acme
url: google.com
- section3: Section 3
audience: developers
product: acme
url: amazon.com
- section4: Section 4
audience: writers
product: gizmo
url: apple.com
- section5: Section 5
audience: writers
product: acme
url: microsoft.com
feedback: >
This is my feedback to you.
Even if I include linebreaks here,
all of the linebreaks will be removed when the value is inserted.
block: |
This pipe does something a little different.
It preserves the breaks.
This is really helpful for code samples,
since you can format the code samples with
the appropriate
white spacing.