feat(docs): migrate documentation site into monorepo (#5912)
This commit is contained in:
1 parent
3e464a76f2
commit
9e421c67bd
605 files changed
+26764
-219
No files matched your search
Binary file not shown.
|
After Width: | Height: | Size: 107 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 54 KiB |
@@ -0,0 +1,49 @@
|
||||
---
|
||||
title: 'Media releases'
|
||||
description: 'Display newly added medias or upcoming releases from different integrations'
|
||||
hide_title: true
|
||||
---
|
||||
|
||||
import { WidgetHeader } from '@site/src/components/widgets/header';
|
||||
import { AddingWidget } from '@site/src/components/widgets/adding';
|
||||
import { WidgetConfig } from '@site/src/components/widgets/configuration';
|
||||
import { WidgetIntegrations } from '@site/src/components/widgets/integrations';
|
||||
import { mediaReleasesWidget } from '.';
|
||||
import { embyIntegration } from '@site/docs/integrations/emby';
|
||||
import { jellyfinIntegration } from '@site/docs/integrations/jellyfin';
|
||||
import { plexIntegration } from '@site/docs/integrations/plex';
|
||||
|
||||
|
||||
<WidgetHeader
|
||||
widget={mediaReleasesWidget}
|
||||
categories={['Releases', 'Media']}
|
||||
/>
|
||||
|
||||
Provides a list of newly added media or upcoming releases from your media server.
|
||||
|
||||
### Screenshots
|
||||
|
||||
import backdrop from './img/backdrop.png';
|
||||
import poster from './img/poster.png';
|
||||
|
||||
<div className="flex gap-1">
|
||||
<img src={backdrop} alt="media-releases layout-backdrop" width={256} />
|
||||
<img src={poster} alt="media-releases layout-poster" width={256} />
|
||||
</div>
|
||||
|
||||
### Supported Integrations
|
||||
|
||||
<WidgetIntegrations items={[{
|
||||
integration: embyIntegration,
|
||||
}, {
|
||||
integration: jellyfinIntegration,
|
||||
}, {
|
||||
integration: plexIntegration,
|
||||
}]} />
|
||||
|
||||
### Adding the widget
|
||||
|
||||
<AddingWidget />
|
||||
|
||||
### Configuration
|
||||
<WidgetConfig configuration={mediaReleasesWidget.configuration} />
|
||||
@@ -0,0 +1,46 @@
|
||||
import { WidgetDefinition } from "@site/src/types";
|
||||
import { IconTicket } from "@tabler/icons-react";
|
||||
|
||||
export const mediaReleasesWidget: WidgetDefinition = {
|
||||
icon: IconTicket,
|
||||
name: "Media releases",
|
||||
description: "Display newly added medias or upcoming releases from different integrations",
|
||||
path: "../../widgets/media-releases",
|
||||
configuration: {
|
||||
items: [
|
||||
{
|
||||
name: "Layout",
|
||||
description: "How the image should be displayed",
|
||||
values: {
|
||||
type: "select",
|
||||
options: ["Backdrop", "Poster"],
|
||||
},
|
||||
defaultValue: "Backdrop",
|
||||
},
|
||||
{
|
||||
name: "Show description tooltip",
|
||||
description: "Show a tooltip with the description of the media when hovering over the media item",
|
||||
values: {
|
||||
type: "boolean",
|
||||
},
|
||||
defaultValue: "true",
|
||||
},
|
||||
{
|
||||
name: "Show media type badge",
|
||||
description: "Show a badge indicating the type of media (e.g., movie, series)",
|
||||
values: {
|
||||
type: "boolean",
|
||||
},
|
||||
defaultValue: "true",
|
||||
},
|
||||
{
|
||||
name: "Show source integration",
|
||||
description: "Show avatar of the source integration",
|
||||
values: {
|
||||
type: "boolean",
|
||||
},
|
||||
defaultValue: "true",
|
||||
},
|
||||
],
|
||||
},
|
||||
};
|
||||
Reference in new issue
Block a user