mirror of
https://github.com/strapi/strapi.git
synced 2025-11-08 22:32:02 +00:00
Add contributing guide and code of conduct in the contrbutor doc
This commit is contained in:
parent
ae6ff150e2
commit
19bb79b2c0
@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: Contributing
|
title: Contributing
|
||||||
hide_title: true
|
hide_title: true
|
||||||
sidebar_label: Contributing
|
|
||||||
---
|
---
|
||||||
|
|
||||||
```mdx-code-block
|
```mdx-code-block
|
||||||
|
|||||||
@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: Contributing
|
title: Code of conduct
|
||||||
hide_title: true
|
hide_title: true
|
||||||
sidebar_label: Contributing
|
|
||||||
---
|
---
|
||||||
|
|
||||||
```mdx-code-block
|
```mdx-code-block
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
// @ts-check
|
// @ts-check
|
||||||
// Note: type annotations allow type checking and IDEs autocompletion
|
// Note: type annotations allow type checking and IDEs autocompletion
|
||||||
|
const path = require('path');
|
||||||
const lightCodeTheme = require('prism-react-renderer/themes/github');
|
const lightCodeTheme = require('prism-react-renderer/themes/github');
|
||||||
const darkCodeTheme = require('prism-react-renderer/themes/dracula');
|
const darkCodeTheme = require('prism-react-renderer/themes/dracula');
|
||||||
|
|
||||||
@ -24,7 +24,21 @@ const config = {
|
|||||||
defaultLocale: 'en',
|
defaultLocale: 'en',
|
||||||
locales: ['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: [
|
presets: [
|
||||||
[
|
[
|
||||||
'classic',
|
'classic',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user