Skip to content

antoinegrelard/WebDocs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is a Jekyll build.

/src
  /appengine - the server to host the static content
  /site - the documentation
    /getting-started - the getting started articles
    /multi-device-layouts - responsive design guide
    /introduction-to-media - the guide to using media
    /optimizing-performance - the perf articles
    /using-touch - managing touch
    /showcase - the case-studies

/build is never checked in but generated by Jekyll.

Using project-level meta data

The table of contents is generated from src/site/_project.yaml

To parse the _project.yaml file include {% injectdata content _project.yaml %} in the page.

You then have access to the variables in the page object.

Generating Table of Contents

The table of contents is generated from src/site/_book.yaml

To parse the _book.yaml include {% injectdata content _book.yaml %} in the page and then iterate as follows:

 {% for section in page.content.toc %}
    SOME MARKUP
 {% endfor %}

Jekyll Special elements

{{ articles category}} a list of articles in divs, ordered by the "order" preamble. {{ showcases category}} a list of showcases

About

Web Docs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published