From 8bd63ad1c4371a3071a9502342669721e3501c01 Mon Sep 17 00:00:00 2001 From: Jonathan Rudenberg Date: Wed, 22 Aug 2012 14:03:45 -0400 Subject: [PATCH] Add disclaimer to docs --- content/assets/css/style.css | 7 ++++++- layouts/_post.slim | 2 +- layouts/doc.slim | 12 ++++++++++-- 3 files changed, 17 insertions(+), 4 deletions(-) diff --git a/content/assets/css/style.css b/content/assets/css/style.css index 97786d5..9687045 100644 --- a/content/assets/css/style.css +++ b/content/assets/css/style.css @@ -71,6 +71,7 @@ article { article date { display: block; margin-bottom: 10px; + margin-top: 10px; } footer { @@ -81,6 +82,10 @@ footer { border-top: 1px grey solid; } -.doc-nav { +.doc { margin-top: 10px; } + +.alert h4 { + font-weight: bold; +} diff --git a/layouts/_post.slim b/layouts/_post.slim index 0137b96..dfbb2e6 100644 --- a/layouts/_post.slim +++ b/layouts/_post.slim @@ -1,5 +1,5 @@ article - h1 == link_to @post[:title], @post.identifier.chop - time = Time.parse(@post[:created_at]) date title=time.strftime('%F %R %Z') datetime=time.strftime('%FT%T%:z') pubdate=true = time.strftime('%B %-d, %Y') + h1 == link_to @post[:title], @post.identifier.chop == @content || @post.compiled_content diff --git a/layouts/doc.slim b/layouts/doc.slim index 19d3778..f34217f 100644 --- a/layouts/doc.slim +++ b/layouts/doc.slim @@ -3,9 +3,9 @@ html lang='en' head == render '_head' body == render '_navbar' - .container + .container.doc .row - .span2.doc-nav + .span2 ul.nav.nav-list.well li.nav-header Tent li == nav_link_with_active 'Protocol Introduction', '/docs' @@ -21,5 +21,13 @@ html lang='en' li == nav_link_with_active 'Conversation', '/docs/example-conversation' li == nav_link_with_active 'Conversation Thread', '/docs/example-conversation-thread' .span8 + .alert.alert-block + h4 Alpha Documentation + p These docs are very rough, incorrect, and incomplete. They will be modified heavily over the next few weeks. + p + ' Please contribute by making Pull Requests and Issues on the + == link_to 'GitHub repository', 'https://github.com/tent/tent.io' + | . + == yield == render '_footer'