This commit is contained in:
@@ -67,17 +67,19 @@ export function isReadingSurface(path: string): boolean {
|
||||
|
||||
/* ---------- the wiki's own pages ----------
|
||||
|
||||
The link map and the graphing calculator are pages the shelf holds no
|
||||
copies of — but the book can read them too. Each has one plain address of
|
||||
its own, and useArticleTabs can lay it on the row beside the open articles:
|
||||
the page then draws the live surface instead of an article, for as long as
|
||||
its page stays open. */
|
||||
The link map, the calculators and the Lean editor are pages the shelf
|
||||
holds no copies of — but the book can read them too. Each has one plain
|
||||
address of its own, and useArticleTabs can lay it on the row beside the
|
||||
open articles: the page then draws the live surface instead of an
|
||||
article, for as long as its page stays open. */
|
||||
|
||||
export type ToolPage = 'graph' | 'calculator'
|
||||
export type ToolPage = 'graph' | 'calculator' | 'calculator3d' | 'lean'
|
||||
|
||||
const TOOL_PAGE_PATHS: Record<ToolPage, string> = {
|
||||
graph: '/graph',
|
||||
calculator: '/calculator',
|
||||
calculator3d: '/calculator3d',
|
||||
lean: '/lean',
|
||||
}
|
||||
|
||||
/** The address a tool page lives at. */
|
||||
|
||||
Reference in New Issue
Block a user