File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3838 - name : Build static export
3939 working-directory : website
4040 env :
41- # Project Pages site is served under /<repo>/.
42- NEXT_PUBLIC_BASE_PATH : /repolens
41+ # Project Pages site is served under /<repo>/ — and the path is
42+ # CASE-SENSITIVE, so this must match the canonical repo name exactly.
43+ NEXT_PUBLIC_BASE_PATH : /RepoLens
4344 run : npm run build
4445 - name : Disable Jekyll (serve _next/ as-is)
4546 run : touch website/out/.nojekyll
Original file line number Diff line number Diff line change @@ -20,5 +20,5 @@ export const baseOptions: BaseLayoutProps = {
2020 url : '/changelog' ,
2121 } ,
2222 ] ,
23- githubUrl : 'https://github.com/New1Direction/repolens ' ,
23+ githubUrl : 'https://github.com/New1Direction/RepoLens ' ,
2424} ;
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import './global.css';
88const basePath = process . env . NEXT_PUBLIC_BASE_PATH ?? '' ;
99
1010export const metadata : Metadata = {
11- metadataBase : new URL ( 'https://new1direction.github.io/repolens /' ) ,
11+ metadataBase : new URL ( 'https://new1direction.github.io/RepoLens /' ) ,
1212 title : {
1313 default : 'RepoLens — read code before you trust it' ,
1414 template : '%s · RepoLens' ,
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import Link from 'next/link';
22import { Vee } from './Vee' ;
33import { ThemeToggle } from './ThemeToggle' ;
44
5- export const GITHUB_URL = 'https://github.com/New1Direction/repolens ' ;
5+ export const GITHUB_URL = 'https://github.com/New1Direction/RepoLens ' ;
66
77export function SiteHeader ( ) {
88 return (
Original file line number Diff line number Diff line change @@ -3,7 +3,8 @@ import { createMDX } from 'fumadocs-mdx/next';
33const withMDX = createMDX ( ) ;
44
55// On GitHub Pages a project site is served under /<repo>/, so CI sets
6- // NEXT_PUBLIC_BASE_PATH=/repolens. Locally it's unset (served at root).
6+ // NEXT_PUBLIC_BASE_PATH=/RepoLens (case-sensitive — must match the repo name).
7+ // Locally it's unset (served at root).
78const basePath = process . env . NEXT_PUBLIC_BASE_PATH || undefined ;
89
910/** @type {import('next').NextConfig } */
You can’t perform that action at this time.
0 commit comments