forked from ant-design/ant-design
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: site build script update (ant-design#32984)
* chore: rm color-less * refactor: MV theme to variable * docs: fix header * chore: clean up * chore: enable esbuild
- Loading branch information
Showing
23 changed files
with
77 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/** | ||
* ZombieJ: This file is used for generate site theme css only. Which only provides dark.css and | ||
* compact.css for theme switcher. | ||
*/ | ||
const config = require('./index'); | ||
|
||
const homeTmpl = './template/Home/index'; | ||
|
||
const cloneConfig = { | ||
...config, | ||
}; | ||
|
||
cloneConfig.routes = { | ||
path: '/', | ||
component: './template/Layout/index', | ||
indexRoute: { component: homeTmpl }, | ||
}; | ||
|
||
module.exports = cloneConfig; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,27 @@ | ||
@import '../../../components/style/themes/index.less'; | ||
|
||
@import './reset.less'; | ||
@import '../../../components/style/themes/variable.less'; | ||
@import './common'; | ||
@import './header'; | ||
@import './footer'; | ||
@import './home'; | ||
@import './page-nav'; | ||
@import './markdown'; | ||
@import './design-doc'; | ||
@import './preview-img'; | ||
@import './toc'; | ||
@import './not-found'; | ||
@import './highlight'; | ||
@import './demo'; | ||
@import './colors'; | ||
@import './icons'; | ||
@import './icon-pic-searcher'; | ||
@import './mock-browser'; | ||
@import './motion'; | ||
@import './responsive'; | ||
@import './theme'; | ||
@import './docsearch'; | ||
@import './nprogress'; | ||
@import './contributors'; | ||
@import './common.less'; | ||
@import './header.less'; | ||
@import './footer.less'; | ||
@import './home.less'; | ||
@import './page-nav.less'; | ||
@import './markdown.less'; | ||
@import './design-doc.less'; | ||
@import './preview-img.less'; | ||
@import './toc.less'; | ||
@import './not-found.less'; | ||
@import './highlight.less'; | ||
@import './demo.less'; | ||
@import './colors.less'; | ||
@import './icons.less'; | ||
@import './icon-pic-searcher.less'; | ||
@import './mock-browser.less'; | ||
@import './motion.less'; | ||
@import './responsive.less'; | ||
@import './theme.less'; | ||
@import './docsearch.less'; | ||
@import './nprogress.less'; | ||
@import './contributors.less'; | ||
@import './dark.less'; | ||
@import './rtl.less'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters