From 2e8c1e572615604064eb156042160bbd9797cd90 Mon Sep 17 00:00:00 2001 From: matapatos Date: Wed, 20 Nov 2024 15:24:03 +0000 Subject: [PATCH] Deployed 7278be3 with MkDocs version: 1.6.0 --- .../plugins-as-dependencies/index.html | 36 +++++++++---------- search/search_index.json | 2 +- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/advanced-user-guide/plugins-as-dependencies/index.html b/advanced-user-guide/plugins-as-dependencies/index.html index d67b98d..1f01f07 100644 --- a/advanced-user-guide/plugins-as-dependencies/index.html +++ b/advanced-user-guide/plugins-as-dependencies/index.html @@ -929,26 +929,26 @@
  • - + - Endpoint dependencies config + Endpoint dependencies up-to-date
  • -
  • + + + +
  • + +
  • Useful constants -
  • - - - - @@ -1049,26 +1049,26 @@
  • - + - Endpoint dependencies config + Endpoint dependencies up-to-date
  • -
  • + + + +
  • + +
  • Useful constants -
  • - - - - @@ -1154,14 +1154,14 @@

    Router vs Endpoint dependencies

    For instance, if your endpoints reside inside a plugin with a slug my-plugin you have to set the dependencies to ['my-plugin'] otherwise when a request is received for that endpoint my-plugin will not be loaded.

    -

    Endpoint dependencies config

    +

    Endpoint dependencies up-to-date

    Under the hood, this plugin generates a config file with all the route dependencies (see example). To have the most up-to-date endpoint dependencies, make sure to either:

    -

    Useful constants

    +

    Useful constants