mirror of
https://github.com/foliojs/pdfkit.git
synced 2025-12-08 20:15:54 +00:00
46 lines
1.5 KiB
Plaintext
46 lines
1.5 KiB
Plaintext
doctype html
|
|
html
|
|
head
|
|
meta(charset='utf-8')
|
|
title= title
|
|
link(rel='stylesheet', href='http://fonts.googleapis.com/css?family=Source+Code+Pro:400,700|Alegreya:700|Merriweather')
|
|
link(rel='stylesheet', href='/docs/css/index.css')
|
|
link(rel='stylesheet', href='/docs/css/github.css')
|
|
body
|
|
nav(class='sidebar')
|
|
ul
|
|
li
|
|
a(href='/', class=(/index/.test(url) ? 'selected' : '')) Home
|
|
li
|
|
a(href=pages[0].url) Documentation
|
|
ul
|
|
each page in pages.slice(1)
|
|
li
|
|
a(href=page.url, class=page.title == title ? 'selected' : '')
|
|
= page.title.replace(/(with|in) PDFKit/, '')
|
|
|
|
- if (page.title == title && headers.length)
|
|
ul
|
|
each header in headers
|
|
li
|
|
a(href='#' + header.hash)= header.title
|
|
|
|
li
|
|
a(href='/docs/guide.pdf') PDF Guide
|
|
li
|
|
a(href='/example.pdf') Example PDF
|
|
li
|
|
a(href='http://github.com/devongovett/pdfkit') Source Code
|
|
|
|
.main
|
|
!= content
|
|
nav
|
|
- if (index > 0)
|
|
a(href=pages[index - 1].url, class='previous') Previous
|
|
|
|
- if (index < pages.length - 1)
|
|
a(href=pages[index + 1].url, class='next') Next
|
|
|
|
script(src='https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js')
|
|
script(src='/docs/js/scroll.js')
|
|
script(src='/docs/js/highlight.pack.js') |