working on toc
This commit is contained in:
@@ -9,4 +9,5 @@
|
||||
= Interleaved vs Sequential Channels
|
||||
= Chained vs Shared Reference
|
||||
= Broadcast and Multicast
|
||||
= Entity Batching
|
||||
|
||||
|
||||
@@ -5,6 +5,18 @@
|
||||
title: [Core Mechanics],
|
||||
)
|
||||
|
||||
#tip[
|
||||
Until version 26.2, this only works on multiplayer servers. See @singleplayer.
|
||||
]
|
||||
|
||||
#note[
|
||||
Until version 26.2, this only works on multiplayer servers. See @singleplayer.
|
||||
]
|
||||
|
||||
#warn[
|
||||
Until version 26.2, this only works on multiplayer servers. See @singleplayer.
|
||||
]
|
||||
|
||||
= Entity IDs
|
||||
= Stationary Item Optimization
|
||||
= Observable Drop Delay
|
||||
|
||||
15
content/toc.typ
Normal file
15
content/toc.typ
Normal file
@@ -0,0 +1,15 @@
|
||||
#import "/docs.typ": docs-page, note, tip, warn
|
||||
|
||||
#show: docs-page.with(
|
||||
route: "/toc/",
|
||||
title: [Contents],
|
||||
)
|
||||
|
||||
#context for doc in query(document) {
|
||||
let target = selector(heading).within(doc.location())
|
||||
|
||||
show outline.entry: it => {
|
||||
}
|
||||
|
||||
outline(depth: 1, target: target, title: link(doc.location(), doc.title))
|
||||
}
|
||||
Reference in New Issue
Block a user