docs: use Jade include rather than Harp partial (#2392)

No net effect on the generated docs.
Preparatory work for ng2.io.
This commit is contained in:
Patrice Chalin 2016-09-19 20:08:03 -07:00 committed by Ward Bell
parent 7b5244ce87
commit 0c678c2355
81 changed files with 85 additions and 102 deletions

View File

@ -8,26 +8,9 @@ if language == 'js'
if language == 'ts'
- lang = 'TypeScript'
- var page = ''
if current.path[4]
- var page = current.path[4] + '.html'
- var page = current.path[4] ? current.path[4] + '.html' : ''
- if (page === 'index.html') page = ''
- var path = '/docs/ts/latest/'+ current.path[3] + '/' + page
- var name = 'it'
- var secondaryPath = public.docs[current.path[1]][current.path[2]][current.path[3]]
if secondaryPath
- var data = secondaryPath._data
- var listType = data._listtype
- var items = listType == 'api' ? secondaryPath : data
for item, slug in items
if slug == current.path[4]
- name = 'the <b><i>' + item.title + '</i></b> chapter'
p.
This chapter is not yet available in #{lang}.
We recommend reading the TypeScript version.
a(href=path, class='md-primary md-button md-ink-ripple').
Read !{name} in TypeScript
// != partial(path)
:marked
This page is not yet available in #{lang}.
We recommend reading [it in TypeScript](!{path}).

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../_includes/styleguide/_styleguide")
include ../../_includes/styleguide/_styleguide

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../_includes/_help")
include ../../_includes/_help

View File

@ -1 +1 @@
!= partial("../../_includes/styleguide/_styleguide")
include ../../_includes/styleguide/_styleguide

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../_includes/_ts-temp")
include ../../../_includes/_ts-temp

View File

@ -1 +1 @@
!= partial("../../../js/latest/cookbook/ts-to-js")
include ../../../js/latest/cookbook/ts-to-js

View File

@ -1 +1 @@
!= partial("../../_includes/_help")
include ../../_includes/_help

View File

@ -1 +1 @@
!= partial("../../_includes/styleguide/_styleguide")
include ../../_includes/styleguide/_styleguide