Add OPDS setup and usage documentation (#1274)

This commit is contained in:
Aditya Chandel
2025-10-05 14:08:37 -06:00
committed by GitHub
parent fd0e5de66c
commit b591fa95ae
3 changed files with 15 additions and 0 deletions

View File

@@ -3,6 +3,12 @@
<h2 class="settings-title">
<i class="pi pi-server"></i>
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>
<p class="settings-description">
Manage your OPDS credentials and control how your book collection is shared with reading apps.

View File

@@ -34,6 +34,11 @@
color: var(--p-primary-color);
font-size: 1.25rem;
}
.external-link-icon {
color: #0ea5e9 !important;
font-size: 0.875rem !important;
}
}
.settings-description {

View File

@@ -203,6 +203,10 @@ export class OpdsSettingsV2 implements OnInit, OnDestroy {
this.messageService.add({severity, summary, detail});
}
navigateToOpdsDoc(): void {
window.open('https://booklore-app.github.io/booklore-docs/docs/integration/opds', '_blank');
}
ngOnDestroy(): void {
this.destroy$.next();
this.destroy$.complete();