Skip to content

Commit

Permalink
Add docs for sonarr anime logo
Browse files Browse the repository at this point in the history
Use addon example template instead.
  • Loading branch information
GilbN committed Feb 25, 2024
1 parent eb28e24 commit 61c4669
Show file tree
Hide file tree
Showing 45 changed files with 294 additions and 1,225 deletions.
82 changes: 0 additions & 82 deletions docs/themes/addons/bazarr/4k-logo/index.md

This file was deleted.

12 changes: 12 additions & 0 deletions docs/themes/addons/bazarr/bazarr-4k-logo/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Bazarr 4K logo

Adds a 4K logo to your Bazarr css.

<div class="row">
<p><a href="desktop.png" rel="noopener"><img src="desktop.png" alt="Screen Shot 1" width="49.5%" /></a>
<a href="mobile.png" rel="noopener"><img src="mobile.png" alt="Screen Shot 1" width="24%" /></a></p>
</div>

{% set addon_app = "bazarr" %}
{% set addon_name = "bazarr-4k-logo" %}
{% include-markdown "themes/addons/example.md" %}
70 changes: 3 additions & 67 deletions docs/themes/addons/bazarr/bazarr-darker/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,70 +6,6 @@ A darker theme for Bazarr that uses the same accents and colors as the default t
<a href="screenshot1.png" rel="noopener"><img src="screenshot1.png" alt="Screen Shot 1" /></a>
</p>

## Setup

### Docker mod

`-e TP_ADDON=bazarr-darker`

If adding multiple mods, enter them in an array separated by `|`. `-e TP_ADDON=addon1|addon2`

### Nginx

Examples of how to add it:

```nginx
proxy_set_header Accept-Encoding "";
sub_filter
'</head>'
'<link rel="stylesheet" type="text/css" href="https://theme-park.dev/css/base/bazarr/bazarr-base.css">
<link rel="stylesheet" type="text/css" href="https://theme-park.dev/css/addons/bazarr/bazarr-darker/bazarr-darker.css">
</head>';
sub_filter_once on;
```

### Apache

```nginx
AddOutputFilterByType SUBSTITUTE text/html
Substitute 's|</head> '<link rel="stylesheet" type="text/css" href="https://theme-park.dev/css/base/bazarr/bazarr-base.css"><link rel="stylesheet" type="text/css" href="https://theme-park.dev/css/addons/bazarr/bazarr-darker/bazarr-darker.css">
</head>';|'
```

### Caddy

```nginx
filter rule {
content_type text/html.*
search_pattern </head>
replacement "<link rel='stylesheet' type='text/css' href='https://theme-park.dev/css/base/bazarr/bazarr-base.css'><link rel='stylesheet' type='text/css' href='https://theme-park.dev/css/addons/bazarr/bazarr-darker/bazarr-darker.css'></head>"
}
```

### Stylus

Just add another import line.

```css
@import "https://theme-park.dev/css/base/bazarr/bazarr-base.css";
@import "https://theme-park.dev/css/addons/bazarr/bazarr-darker/bazarr-darker.css";
```

### Traefik

>
!!! warning
Added in traefik-themepark version `v1.2.0`

Use <a href="/setup/#traefik" rel="noopener">traefik-themepark middleware</a>.

```yaml
middlewares:
bazarr-darker:
plugin:
themepark:
app: bazarr
theme: base
addons:
- darker
```
{% set addon_app = "bazarr" %}
{% set addon_name = "bazarr-darker" %}
{% include-markdown "themes/addons/example.md" %}
Original file line number Diff line number Diff line change
@@ -1,17 +1,8 @@
# Readarr Alternative Logo

Adds a audiobook logo to your Readarr css.

<p>
<a href="desktop.png" rel="noopener"><img src="desktop.png" alt="Screen Shot 1" width="50%" /></a>
<a href="mobile.png" rel="noopener"><img src="mobile.png" alt="Screen Shot 1" width="50%" /></a>
</p>

## Setup

### Docker mod

`-e TP_ADDON=readarr-alt-logo`
`-e TP_ADDON={{ addon_name }}`

