Add OPDS setup and usage documentation (#1274)
This commit is contained in:
@@ -3,6 +3,12 @@
|
|||||||
<h2 class="settings-title">
|
<h2 class="settings-title">
|
||||||
<i class="pi pi-server"></i>
|
<i class="pi pi-server"></i>
|
||||||
OPDS Settings (New)
|
OPDS Settings (New)
|
||||||
|
<i class="pi pi-external-link external-link-icon"
|
||||||
|
pTooltip="Click to view OPDS setup documentation"
|
||||||
|
tooltipPosition="right"
|
||||||
|
(click)="navigateToOpdsDoc()"
|
||||||
|
style="cursor: pointer;">
|
||||||
|
</i>
|
||||||
</h2>
|
</h2>
|
||||||
<p class="settings-description">
|
<p class="settings-description">
|
||||||
Manage your OPDS credentials and control how your book collection is shared with reading apps.
|
Manage your OPDS credentials and control how your book collection is shared with reading apps.
|
||||||
|
|||||||
@@ -34,6 +34,11 @@
|
|||||||
color: var(--p-primary-color);
|
color: var(--p-primary-color);
|
||||||
font-size: 1.25rem;
|
font-size: 1.25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.external-link-icon {
|
||||||
|
color: #0ea5e9 !important;
|
||||||
|
font-size: 0.875rem !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.settings-description {
|
.settings-description {
|
||||||
|
|||||||
@@ -203,6 +203,10 @@ export class OpdsSettingsV2 implements OnInit, OnDestroy {
|
|||||||
this.messageService.add({severity, summary, detail});
|
this.messageService.add({severity, summary, detail});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
navigateToOpdsDoc(): void {
|
||||||
|
window.open('https://booklore-app.github.io/booklore-docs/docs/integration/opds', '_blank');
|
||||||
|
}
|
||||||
|
|
||||||
ngOnDestroy(): void {
|
ngOnDestroy(): void {
|
||||||
this.destroy$.next();
|
this.destroy$.next();
|
||||||
this.destroy$.complete();
|
this.destroy$.complete();
|
||||||
|
|||||||
Reference in New Issue
Block a user