mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-20 20:46:58 +02:00
feat(v2): bootstrap bootstrap (heh) theme, preset, template (#2557)
* 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>
This commit is contained in:
parent
8d384b0d10
commit
434da1d7ea
19 changed files with 729 additions and 1 deletions
13
packages/docusaurus-preset-bootstrap/src/index.js
Normal file
13
packages/docusaurus-preset-bootstrap/src/index.js
Normal file
|
@ -0,0 +1,13 @@
|
|||
/**
|
||||
* 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.
|
||||
*/
|
||||
|
||||
module.exports = function preset(context, opts = {}) {
|
||||
return {
|
||||
themes: [['@docusaurus/theme-bootstrap', opts.theme]],
|
||||
plugins: [['@docusaurus/plugin-content-pages', opts.pages]],
|
||||
};
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue