mirror of https://github.com/lukechilds/docs.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1005 B
37 lines
1005 B
6 years ago
|
doctype
|
||
|
|
||
|
include mixins.jade
|
||
|
|
||
|
html
|
||
|
head
|
||
|
meta(charset="utf-8")
|
||
|
title= self.api.name || 'API Documentation'
|
||
|
link(rel="stylesheet", href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css")
|
||
|
style!= self.css
|
||
|
body.preload
|
||
|
#nav-background
|
||
|
div.container-fluid.triple
|
||
|
.row
|
||
|
block nav
|
||
|
+Nav(false)
|
||
|
|
||
|
.content
|
||
|
#right-panel-background
|
||
|
|
||
|
block content
|
||
|
+ContentTriple(false)
|
||
|
|
||
|
.middle
|
||
|
p.text-muted(style="text-align: center;")
|
||
|
|
||
|
script: include scripts.js
|
||
|
|
||
|
if self.livePreview
|
||
|
script(src="/socket.io/socket.io.js")
|
||
|
script.
|
||
|
var socket = io();
|
||
|
socket.on('refresh', refresh);
|
||
|
socket.on('reconnect', function () {
|
||
|
socket.emit('request-refresh');
|
||
|
});
|