From 818d21ba57a6de52706839102d2e1a3e773de126 Mon Sep 17 00:00:00 2001 From: Philipp Date: Thu, 5 Jan 2023 02:38:54 +0100 Subject: [PATCH] [various] adapt README.md --- gravatar/README.md | 9 +++++---- libravatar/README.md | 13 +++++++------ mathjax/README.md | 13 +++++++------ openstreetmap/README.md | 13 +++++++------ piwik/README.md | 13 +++++++------ twitter/README.md | 11 ++++++----- 6 files changed, 39 insertions(+), 33 deletions(-) diff --git a/gravatar/README.md b/gravatar/README.md index 1a71a4d3..a1c25a2a 100644 --- a/gravatar/README.md +++ b/gravatar/README.md @@ -30,12 +30,13 @@ Gravatar lets users self-rate their images to be used at appropriate audiences. See more information at [Gravatar][1]. ## Alternative Configuration -Open the `config/local.config.php` file and add "gravatar" to the list of activated addons: +Open the `config/node.config.php` file and add "gravatar" to the list of activated addons: - 'system' => [ - ... - 'addon' => '...,gravatar' + 'addons' => [ ... + 'gravatar' => [ + admin => true, + ], ] You can add two configuration variables for the addon to the `config/gravatar.config.php` file: diff --git a/libravatar/README.md b/libravatar/README.md index fc06feab..4d5d4c30 100644 --- a/libravatar/README.md +++ b/libravatar/README.md @@ -23,13 +23,14 @@ If no avatar was found for an email Libravatar can create some pseudo-random gen See examples at [Libravatar][1]. ## Alternative Configuration -Open the `config/local.config.php` file and add "libravatar" to the list of activated addons: +Open the `config/node.config.php` file and add "libravatar" to the list of activated addons: - 'system' => [ - ... - 'addon' => '...,libravatar' - ... - ] + 'addons' => [ + ... + 'libravatar' => [ + admin => true, + ], + ] You can add one configuration variables for the addon to the `config/libravatar.config.php` file: diff --git a/mathjax/README.md b/mathjax/README.md index e907fadf..d67805e8 100644 --- a/mathjax/README.md +++ b/mathjax/README.md @@ -21,13 +21,14 @@ In case you want to use the CDN you can try the following URL as a quick start http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML In case you don't want or can use the admin panel of Friendica you can activate -the addon by adding _mathjax_ to the list in your `config/local.config.php` file +the addon by adding _mathjax_ to the list in your `config/node.config.php` file - 'system' => [ - ... - 'addon' => '...,mathjax' - ... - ] + 'addons' => [ + ... + 'mathjax' => [ + admin => true, + ], + ] and then providing the base URL after that in the `config/mathjax.config.php` file diff --git a/openstreetmap/README.md b/openstreetmap/README.md index 78c74800..782389f5 100644 --- a/openstreetmap/README.md +++ b/openstreetmap/README.md @@ -34,13 +34,14 @@ zoom level available. ## Alternative Configuration -Open the `config/local.config.php` file and add "openstreetmap" to the list of activated addons. +Open the `config/node.config.php` file and add "openstreetmap" to the list of activated addons. - 'system' => [ - ... - 'addon' => '...,openstreetmap' - ... - ] + 'addons' => [ + ... + 'openstreetmap' => [ + admin => true, + ], + ] You can set configuration variables for the addon in the `config/openstreetmap.config.php` file: diff --git a/piwik/README.md b/piwik/README.md index c336fc79..59cf5771 100644 --- a/piwik/README.md +++ b/piwik/README.md @@ -22,13 +22,14 @@ The easiest way to configure this addon is by activating the admin panels of you If you don't want to use the admin panel, you can configure the addon through the `config/local.config.php` file. -Open the `config/local.config.php` file and add "piwik" to the list of activated addons. +Open the `config/node.config.php` file and add "piwik" to the list of activated addons. - 'system' => [ - ... - 'addon' => '...,piwik' - ... - ] + 'addons' => [ + ... + 'piwik' => [ + admin => true, + ], + ] You can change 4 more configuration variables for the addon in the `config/piwik.config.php` file: diff --git a/twitter/README.md b/twitter/README.md index 2efdddca..7e0fabc5 100644 --- a/twitter/README.md +++ b/twitter/README.md @@ -18,11 +18,12 @@ After the registration please enter the values for "Consumer Key" and "Consumer Open the `config/local.config.php` file and add "twitter" to the list of activated addons: - 'system' => [ - ... - 'addon' => '...,twitter' - ... - ] + 'addons' => [ + ... + 'twitter' => [ + admin => true, + ], + ] Add your key pair to your `config/twitter.config.php` file.