summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetra Mirelli <80395360+iNtEgraIR2021@users.noreply.github.com>2024-03-10 16:28:55 +0000
committerBenjamin Brahmer <info@b-brahmer.de>2024-04-01 10:51:56 +0200
commit8c36f1d8bff24e07eb773a5a5922e51f4350ca0d (patch)
tree39d6bdcf0c830c8fec16225d328fe0231e6c0c4e
parent9834529005db898eec2dac2be11a1cca87cd2cdf (diff)
Chore(docs): enable code highlighting and theme switcher
Signed-off-by: Petra Mirelli <80395360+iNtEgraIR2021@users.noreply.github.com> Co-authored-by: Sean Molenaar <SMillerDev@users.noreply.github.com> Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
-rw-r--r--docs/features/integration.md14
-rw-r--r--mkdocs.yml23
2 files changed, 30 insertions, 7 deletions
diff --git a/docs/features/integration.md b/docs/features/integration.md
index 2e3974e7b..319e151ce 100644
--- a/docs/features/integration.md
+++ b/docs/features/integration.md
@@ -13,18 +13,18 @@ Ex.
#### Chrome / Edge
1. Install [RSS Subscription Extension (by Google)](https://chrome.google.com/webstore/detail/rss-subscription-extensio/nlbjncdgjeocebhnmkbbbdekmmmcbfjd) extension
-2. Open the extension's options menu
-3. Click `Add..`
-4. In the *Description* field, enter a description for the RSS reader entry. 'NextCloud News' is a reasonable name.
-5. Enter `https://<NEXTCLOUD_BASE_PATH>/index.php/apps/news?subscribe_to=%s` replacing &lt;NEXTCLOUD_BASE_PATH&gt; with the base URL path to your NextCloud instance.
+1. Open the extension's options menu
+1. Click `Add..`
+1. In the *Description* field, enter a description for the RSS reader entry. 'NextCloud News' is a reasonable name.
+1. Enter `https://<NEXTCLOUD_BASE_PATH>/index.php/apps/news?subscribe_to=%s` replacing &lt;NEXTCLOUD_BASE_PATH&gt; with the base URL path to your NextCloud instance.
* Domain based example: <https://cloud.mydomain.com/index.php/apps/news?subscribe_to=%s>
* Domain+subpath based example: <https://cloud.mydomain.com/nextcloud/index.php/apps/news?subscribe_to=%s>
#### Firefox
1. Install Firefox Add-on Extension [Awesome RSS](https://addons.mozilla.org/en-US/firefox/addon/awesome-rss/)
-2. Open the `Preferences` for the extension
-3. In the 'Subscribe using' section, select the `NextCloud` radio button
-4. In the field link field, enter the base NextCloud URL.
+1. Open the `Preferences` for the extension
+1. In the 'Subscribe using' section, select the `NextCloud` radio button
+1. In the field link field, enter the base NextCloud URL.
* Domain based example: <https://cloud.mydomain.com/>
* Domain+subpath based example: <https://cloud.mydomain.com/nextcloud/>
diff --git a/mkdocs.yml b/mkdocs.yml
index 7b9c80753..02e0c7ece 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -28,6 +28,22 @@ theme:
logo: assets/logo.svg
favicon: assets/favicon.png
font: false
+ palette:
+ - media: "(prefers-color-scheme: light)"
+ scheme: default
+ accent: indigo
+ primary: indigo
+ toggle:
+ icon: material/toggle-switch-off-outline
+ name: Switch to dark mode
+ - media: "(prefers-color-scheme: dark)"
+ scheme: slate
+ primary: indigo
+ accent: indigo
+ toggle:
+ icon: material/toggle-switch
+ name: Switch to light mode
+
features:
- navigation.indexes
- navigation.tracking
@@ -37,6 +53,13 @@ theme:
markdown_extensions:
- admonition
+ - pymdownx.highlight:
+ anchor_linenums: true
+ line_spans: "code-line"
+ pygments_lang_class: true
+ - pymdownx.inlinehilite
+ - pymdownx.snippets
+ - pymdownx.superfences
# extra:
# version: