@aravindc26/velu 0.13.3 → 0.13.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": "@aravindc26/velu",
3
- "version": "0.13.3",
3
+ "version": "0.13.4",
4
4
  "description": "A modern documentation site generator powered by Markdown and JSON configuration",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -1,3 +1,5 @@
1
+ export const dynamic = 'force-dynamic';
2
+
1
3
  import { createElement, type ReactNode } from 'react';
2
4
  import { loadSessionConfigSource } from '@/lib/preview-config';
3
5
  import {
@@ -23,6 +23,9 @@ import { OpenApiTocSync } from '@/components/openapi-toc-sync';
23
23
  import { TocExamples } from '@/components/toc-examples';
24
24
  import { VeluIcon } from '@/components/icon';
25
25
 
26
+ // Disable Next.js route caching — content changes on every sync
27
+ export const dynamic = 'force-dynamic';
28
+
26
29
  interface PageProps {
27
30
  params: Promise<{ sessionId: string; slug: string[] }>;
28
31
  }
@@ -1,3 +1,5 @@
1
+ export const dynamic = 'force-dynamic';
2
+
1
3
  import { redirect } from 'next/navigation';
2
4
  import { getSessionPageTree } from '@/lib/preview-source';
3
5