This commit is contained in:
Jonathan Rudenberg 2012-08-22 13:49:20 -04:00
parent 24547ab996
commit 68ce1aeaff
15 changed files with 2517 additions and 26 deletions

View file

@ -2,6 +2,5 @@
.navbar-inner
a.brand href='/' Tent
ul.nav
== nav_link_with_active 'Intro', '/'
== nav_link_with_active 'Blog', '/blog'
== nav_link_with_active 'Docs', '/docs'
== nav_link_with_active 'Blog', '/blog', top: true
== nav_link_with_active 'Docs', '/docs', top: true

25
layouts/doc.slim Normal file
View file

@ -0,0 +1,25 @@
doctype html
html lang='en'
head == render '_head'
body
== render '_navbar'
.container
.row
.span2.doc-nav
ul.nav.nav-list.well
li.nav-header Tent
li == nav_link_with_active 'Protocol Introduction', '/docs'
li == nav_link_with_active 'Server Protocol', '/docs/server-protocol'
li == nav_link_with_active 'Tent Profile', '/docs/profile'
li == nav_link_with_active 'App Authentication', '/docs/app-auth'
li == nav_link_with_active 'Server API for Apps', '/docs/app-server'
li == nav_link_with_active 'App Notifications', '/docs/app-notifications'
li.nav-header Types
li == nav_link_with_active 'Post Types', '/docs/post-types'
li == nav_link_with_active 'Profile Info Types', '/docs/info-types'
li.nav-header Examples
li == nav_link_with_active 'Conversation', '/docs/example-conversation'
li == nav_link_with_active 'Conversation Thread', '/docs/example-conversation-thread'
.span8
== yield
== render '_footer'