Skip to content
Discussion options

You must be logged in to vote

This is a current limitation of Docusaurus: each plugin is kind-of sandboxed:

  • docs route only "see" docs data
  • blog routes only "see" blog data

A solution to this problem would be to "enhance" the default plugins to register a part of their data as "global data". That data would become available everywhere through useGlobalData(), but it would also make that data load every time you browse any page, so you'd rather keep it as slim as possible.

In your case, if the goal is to render this data in a footer on all pages, then global data is appropriate because at least the data you put in there will be useful on all pages of your site (which is not always the case).

Here's a runnable example…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@SheezZarR
Comment options

@slorber
Comment options

slorber Jan 22, 2026
Collaborator

Answer selected by SheezZarR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants