feat: docs.immich.app (#21819)

Co-authored-by: Jason Rasmussen <jason@rasm.me>
This commit is contained in:
Zack Pollard 2025-09-25 15:54:34 +01:00 committed by GitHub
parent e7b57fc2f6
commit 37a3784d80
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
67 changed files with 297 additions and 3133 deletions

View file

@ -42,26 +42,19 @@ const config = {
],
presets: [
[
'docusaurus-preset-openapi',
/** @type {import('docusaurus-preset-openapi').Options} */
'classic',
/** @type {import('@docusaurus/preset-classic').Options} */
({
docs: {
showLastUpdateAuthor: true,
showLastUpdateTime: true,
routeBasePath: '/',
sidebarPath: require.resolve('./sidebars.js'),
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
editUrl: 'https://github.com/immich-app/immich/tree/main/docs/',
},
api: {
path: '../open-api/immich-openapi-specs.json',
routeBasePath: '/docs/api',
},
// blog: {
// showReadingTime: true,
// editUrl: "https://github.com/immich-app/immich/tree/main/docs/",
// },
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
@ -95,17 +88,17 @@ const config = {
position: 'right',
},
{
to: '/docs/overview/welcome',
to: '/overview/welcome',
position: 'right',
label: 'Docs',
},
{
to: '/roadmap',
href: 'https://immich.app/roadmap',
position: 'right',
label: 'Roadmap',
},
{
to: '/docs/api',
href: 'https://api.immich.app/',
position: 'right',
label: 'API',
},
@ -140,15 +133,15 @@ const config = {
items: [
{
label: 'Welcome',
to: '/docs/overview/welcome',
to: '/overview/welcome',
},
{
label: 'Installation',
to: '/docs/install/requirements',
to: '/install/requirements',
},
{
label: 'Contributing',
to: '/docs/overview/support-the-project',
to: '/overview/support-the-project',
},
{
label: 'Privacy Policy',
@ -161,15 +154,15 @@ const config = {
items: [
{
label: 'Roadmap',
to: '/roadmap',
href: 'https://immich.app/roadmap',
},
{
label: 'API',
to: '/docs/api',
href: 'https://api.immich.app/',
},
{
label: 'Cursed Knowledge',
to: '/cursed-knowledge',
href: 'https://immich.app/cursed-knowledge',
},
],
},