File tree Expand file tree Collapse file tree 7 files changed +17
-2
lines changed
Expand file tree Collapse file tree 7 files changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -158,6 +158,8 @@ export const kRenderDefaultsKeys = [
158158// language fields
159159export const kTocTitleDocument = "toc-title-document" ;
160160export const kTocTitleWebsite = "toc-title-website" ;
161+ export const kRelatedFormatsTitle = "related-formats-title" ;
162+ export const kRelatedNotebooksTitle = "related-notebooks-title" ;
161163export const kCalloutTipCaption = "callout-tip-caption" ;
162164export const kCalloutNoteCaption = "callout-note-caption" ;
163165export const kCalloutWarningCaption = "callout-warning-caption" ;
@@ -253,6 +255,8 @@ export const kListingPageNoMatches = "listing-page-no-matches";
253255export const kLanguageDefaultsKeys = [
254256 kTocTitleDocument ,
255257 kTocTitleWebsite ,
258+ kRelatedFormatsTitle ,
259+ kRelatedNotebooksTitle ,
256260 kCalloutTipCaption ,
257261 kCalloutNoteCaption ,
258262 kCalloutWarningCaption ,
Original file line number Diff line number Diff line change @@ -137,6 +137,8 @@ import {
137137 kPdfEngineOpts ,
138138 kPreferHtml ,
139139 kReferenceLocation ,
140+ kRelatedFormatsTitle ,
141+ kRelatedNotebooksTitle ,
140142 kRepoActionLinksEdit ,
141143 kRepoActionLinksIssue ,
142144 kRepoActionLinksSource ,
@@ -492,6 +494,8 @@ export interface PdfEngine {
492494export interface FormatLanguage {
493495 [ kTocTitleDocument ] ?: string ;
494496 [ kTocTitleWebsite ] ?: string ;
497+ [ kRelatedFormatsTitle ] ?: string ;
498+ [ kRelatedNotebooksTitle ] ?: string ;
495499 [ kCalloutTipCaption ] ?: string ;
496500 [ kCalloutNoteCaption ] ?: string ;
497501 [ kCalloutWarningCaption ] ?: string ;
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ import {
4040 includesForJupyterWidgetDependencies ,
4141} from "./widgets.ts" ;
4242import { globalTempContext } from "../temp.ts" ;
43- import { isAbsolute } from "https://deno.land/[email protected] / path/win32 .ts" ; 43+ import { isAbsolute } from "path/mod .ts" ;
4444
4545export interface JupyterNotebookAddress {
4646 path : string ;
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ import {
6666import { kTemplatePartials } from "../../command/render/template.ts" ;
6767import { TempContext } from "../../core/temp-types.ts" ;
6868import { isHtmlOutput } from "../../config/format.ts" ;
69- import { basename } from "https://deno.land/[email protected] / path/win32 .ts" ; 69+ import { basename } from "path/mod .ts" ;
7070
7171export function formatPageLayout ( format : Format ) {
7272 return format . metadata [ kPageLayout ] as string || kPageLayoutArticle ;
Original file line number Diff line number Diff line change 11toc-title-document : " Table of contents"
22toc-title-website : " On this page"
33
4+ related-formats-title : " Alternate Formats"
5+ related-notebooks-title : " Notebooks"
6+
47section-title-abstract : " Abstract"
58section-title-appendices : " Appendices"
69section-title-footnotes : " Footnotes"
Original file line number Diff line number Diff line change 10981098 properties :
10991099 toc-title-document : string
11001100 toc-title-website : string
1101+ related-formats-title : string
1102+ related-notebooks-title : string
11011103 callout-tip-caption : string
11021104 callout-note-caption : string
11031105 callout-warning-caption : string
Original file line number Diff line number Diff line change @@ -599,6 +599,8 @@ attempt to be automatically translated. */;
599599export type FormatLanguage = {
600600 "toc-title-document" ?: string ;
601601 "toc-title-website" ?: string ;
602+ "related-formats-title" ?: string ;
603+ "related-notebooks-title" ?: string ;
602604 "callout-tip-caption" ?: string ;
603605 "callout-note-caption" ?: string ;
604606 "callout-warning-caption" ?: string ;
You can’t perform that action at this time.
0 commit comments