From b974f91987486b8ba081218642076071b5da5f93 Mon Sep 17 00:00:00 2001 From: Martin Rotter Date: Thu, 18 Apr 2024 09:18:32 +0200 Subject: [PATCH] update docs --- docs/source/conf.py | 1 + docs/source/features/gui-concepts.md | 13 ++++++++++++- docs/source/requirements.txt | 2 ++ src/librssguard/miscellaneous/textfactory.cpp | 2 +- 4 files changed, 16 insertions(+), 2 deletions(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index ce46577cd..8e611bc5d 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -12,6 +12,7 @@ author = 'Martin Rotter' extensions = [ 'myst_parser', + 'sphinx_copybutton', 'sphinxcontrib.mermaid', 'sphinx.ext.extlinks'] templates_path = ['_templates'] diff --git a/docs/source/features/gui-concepts.md b/docs/source/features/gui-concepts.md index 79a015bd5..712cdc995 100644 --- a/docs/source/features/gui-concepts.md +++ b/docs/source/features/gui-concepts.md @@ -23,4 +23,15 @@ You can also switch to more advanced dialog for adding individual feeds. alt-img -In 99% of cases, you only need to insert feed URL into `Source` field and then hit `Fetch it now` button which will download feed metadata and fill all other boxes. \ No newline at end of file +In 99% of cases, you only need to insert feed URL into `Source` field and then hit `Fetch it now` button which will download feed metadata and fill all other boxes. + +```{note} +Some feeds are only accessible when user is logged-in the website which provides the feed. + +RSS Guard has two features to aid with login-protected feeds: +1. Network-based authentication (rarely used) -> user can setup credentials on `Network` tab in feed details dialog. +2. Website-based authentication (often used) -> user has to login to the website via RSS Guard's embedded [web browser](browseradblock): + 1. In RSS Guard, open new web browser tab. + 2. Navigate to feed's website and login. + 3. RSS Guard will now remember login cookies and will automatically use them to authenticate when feed is fetching. +``` \ No newline at end of file diff --git a/docs/source/requirements.txt b/docs/source/requirements.txt index 34fd61667..efc2278d2 100644 --- a/docs/source/requirements.txt +++ b/docs/source/requirements.txt @@ -1,4 +1,6 @@ myst_parser linkify-it-py sphinxcontrib-mermaid +sphinx-favicon +sphinx-copybutton sphinx-rtd-theme \ No newline at end of file diff --git a/src/librssguard/miscellaneous/textfactory.cpp b/src/librssguard/miscellaneous/textfactory.cpp index 3dd57a6fc..7943fadcc 100644 --- a/src/librssguard/miscellaneous/textfactory.cpp +++ b/src/librssguard/miscellaneous/textfactory.cpp @@ -88,7 +88,7 @@ QDateTime TextFactory::parseDateTime(const QString& date_time, QString* used_dt_ } QDateTime dt; - const QLocale locale(QLocale::Language::C); + static QLocale locale(QLocale::Language::C); static QStringList date_patterns = dateTimePatterns(true); // QDateTime dt1 = locale.toDateTime("GMT", "t");