doctype html
html(lang='zh-Hans')
head
meta(charset='UTF-8')
meta(http-equiv='X-UA-Compatible', content='IE=edge')
meta(name='viewport', content='width=device-width, initial-scale=1, maximum-scale=1')
title Screeps Documentation
link(rel='stylesheet' href='css/print.css' media="print")
link(rel='stylesheet' href='css/screen.css' media="screen")
link(rel='stylesheet' href='css/prism.css' media="screen")
script(src="js/lib/energize.js")
script(src="js/lib/jquery.js")
script(src="js/lib/jquery_ui.js")
script(src="js/lib/jquery.highlight.js")
script(src="js/lib/jquery.tocify.js")
script(src="js/lib/lunr.js")
script(src="js/lib/prism.js")
script(src="js/app/lang.js")
script(src="js/app/search.js")
script(src="js/app/toc.js")
body(class="index")
a#nav-button(href="#")
span
NAV
img(src="img/navbar.png")
.tocify-wrapper
.logo
a(href="https://screeps.com/a/")
img(src="img/logotype_bw_animation.svg")
a(href="/api/")
| api
if is_ptr()
| [ptr]
.search
input.search#input-search(type="text" placeholder="Search")
ul.search-results
if !is_ptr()
a.back(href="/index.html")
| Back to docs
img(src="img/link-external.svg")
#toc
ul.tocify-header
li.tocify-item.divider(style='pointer-events: none;') Global Objects
each name in config.GlobalObjects
!= tocify(page.pages[name])
ul.tocify-header
li.tocify-item.divider(style='pointer-events: none;') Prototypes
each name in config.Prototypes
!= tocify(page.pages[name])
.page-wrapper
.dark-box
.content.api-content
//- h1.divider Global Objects
each name in config.GlobalObjects
!= page.pages[name]
//- h1.divider Prototypes
each name in config.Prototypes
!= page.pages[name]
.dark-box
div