summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Letan <lthms@soap.coffee>2020-03-21 16:48:51 +0100
committerThomas Letan <lthms@soap.coffee>2020-03-21 16:48:51 +0100
commit9329e9883a52eb95c0803a46560c396d149ef2c6 (patch)
treeffe839596b7ffc7f2f9f961a35c6cee01be053ed
parentcffd9644ad19ea19beff7a6661f2edb12c739e3b (diff)
Enjoy soupault’s plugin autodiscovery feature
-rw-r--r--site/cleopatra/Soupault.org11
1 files changed, 1 insertions, 10 deletions
diff --git a/site/cleopatra/Soupault.org b/site/cleopatra/Soupault.org
index e0d081f..5ad51d6 100644
--- a/site/cleopatra/Soupault.org
+++ b/site/cleopatra/Soupault.org
@@ -176,9 +176,6 @@ fix_org_urls(HTML.select(page, "a"), "href")
The configuration of this plugin, and the associated widget, is straightforward.
#+BEGIN_SRC toml :tangle soupault.conf :noweb tangle
-[plugins.fix-org-urls]
-file = "plugins/fix-org-urls.lua"
-
[widgets.fix-org-urls]
widget = "fix-org-urls"
#+END_SRC
@@ -258,9 +255,6 @@ The only important thing to notice is the use of the ~after~ field, to ensure
this plugin is run /after/ the plugin responsible for fixing Org documents URLs.
#+BEGIN_SRC toml :tangle soupault.conf :noweb tangle
-[plugins.urls-rewriting]
-file = "plugins/urls-rewriting.lua"
-
[widgets.urls-rewriting]
widget = "urls-rewriting"
prefix_url = "<<prefix>>"
@@ -310,12 +304,9 @@ end
#+END_SRC
#+BEGIN_SRC toml :tangle soupault.conf
-[plugins.external_links]
-file = "plugins/external-urls.lua"
-
[widgets.mark-external-urls]
after = "generate-history"
-widget = "external_links"
+widget = "external-urls"
#+END_SRC
** Generating Per-File Revisions Tables