File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed
Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,6 @@ We implement [m3 design system](https://m3.material.io/styles/color/system/overv
111111$ (
112112 trap ' kill -9 0' SIGINT
113113
114- export PORT=3000
115114 export _PORT=60141
116115
117116 export MDX=docs
126125 export MDX_BASEURL=http://localhost:$_PORT
127126 export SOURCECODE_BASEURL=" vscode://file$( pwd) "
128127 export EDIT_BASEURL=" vscode://file$( pwd) /docs"
129- export NEXT_PUBLIC_URL=http://localhost: $PORT
128+ export NEXT_PUBLIC_URL=
130129 export ICON=
131130 export LOGO=gutenberg.jpg
132131 export GITHUB=https://github.com/pmndrs/docs
Original file line number Diff line number Diff line change @@ -9,17 +9,14 @@ export async function GET() {
99
1010 const docs = await parseDocsMetadata ( MDX )
1111
12- const baseUrl = NEXT_PUBLIC_URL || ''
13-
1412 // Generate llms.txt content following standard format
1513 const content = `# ${ NEXT_PUBLIC_LIBNAME }
1614
1715## Documentation
1816
1917${ docs
2018 . map ( ( doc ) => {
21- const url = baseUrl ? `${ baseUrl } ${ doc . url } ` : doc . url
22- return `- [${ doc . title } ](${ url } )${ doc . description ? `: ${ doc . description } ` : '' } `
19+ return `- [${ doc . title } ](${ doc . url } )${ doc . description ? `: ${ doc . description } ` : '' } `
2320 } )
2421 . join ( '\n' ) }
2522
@@ -41,7 +38,7 @@ Configure in your MCP client:
4138
4239---
4340
44- For full documentation content, see ${ baseUrl } / llms-full.txt
41+ For full documentation content, see llms-full.txt
4542`
4643
4744 return new Response ( content , {
You can’t perform that action at this time.
0 commit comments