-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvivliostyle.config-cli-en.js
More file actions
34 lines (33 loc) · 1.27 KB
/
vivliostyle.config-cli-en.js
File metadata and controls
34 lines (33 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import { getCopyAssetExcludes, transformSectionList, transformDocumentList } from './vivliostyle.config-shared.js';
export default {
title: 'Vivliostyle CLI Documentation',
author: 'Vivliostyle Foundation',
language: 'en',
size: 'A4',
theme: './packages/theme-PDF',
entryContext: 'dist',
entry: [
// en/cli/index.html is omitted from PDF/EPUB because its content
// duplicates the auto-generated table of contents (toc: true).
// The page remains available on the Web build.
'en/cli/getting-started/index.html',
'en/cli/using-config-file/index.html',
'en/cli/config/index.html',
'en/cli/themes-and-css/index.html',
'en/cli/cover-page/index.html',
'en/cli/toc-page/index.html',
'en/cli/special-output-settings/index.html',
'en/cli/frontend-framework-support/index.html',
'en/cli/api-javascript/index.html',
],
output: [
{ path: 'public/downloads/vivliostyle-cli-en.pdf', format: 'pdf' },
{ path: 'public/downloads/vivliostyle-cli-en.epub', format: 'epub' },
{ path: 'public/publications/cli-en', format: 'webpub' },
],
workspaceDir: '.vivliostyle/cli-en',
toc: { sectionDepth: 3, transformSectionList, transformDocumentList },
copyAsset: {
excludes: getCopyAssetExcludes({ product: 'cli', lang: 'en' }),
},
};