build(aio): support guide authoring

This commit implements various tags, inline tags and changes the markdown
renderer to use Rho. This enables us to generate guide type documents.
This commit is contained in:
Peter Bacon Darwin
2017-02-02 08:19:20 +00:00
committed by Igor Minar
parent 470997ebb9
commit 12f03b90fd
18 changed files with 315 additions and 44 deletions

View File

@ -88,12 +88,20 @@ The result looks like this:
and download the source code from there
or simply read the pertinent source here.
{@tabs}
{@example 'cb-component-relative-paths/ts/app/some.component.ts' -title='app/some.component.ts'}
{@example 'cb-component-relative-paths/ts/app/some.component.html' -title='app/some.component.html'}
{@example 'cb-component-relative-paths/ts/app/some.component.css' -title='app/some.component.css'}
{@example 'cb-component-relative-paths/ts/app/app.component.ts' -title='app/app.component.ts'}
{@endtabs}
<md-tab-group>
<md-tab label="app/some.component.ts">
{@example 'cb-component-relative-paths/ts/app/some.component.ts'}
</md-tab>
<md-tab label="app/some.component.html">
{@example 'cb-component-relative-paths/ts/app/some.component.html'}
</md-tab>
<md-tab label="app/some.component.css">
{@example 'cb-component-relative-paths/ts/app/some.component.css'}
</md-tab>
<md-tab label="app/app.component.ts">
{@example 'cb-component-relative-paths/ts/app/app.component.ts'}
</md-tab>
<md-tab-group>
{@a why-default}

2
docs/templates/content.template.html vendored Normal file
View File

@ -0,0 +1,2 @@
<h1>{$ doc.title $}</h1>
{$ doc.description | marked $}