Skip to content

Commit

Permalink
Merge branch 'lex111/decouple-admonitions' of github.com:facebook/doc…
Browse files Browse the repository at this point in the history
…usaurus into lex111/decouple-admonitions
  • Loading branch information
lex111 committed Apr 22, 2020
2 parents fdfa0e1 + fb97765 commit 67d7685
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
7 changes: 7 additions & 0 deletions packages/docusaurus-plugin-content-blog/types.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/**
* 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.
*/

declare module 'remark-admonitions' {
type Options = any;

Expand Down
4 changes: 0 additions & 4 deletions packages/docusaurus-plugin-content-docs/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@ export default function pluginContentDocs(
]);
}

console.log(options);

const {siteDir, generatedFilesDir, baseUrl} = context;
const docsDir = path.resolve(siteDir, options.path);
const sourceToPermalink: SourceToPermalink = {};
Expand Down Expand Up @@ -137,8 +135,6 @@ export default function pluginContentDocs(
modules.push('remark-admonitions/styles/infima.css');
}

console.log(modules);

return modules;
},

Expand Down
7 changes: 7 additions & 0 deletions packages/docusaurus-plugin-content-docs/types.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/**
* 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.
*/

declare module 'remark-admonitions' {
type Options = any;

Expand Down

0 comments on commit 67d7685

Please sign in to comment.