FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
patternfly/patternfly-docs/patternfly-docs.source.js at main · dlabaj/patternfly · GitHub
dlabaj
/
patternfly
Public
forked from
patternfly/patternfly
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
patternfly
/
patternfly-docs
/
patternfly-docs.source.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
26 lines (21 loc) · 1.11 KB
Breadcrumbs
patternfly
/
patternfly-docs
/
patternfly-docs.source.js
Copy path
File metadata and controls
26 lines (21 loc) · 1.11 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
const
path
=
require
(
'path'
)
;
module
.
exports
=
sourceMD
=>
{
// Theme pages
const
themePagesPath
=
require
.
resolve
(
'@patternfly/documentation-framework/package.json'
)
.
replace
(
'package.json'
,
'pages'
)
;
sourceMD
(
path
.
join
(
themePagesPath
,
'*.md'
)
,
'pages-overview'
)
;
// Core pages
sourceMD
(
path
.
join
(
__dirname
,
'./site/pages/*.md'
)
,
'pages-html'
)
;
// Core MD
const
coreDocsPath
=
path
.
join
(
__dirname
,
'../dist/docs'
)
;
const
componentsMdFiles
=
path
.
join
(
coreDocsPath
,
'components/**/examples/**/*.md'
)
;
const
deprecatedComponentsMdFiles
=
path
.
join
(
coreDocsPath
,
'components/**/deprecated/**/*.md'
)
;
const
pagesMdFiles
=
path
.
join
(
coreDocsPath
,
'pages/**/examples/**/*.md'
)
;
const
layoutsMdFiles
=
path
.
join
(
coreDocsPath
,
'layouts/**/examples/**/*.md'
)
;
const
utilitiesMdFiles
=
path
.
join
(
coreDocsPath
,
'utilities/**/examples/**/*.md'
)
;
sourceMD
(
componentsMdFiles
,
'html'
)
;
sourceMD
(
pagesMdFiles
,
'html'
)
;
sourceMD
(
layoutsMdFiles
,
'html'
)
;
sourceMD
(
utilitiesMdFiles
,
'html'
)
;
sourceMD
(
deprecatedComponentsMdFiles
,
'html-deprecated'
)
;
sourceMD
(
path
.
join
(
coreDocsPath
,
'demos/**/*.md'
)
,
'html-demos'
)
;
}
;
Back
|
FazBrowse Home
|
New Git URL