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:
parent
7b5244ce87
commit
0c678c2355
|
@ -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}).
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
||||
|
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
||||
|
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
||||
|
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
||||
|
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
||||
|
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
||||
|
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
||||
|
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
||||
|
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
||||
|
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
||||
|
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
||||
|
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
||||
|
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
||||
|
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
||||
|
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
||||
|
|
|
@ -1 +1 @@
|
|||
!= partial("../../_includes/styleguide/_styleguide")
|
||||
include ../../_includes/styleguide/_styleguide
|
||||
|
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
||||
|
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
||||
|
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
||||
|
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
||||
|
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
||||
|
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
||||
|
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
||||
|
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
||||
|
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
||||
|
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
||||
|
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
||||
|
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
||||
|
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
||||
|
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
||||
|
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
||||
|
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
||||
|
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
||||
|
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
||||
|
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
||||
|
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
||||
|
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
||||
|
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
||||
|
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
||||
|
|
|
@ -1 +1 @@
|
|||
!= partial("../../_includes/_help")
|
||||
include ../../_includes/_help
|
|
@ -1 +1 @@
|
|||
!= partial("../../_includes/styleguide/_styleguide")
|
||||
include ../../_includes/styleguide/_styleguide
|
||||
|
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
||||
|
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
||||
|
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
||||
|
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
||||
|
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
||||
|
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
||||
|
|
|
@ -1 +1 @@
|
|||
!= partial("../../../_includes/_ts-temp")
|
||||
include ../../../_includes/_ts-temp
|
||||
|
|
|
@ -1 +1 @@
|
|||
!= partial("../../../js/latest/cookbook/ts-to-js")
|
||||
include ../../../js/latest/cookbook/ts-to-js
|
||||
|
|
|
@ -1 +1 @@
|
|||
!= partial("../../_includes/_help")
|
||||
include ../../_includes/_help
|
|
@ -1 +1 @@
|
|||
!= partial("../../_includes/styleguide/_styleguide")
|
||||
include ../../_includes/styleguide/_styleguide
|
||||
|
|
Loading…
Reference in New Issue