@vantagecompute/docusaurus-theme 0.4.1 → 0.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vantagecompute/docusaurus-theme",
3
- "version": "0.4.1",
3
+ "version": "0.4.4",
4
4
  "description": "Shared Vantage Compute Docusaurus theme — design system, brand assets, and common theme overrides for all vantagecompute documentation sites.",
5
5
  "license": "MIT",
6
6
  "main": "lib/index.cjs",
@@ -1,5 +1,10 @@
1
1
  import React from 'react';
2
- import Logo from '@theme-original/Navbar/Logo';
2
+ // Must be @theme-init, NOT @theme-original. This component ships inside a
3
+ // theme package that sits in the theme stack, so @theme-original/Navbar/Logo
4
+ // resolves back to this same component -- React SSR then recurses without
5
+ // bound and exhausts the heap during static site generation. @theme-init is
6
+ // the alias for a theme wrapping the implementation below it in the stack.
7
+ import Logo from '@theme-init/Navbar/Logo';
3
8
  import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
4
9
 
5
10
  export default function LogoWrapper(props) {