|
|
@ -151,13 +151,11 @@ export namespace DefaultTheme {
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* To exclude `outline`, `navbar`, `sidebar` and `footer` from being printed, configure `print: false`.
|
|
|
|
* To exclude `outline`, `navbar`, `sidebar` and `footer` from being printed, configure `print: false`.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* To print all of them, configure `print: true`.
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* Frontmatter configuration will override the global configuration, for example, a page containing `navbar: false`, the navbar will not be printed.
|
|
|
|
* Frontmatter configuration will override the global configuration, for example, a page containing `navbar: false`, the navbar will not be printed.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @default { outline: false, navbar: false, sidebar: false, footer: true }
|
|
|
|
* @default { outline: true, navbar: true, sidebar: true, footer: true }
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
print?: boolean | PrintOptions
|
|
|
|
print?: false | PrintOptions
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// nav -----------------------------------------------------------------------
|
|
|
|
// nav -----------------------------------------------------------------------
|
|
|
@ -494,19 +492,19 @@ export namespace DefaultTheme {
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Should the outline be printed?
|
|
|
|
* Should the outline be printed?
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @default false
|
|
|
|
* @default true
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
outline?: boolean
|
|
|
|
outline?: boolean
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Should the navbar be printed?
|
|
|
|
* Should the navbar be printed?
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @default false
|
|
|
|
* @default true
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
navbar?: boolean
|
|
|
|
navbar?: boolean
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Should the sidebar be printed?
|
|
|
|
* Should the sidebar be printed?
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @default false
|
|
|
|
* @default true
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
sidebar?: boolean
|
|
|
|
sidebar?: boolean
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|