feat: add research submodule and page

This commit is contained in:
ryanchristo 2024-08-31 11:31:50 -07:00
parent 4a39e535a3
commit 3af3260500
12 changed files with 68 additions and 48 deletions

View file

@ -8,14 +8,6 @@ export const getDocs = () => {
const fileNames = fs.readdirSync(docsDirectory)
return fileNames.map((fileName) => {
console.log("HERE", fileName)
if (!fileName || fileName.includes('README.md')) {
return {
id: 'readme',
data: {},
}
}
// set id and full path
const id = fileName.replace(/\.md$/, '')
const fullPath = path.join(docsDirectory, fileName)