Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🎸 feat: New documentation in form of docusaurus website #230

Merged
merged 21 commits into from
Jul 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
25 changes: 23 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ module.exports = {
ignorePatterns: [
'**/node_modules/**',
'**/dist/**',
'**/build/**',
'**/docs/**',
'**/.turbo/**',
'**/.docusaurus/**',
'**/coverage/**',
'packages/create-ima-app/examples/todos/assets/**',
],
Expand Down Expand Up @@ -84,6 +87,7 @@ module.exports = {
// Import plugin
{
files: [
'website/**',
'packages/cli/**',
'packages/devtools/**',
'packages/devtools-scripts/**',
Expand All @@ -93,14 +97,22 @@ module.exports = {
],
extends: ['plugin:import/recommended'],
rules: {
'import/no-unresolved': ['warn', { ignore: ['^@\\/'] }], // ignore @/* aliases
'import/no-unresolved': [
'warn',
{
ignore: [
'^@\\/', // ignore @/* aliases
'@(docusaurus|theme)',
],
},
],
'import/order': [
'error',
{
groups: ['builtin', 'external', 'internal'],
pathGroups: [
{
pattern: '{preact|react|svelte}{/**,**}',
pattern: '{preact|react|svelte|docusaurus|theme}{/**,**}',
group: 'external',
position: 'before',
},
Expand Down Expand Up @@ -152,9 +164,18 @@ module.exports = {
],
},
},
// Website/docs overrides
{
files: ['website/**'],
rules: {
'react/react-in-jsx-scope': 'error',
'react/jsx-uses-react': 'error',
},
},
// Other overrides
{
files: [
'website/scripts/**',
'packages/cli/**',
'packages/dev-utils/**',
'packages/create-ima-app/**',
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ lerna-debug.log
jsconfig.json
ima-app
storage
docs/api
3 changes: 0 additions & 3 deletions docs/.gitignore

This file was deleted.

1 change: 0 additions & 1 deletion docs/CNAME

This file was deleted.

18 changes: 0 additions & 18 deletions docs/_config.yml

This file was deleted.

1 change: 0 additions & 1 deletion docs/_data/common.json

This file was deleted.

54 changes: 0 additions & 54 deletions docs/_data/devtool-colors.json

This file was deleted.

Loading