Attempt for project to document itself, and moving to live version of nextreg.txt

This commit is contained in:
2025-10-08 12:30:15 +01:00
parent a85d323487
commit 187d152b34
2 changed files with 2 additions and 2 deletions

View File

@@ -160,7 +160,7 @@ function processRegisterBlock(paragraph: string, registers: Register[]) {
}
export default async function RegisterDetailPage({ params }: { params: { hex: string } }) {
const filePath = path.join(process.cwd(), 'data', 'nextreg_records.txt');
const filePath = path.join(process.cwd(), 'data', 'nextreg.txt');
const fileContent = await fs.readFile(filePath, 'utf8');
const registers = await parseNextReg(fileContent);

View File

@@ -166,7 +166,7 @@ function processRegisterBlock(paragraph: string, registers: Register[]) {
export default async function RegistersPage() {
const filePath = path.join(process.cwd(), 'data', 'nextreg_records.txt');
const filePath = path.join(process.cwd(), 'data', 'nextreg.txt');
const fileContent = await fs.readFile(filePath, 'utf8');
const registers = await parseNextReg(fileContent);