If adding multiple mods, enter them in an array separated by `|`. `-e TP_ADDON=addon1|addon2`

Expand All @@ -23,8 +14,8 @@ Examples of how to add it:
proxy_set_header Accept-Encoding "";
sub_filter
'</head>'
'<link rel="stylesheet" type="text/css" href="https://theme-park.dev/css/base/readarr/THEME.css">
<link rel="stylesheet" type="text/css" href="https://theme-park.dev/css/addons/readarr/readarr-alt-logo/readarr-alt-logo.css">
'<link rel="stylesheet" type="text/css" href="https://theme-park.dev/css/base/{{ addon_app }}/THEME.css">
<link rel="stylesheet" type="text/css" href="https://theme-park.dev/css/addons/{{ addon_app }}/{{ addon_name }}/{{ addon_name }}.css">
</head>';
sub_filter_once on;
```
Expand All @@ -33,7 +24,7 @@ sub_filter_once on;

```nginx
AddOutputFilterByType SUBSTITUTE text/html
Substitute 's|</head> '<link rel="stylesheet" type="text/css" href="https://theme-park.dev/css/base/readarr/THEME.css"><link rel="stylesheet" type="text/css" href="https://theme-park.dev/css/addons/readarr/readarr-alt-logo/readarr-alt-logo.css">
Substitute 's|</head> '<link rel="stylesheet" type="text/css" href="https://theme-park.dev/css/base/{{ addon_app }}/THEME.css"><link rel="stylesheet" type="text/css" href="https://theme-park.dev/css/addons/{{ addon_app }}/{{ addon_name }}/{{ addon_name }}.css">
</head>';|'
```

Expand All @@ -43,7 +34,7 @@ AddOutputFilterByType SUBSTITUTE text/html
filter rule {
content_type text/html.*
search_pattern </head>
replacement "<link rel='stylesheet' type='text/css' href='https://theme-park.dev/css/base/<APP_NAME>/<THEME>.css'><link rel='stylesheet' type='text/css' href='https://theme-park.dev/css/addons/readarr/readarr-alt-logo/readarr-alt-logo.css'></head>"
replacement "<link rel='stylesheet' type='text/css' href='https://theme-park.dev/css/base/<APP_NAME>/<THEME>.css'><link rel='stylesheet' type='text/css' href='https://theme-park.dev/css/addons/{{ addon_app }}/{{ addon_name }}/{{ addon_name }}.css'></head>"
}
```

Expand All @@ -52,8 +43,8 @@ filter rule {
Just add another import line.

```css
@import "https://theme-park.dev/css/base/readarr/THEME.css";
@import "https://theme-park.dev/css/addons/readarr/readarr-alt-logo/readarr-alt-logo.css";
@import "https://theme-park.dev/css/base/{{ addon_app }}/THEME.css";
@import "https://theme-park.dev/css/addons/{{ addon_app }}/{{ addon_name }}/{{ addon_name }}.css";
```

### Traefik
Expand All @@ -62,15 +53,15 @@ Just add another import line.
!!! warning
Added in traefik-themepark version `v1.2.0`

Use <a href="/setup/#traefik" rel="noopener">traefik-themepark middleware</a>.
Use <a href="/setup/#traefik" rel="noopener">traefik-themepark middleware</a>.

```yaml
middlewares:
readarr-alt-logo:
{{ addon_name }}:
plugin:
themepark:
app: readarr
app: {{ addon_app }}
theme: base
addons:
- alt-logo
- {{ addon_name }}
```
75 changes: 0 additions & 75 deletions docs/themes/addons/lidarr/alt-calendar/index.md

This file was deleted.

11 changes: 11 additions & 0 deletions docs/themes/addons/lidarr/lidarr-alt-calendar/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Lidarr Alt Calendar

Alternative calendar colors.

<p>
<a href="screenshot1.png" rel="noopener"><img src="screenshot1.png" alt="Screen Shot 1" /></a>
</p>

{% set addon_app = "lidarr" %}
{% set addon_name = "lidarr-alt-calendar" %}
{% include-markdown "themes/addons/example.md" %}
Loading

0 comments on commit 61c4669

Please sign in to comment.