2024-06-30 03:37:56 +05:00
|
|
|
import type * as Preset from '@docusaurus/preset-classic';
|
|
|
|
|
import type { Config } from '@docusaurus/types';
|
|
|
|
|
import { themes as prismThemes } from 'prism-react-renderer';
|
|
|
|
|
|
|
|
|
|
const config: Config = {
|
2025-10-07 20:44:00 +03:00
|
|
|
title: 'Seerr',
|
2024-06-30 03:37:56 +05:00
|
|
|
tagline: 'One Stop Solution for all your media request needs',
|
|
|
|
|
favicon: 'img/favicon.ico',
|
|
|
|
|
|
2025-10-07 10:48:51 -06:00
|
|
|
url: 'https://docs.seerr.dev',
|
2024-06-30 03:37:56 +05:00
|
|
|
baseUrl: '/',
|
2024-06-30 03:53:13 +05:00
|
|
|
trailingSlash: false,
|
2024-06-30 03:37:56 +05:00
|
|
|
|
2025-10-07 20:44:00 +03:00
|
|
|
organizationName: 'seerr-team',
|
|
|
|
|
projectName: 'seerr',
|
2024-06-30 04:31:40 +05:00
|
|
|
deploymentBranch: 'gh-pages',
|
2024-06-30 03:37:56 +05:00
|
|
|
|
|
|
|
|
onBrokenLinks: 'throw',
|
2026-02-18 13:30:25 +01:00
|
|
|
|
|
|
|
|
markdown: {
|
|
|
|
|
hooks: {
|
|
|
|
|
onBrokenMarkdownLinks: 'warn',
|
|
|
|
|
},
|
|
|
|
|
},
|
2024-06-30 03:37:56 +05:00
|
|
|
|
|
|
|
|
i18n: {
|
|
|
|
|
defaultLocale: 'en',
|
|
|
|
|
locales: ['en'],
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
presets: [
|
|
|
|
|
[
|
|
|
|
|
'classic',
|
|
|
|
|
{
|
|
|
|
|
docs: {
|
|
|
|
|
sidebarPath: './sidebars.ts',
|
|
|
|
|
routeBasePath: '/',
|
|
|
|
|
path: '../docs',
|
2025-10-07 20:44:00 +03:00
|
|
|
editUrl: 'https://github.com/seerr-team/seerr/edit/develop/docs/',
|
2024-06-30 03:37:56 +05:00
|
|
|
},
|
|
|
|
|
pages: false,
|
|
|
|
|
theme: {
|
|
|
|
|
customCss: './src/css/custom.css',
|
|
|
|
|
},
|
|
|
|
|
} satisfies Preset.Options,
|
|
|
|
|
],
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
themes: [
|
|
|
|
|
[
|
|
|
|
|
'@easyops-cn/docusaurus-search-local',
|
|
|
|
|
/** @type {import("@easyops-cn/docusaurus-search-local").PluginOptions} */
|
|
|
|
|
{
|
|
|
|
|
hashed: true,
|
|
|
|
|
indexBlog: false,
|
|
|
|
|
docsDir: '../docs',
|
|
|
|
|
docsRouteBasePath: '/',
|
|
|
|
|
explicitSearchResultPath: true,
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
themeConfig: {
|
|
|
|
|
colorMode: {
|
|
|
|
|
defaultMode: 'dark',
|
|
|
|
|
disableSwitch: true,
|
|
|
|
|
respectPrefersColorScheme: false,
|
|
|
|
|
},
|
|
|
|
|
navbar: {
|
|
|
|
|
logo: {
|
2025-10-07 20:44:00 +03:00
|
|
|
alt: 'Seerr',
|
2026-02-11 13:50:28 +01:00
|
|
|
src: 'img/logo_full.svg',
|
2024-06-30 03:37:56 +05:00
|
|
|
},
|
|
|
|
|
items: [
|
2025-09-29 05:40:01 +05:00
|
|
|
{
|
|
|
|
|
to: 'blog',
|
|
|
|
|
label: 'Blog',
|
|
|
|
|
position: 'right',
|
|
|
|
|
},
|
2026-02-11 14:42:52 +01:00
|
|
|
{
|
|
|
|
|
href: 'https://discord.gg/seerr',
|
|
|
|
|
label: 'Discord',
|
|
|
|
|
position: 'right',
|
|
|
|
|
},
|
2024-06-30 03:37:56 +05:00
|
|
|
{
|
2025-10-07 20:44:00 +03:00
|
|
|
href: 'https://github.com/seerr-team/seerr',
|
2024-06-30 03:37:56 +05:00
|
|
|
label: 'GitHub',
|
|
|
|
|
position: 'right',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
footer: {
|
|
|
|
|
style: 'dark',
|
|
|
|
|
links: [
|
|
|
|
|
{
|
|
|
|
|
title: 'Docs',
|
|
|
|
|
items: [
|
|
|
|
|
{
|
|
|
|
|
label: 'Documentation',
|
|
|
|
|
to: '/',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
2025-09-29 05:40:01 +05:00
|
|
|
{
|
|
|
|
|
title: 'Project',
|
|
|
|
|
items: [
|
|
|
|
|
{
|
|
|
|
|
label: 'Blog',
|
|
|
|
|
to: '/blog',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: 'GitHub',
|
2025-10-07 20:44:00 +03:00
|
|
|
href: 'https://github.com/seerr-team/seerr',
|
2025-09-29 05:40:01 +05:00
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
2024-06-30 03:37:56 +05:00
|
|
|
{
|
|
|
|
|
title: 'Community',
|
|
|
|
|
items: [
|
|
|
|
|
{
|
|
|
|
|
label: 'Discord',
|
2025-10-06 12:32:38 -07:00
|
|
|
href: 'https://discord.gg/seerr',
|
2024-06-30 03:37:56 +05:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: 'Github Discussions',
|
2025-10-07 20:44:00 +03:00
|
|
|
href: 'https://github.com/seerr-team/seerr/discussions',
|
2024-06-30 03:37:56 +05:00
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
],
|
2025-10-07 20:44:00 +03:00
|
|
|
copyright: `Copyright © ${new Date().getFullYear()} Seerr. Built with Docusaurus.`,
|
2024-06-30 03:37:56 +05:00
|
|
|
},
|
|
|
|
|
prism: {
|
|
|
|
|
theme: prismThemes.shadesOfPurple,
|
|
|
|
|
darkTheme: prismThemes.shadesOfPurple,
|
2026-03-16 16:17:38 +01:00
|
|
|
additionalLanguages: [
|
|
|
|
|
'bash',
|
|
|
|
|
'powershell',
|
|
|
|
|
'yaml',
|
|
|
|
|
'nix',
|
|
|
|
|
'nginx',
|
|
|
|
|
'batch',
|
|
|
|
|
],
|
2024-06-30 03:37:56 +05:00
|
|
|
},
|
|
|
|
|
} satisfies Preset.ThemeConfig,
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default config;
|