mirror of
				https://github.com/strapi/strapi.git
				synced 2025-11-04 11:54:10 +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
 | 
			
		||||
hide_title: true
 | 
			
		||||
sidebar_label: Contributing
 | 
			
		||||
---
 | 
			
		||||
 | 
			
		||||
```mdx-code-block
 | 
			
		||||
 | 
			
		||||
@ -1,7 +1,6 @@
 | 
			
		||||
---
 | 
			
		||||
title: Contributing
 | 
			
		||||
title: Code of conduct
 | 
			
		||||
hide_title: true
 | 
			
		||||
sidebar_label: Contributing
 | 
			
		||||
---
 | 
			
		||||
 | 
			
		||||
```mdx-code-block
 | 
			
		||||
 | 
			
		||||
@ -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',
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user