mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-30 05:52:50 +00:00
* feat(v2): Add bootstrap theme structure * chore(v2): run prettier * chore(v2): remove unused dependencies * feat(v2): add bootstrap preset * feat(v2): add bootstrap template * remove unnecessary stuff * -- Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
21 lines
475 B
JavaScript
21 lines
475 B
JavaScript
/**
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
const path = require('path');
|
|
|
|
module.exports = function () {
|
|
return {
|
|
name: 'docusaurus-theme-bootstrap',
|
|
getThemePath() {
|
|
return path.resolve(__dirname, './theme');
|
|
},
|
|
getClientModules() {
|
|
return ['bootstrap/dist/css/bootstrap.min.css'];
|
|
},
|
|
};
|
|
};
|