git.iko.soy/typeable/oauth2-proxy
on bee7879 help sign in
typeable/oauth2-proxy/docs/docusaurus.config.js
69 lines 1.8 kB history raw
1module.exports = {
2 title: 'OAuth2 Proxy',
3 tagline: 'A lightweight authentication proxy written in Go',
4 url: 'https://oauth2-proxy.github.io',
5 baseUrl: '/oauth2-proxy/',
6 onBrokenLinks: 'throw',
7 favicon: 'img/logos/OAuth2_Proxy_icon.svg',
8 organizationName: 'oauth2-proxy', // Usually your GitHub org/user name.
9 projectName: 'oauth2-proxy', // Usually your repo name.
10 themeConfig: {
11 navbar: {
12 title: 'OAuth2 Proxy',
13 logo: {
14 alt: 'OAuth2 Proxy',
15 src: 'img/logos/OAuth2_Proxy_icon.svg',
16 },
17 items: [
18 {
19 to: 'docs/',
20 activeBasePath: 'docs',
21 label: 'Docs',
22 position: 'left',
23 },
24 {
25 type: 'docsVersionDropdown',
26 position: 'right',
27 dropdownActiveClassDisabled: true,
28 },
29 {
30 href: 'https://github.com/oauth2-proxy/oauth2-proxy',
31 label: 'GitHub',
32 position: 'right',
33 },
34 ],
35 },
36 footer: {
37 style: 'dark',
38 copyright: `Copyright © ${new Date().getFullYear()} OAuth2 Proxy.`,
39 },
40 prism: {
41 additionalLanguages: ['hcl', 'powershell'],
42 },
43 },
44 presets: [
45 [
46 '@docusaurus/preset-classic',
47 {
48 docs: {
49 sidebarPath: require.resolve('./sidebars.js'),
50 // Please change this to your repo.
51 editUrl:
52 'https://github.com/oauth2-proxy/oauth2-proxy/edit/master/docs/',
53 },
54 theme: {
55 customCss: require.resolve('./src/css/custom.css'),
56 },
57 },
58 ],
59 ],
60 themes: [
61 [
62 require.resolve("@easyops-cn/docusaurus-search-local"),
63 /** @type {import("@easyops-cn/docusaurus-search-local").PluginOptions} */
64 ({
65 hashed: true,
66 }),
67 ],
68 ],
69};