Add contributing guide and code of conduct in the contrbutor doc

This commit is contained in:
Alexandre Bodin 2022-11-08 10:51:53 +01:00
parent ae6ff150e2
commit 19bb79b2c0
3 changed files with 17 additions and 5 deletions

View File

@ -1,7 +1,6 @@
---
title: Contributing
hide_title: true
sidebar_label: Contributing
---
```mdx-code-block

View File

@ -1,7 +1,6 @@
---
title: Contributing
title: Code of conduct
hide_title: true
sidebar_label: Contributing
---
```mdx-code-block

View File

@ -1,6 +1,6 @@
// @ts-check
// Note: type annotations allow type checking and IDEs autocompletion
const path = require('path');
const lightCodeTheme = require('prism-react-renderer/themes/github');
const darkCodeTheme = require('prism-react-renderer/themes/dracula');
@ -24,7 +24,21 @@ const config = {
defaultLocale: 'en',
locales: ['en'],
},
plugins: [],
plugins: [
() => ({
name: 'resolve-react',
configureWebpack() {
return {
resolve: {
alias: {
// assuming root node_modules is up from "./packages/<your-docusaurus>
react: path.resolve('../node_modules/react'),
},
},
};
},
}),
],
presets: [
[
'classic',