Permalink
Browse files

docs: remove old index.jade.bak file

The current index.jade file is way way better now
  • Loading branch information...
1 parent 6c27a56 commit 332614b4480e62947dcda048ffe16a1fbea02ae0 @TooTallNate committed Jul 12, 2012
Showing with 0 additions and 39 deletions.
  1. +0 −39 docs/index.jade.bak
View
@@ -1,39 +0,0 @@
-
-- // first parse out the 3 "sections": ref, types, and Buffer
-sections = []
-base = 0
-- for (var i = 0; i < dox.length; i++) {
-- if (dox[i].tags[0] && dox[i].tags[0].type === 'section') {
-- sections.push(dox.slice(base, i))
-- base = i
-- }
-- }
-- sections.push(dox.slice(base))
-
-!!! 5
-html
- head
- title ref docs
- body
- h1 ref
-
- each section, i in sections
- each doc in section
- if (!doc.ignore)
- if (doc.ctx)
- receiver = doc.ctx.receiver
- if (receiver === 'exports')
- - receiver = 'ref'
- if (!receiver && typeof doc.ctx.constructor === 'string')
- - receiver = doc.ctx.constructor
- if (receiver)
- h2 #{receiver}#{doc.ctx.receiver ? '.' : '#'}#{doc.ctx.name}#{doc.ctx.type === 'method' ? '()' : ''}
- else
- - console.error(doc)
- .desc
- .summary!= doc.description.summary.replace(/<br ?\/?>/g, ' ')
- body = doc.description.body.replace(/<br ?\/?>/g, ' ')
- if (body)
- .body!= body
- if (i < sections.length - 1)
- hr

0 comments on commit 332614b

Please sign in to comment.