mirror of
https://github.com/facebook/docusaurus.git
synced 2025-04-29 18:27:56 +02:00
* feat(v2): add minor adjustements and footer component * fix(v2): margin and spacing of footer * feat(v2): add navbar component * ádd collapse classname * feat(v2): add dependencies * feat(v2): remove unused code * feat(v2): remove unused links * feat(v2): add reactstrap components :| * feat(v2): add brand and other nav componnets * feat(v2): Add the layout tag * feat(v2): bootstrap start doc components * feat(v2: Add syntax highlight * Ádd Page components * feat(v2): Bootstrap MDX Componnets * fix(v2): Fix layout height * fix(v2): Fix spacings * feat:(v2): Add the layout in doc content * feat(v2): Start the pagination * feat(v2): Finish pagination * Fix margins in mobile * feat(v2): Add theme
17 lines
509 B
JavaScript
17 lines
509 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.
|
|
*/
|
|
|
|
module.exports = function preset(context, opts = {}) {
|
|
return {
|
|
themes: [['@docusaurus/theme-bootstrap', opts.theme]],
|
|
plugins: [
|
|
['@docusaurus/plugin-content-pages', opts.pages],
|
|
['@docusaurus/plugin-content-blog', opts.blog],
|
|
['@docusaurus/plugin-content-docs', opts.docs],
|
|
],
|
|
};
|
|
};
|