2// `@type` JSDoc annotations allow editor autocompletion and type checking
3// (when paired with `@ts-check`).
4// There are various equivalent ways to declare your Docusaurus config.
5// See: https://docusaurus.io/docs/api/docusaurus-config
7import { themes as prismThemes } from 'prism-react-renderer';
9/** @type {import('@docusaurus/types').Config} */
11 title: 'OAuth2 Proxy',
12 tagline: 'A lightweight authentication proxy written in Go',
13 favicon: 'img/logos/OAuth2_Proxy_icon.svg',
15 // Set the production url of your site here
16 url: 'https://oauth2-proxy.github.io',
17 // Set the /<baseUrl>/ pathname under which your site is served
18 // For GitHub pages deployment, it is often '/<projectName>/'
19 baseUrl: '/oauth2-proxy/',
21 // GitHub pages deployment config.
22 // If you aren't using GitHub pages, you don't need these.
23 organizationName: 'oauth2-proxy', // Usually your GitHub org/user name.
24 projectName: 'oauth2-proxy', // Usually your repo name.
26 onBrokenLinks: 'throw',
27 onBrokenMarkdownLinks: 'warn',
29 // Even if you don't use internationalization, you can use this field to set
30 // useful metadata like html lang. For example, if your site is Chinese, you
31 // may want to replace "en" with "zh-Hans".
40 /** @type {import('@docusaurus/preset-classic').Options} */
43 sidebarPath: require.resolve('./sidebars.js'),
45 // Please change this to your repo.
46 // Remove this to remove the "edit this page" links.
48 'https://github.com/oauth2-proxy/oauth2-proxy/edit/master/docs/',
52 customCss: './src/css/custom.css',
59 '@docusaurus/theme-mermaid',
61 require.resolve("@easyops-cn/docusaurus-search-local"),
62 /** @type {import("@easyops-cn/docusaurus-search-local").PluginOptions} */
65 docsDir: "docs", // only index the latest docs
70 docsRouteBasePath: "/", // fix the default /docs path
71 searchResultLimits: 10,
72 searchBarShortcut: true,
73 removeDefaultStemmer: true, // allow for partial word matching
74 searchBarShortcutHint: true,
75 highlightSearchTermsOnTargetPage: true,
85 /** @type {import('@docusaurus/preset-classic').ThemeConfig} */
87 // Replace with your project's social card
88 image: 'img/logos/OAuth2_Proxy_horizontal.png',
90 title: 'OAuth2 Proxy',
93 src: 'img/logos/OAuth2_Proxy_icon.svg',
103 type: 'docsVersionDropdown',
105 dropdownActiveClassDisabled: true,
108 href: 'https://gophers.slack.com/messages/CM2RSS25N',
113 href: 'https://github.com/oauth2-proxy/oauth2-proxy',
121 copyright: `Copyright © ${new Date().getFullYear()} OAuth2 Proxy.`,
124 theme: prismThemes.github,
125 darkTheme: prismThemes.dracula,
126 additionalLanguages: ['hcl', 'powershell'],
131export default config;
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list