Skip to content

Commit 37c9ca5

Browse files
committed
Add navs
1 parent e619ab0 commit 37c9ca5

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

src/navs/documentation.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import { createPageList } from '@/utils/createPageList'
2+
3+
const pages = createPageList(
4+
require.context(`../pages/docs/?meta=title,shortTitle,published`, false, /\.mdx$/),
5+
'docs'
6+
)
7+
8+
export const documentationNav = {
9+
'Getting started': [
10+
pages['installation'],
11+
],
12+
}

src/navs/program.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import { createPageList } from '@/utils/createPageList'
2+
3+
const pages = createPageList(
4+
require.context(`../pages/programs/?meta=title,shortTitle,published`, false, /\.mdx$/),
5+
'programs'
6+
)
7+
8+
export const programsNav = {
9+
'Getting started': [
10+
pages['introduction'],
11+
],
12+
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy