Skip to content

Commit 30c1001

Browse files
committed
docs: move content to another folder
1 parent 481cb1d commit 30c1001

File tree

211 files changed

+5
-12
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

211 files changed

+5
-12
lines changed

packages/docs/build/api.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ const docgen = require('react-docgen-typescript')
66
const fs = require('fs').promises
77
const path = require('path')
88
const globby = require('globby')
9-
const pkg = require('../package.json')
109

1110
const GLOB = ['**/src/**/*.tsx']
1211
const GLOBBY_OPTIONS = {
@@ -76,7 +75,7 @@ import ${name} from '@coreui${relativeFilename.replace('.tsx', '')}'
7675
}
7776

7877
await fs
79-
.writeFile(`content/${pkg.config.version_short}/api/${filename}.api.mdx`, content, {
78+
.writeFile(`content/api/${filename}.api.mdx`, content, {
8079
encoding: 'utf8',
8180
})
8281
.then(() => {

0 commit comments

Comments
 (0)