File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
[version]/[section]/[page] Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -78,9 +78,9 @@ export const GET: APIRoute = async ({ params }) => {
7878}
7979
8080export async function getStaticPaths ( ) {
81- const paths : Array < {
81+ const paths : {
8282 params : { version : string ; section : string ; page : string ; tab : string }
83- } > = [ ]
83+ } [ ] = [ ]
8484
8585 for ( const contentEntry of content ) {
8686 if ( contentEntry . version ) {
Original file line number Diff line number Diff line change @@ -2,8 +2,7 @@ import type { APIRoute } from 'astro'
22
33export const prerender = false
44
5- export const GET : APIRoute = async ( ) => {
6- return new Response (
5+ export const GET : APIRoute = async ( ) => new Response (
76 JSON . stringify ( {
87 name : 'PatternFly Documentation API' ,
98 description : 'Machine-readable documentation API for LLM agents and MCP servers' ,
@@ -186,4 +185,3 @@ export const GET: APIRoute = async () => {
186185 } ,
187186 } ,
188187 )
189- }
You can’t perform that action at this time.
0 commit comments