-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocusaurus.config.js
More file actions
109 lines (107 loc) · 3 KB
/
docusaurus.config.js
File metadata and controls
109 lines (107 loc) · 3 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
/** @type {import('@docusaurus/types').Config} */
const config = {
title: 'PDFixa',
tagline: 'Deterministic PDF engine for Java',
favicon: 'img/logo.svg',
url: 'https://pdfixa.dev',
baseUrl: '/',
organizationName: 'offixa',
projectName: 'pdfixa-docs',
onBrokenLinks: 'throw',
markdown: {
mermaid: false,
format: 'mdx',
},
presets: [
[
'classic',
{
docs: {
routeBasePath: 'docs',
sidebarPath: './sidebars.js',
editUrl: 'https://github.com/offixa/pdfixa-docs/edit/main/',
},
blog: {
path: './blog',
routeBasePath: 'blog',
blogTitle: 'PDFixa Blog',
blogDescription: 'Comparison articles, Java PDF tutorials, backend integration guides, and PDF library evaluations.',
showReadingTime: false,
editUrl: 'https://github.com/offixa/pdfixa-docs/edit/main/',
},
theme: {
customCss: './src/css/custom.css',
},
},
],
],
themes: [
[
require.resolve('@easyops-cn/docusaurus-search-local'),
{
hashed: true,
},
],
],
themeConfig: {
navbar: {
title: 'PDFixa',
logo: {
alt: 'PDFixa',
src: 'img/logo.svg',
},
items: [
{ to: '/', label: 'Home', position: 'left' },
{ to: '/docs/intro', label: 'Docs', position: 'left' },
{ to: '/blog', label: 'Blog', position: 'left' },
{ to: '/examples', label: 'Examples', position: 'left' },
{
href: 'https://github.com/offixa/pdfixa',
label: 'GitHub',
position: 'right',
},
],
},
footer: {
style: 'dark',
links: [
{
title: 'Getting Started',
items: [
{ label: 'Installation', to: '/docs/getting-started/installation' },
{ label: 'Quick Start', to: '/docs/getting-started/quick-start' },
],
},
{
title: 'Core Concepts',
items: [
{ label: 'Documents', to: '/docs/core-concepts/documents' },
{ label: 'Pages', to: '/docs/core-concepts/pages' },
{ label: 'Content Streams', to: '/docs/core-concepts/content-streams' },
],
},
{
title: 'Guides',
items: [
{ label: 'Generate an Invoice', to: '/docs/guides/invoice' },
{ label: 'Generate a Report', to: '/docs/guides/report' },
{ label: 'Use with Spring Boot', to: '/docs/guides/spring-boot' },
],
},
{
title: 'More',
items: [
{ label: 'API Overview', to: '/docs/reference/api-overview' },
{ label: 'Error Handling', to: '/docs/reference/error-handling' },
{ label: 'GitHub', href: 'https://github.com/offixa/pdfixa' },
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} Offixa.`,
},
prism: {
additionalLanguages: ['java'],
},
},
};
module.exports = config;