feat: add research submodule and page
This commit is contained in:
parent
4a39e535a3
commit
3af3260500
12 changed files with 68 additions and 48 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue