Skip to content

Commit e96a301

Browse files
committed
docs: add newbie guide
1 parent 159ed0a commit e96a301

4 files changed

Lines changed: 10 additions & 4 deletions

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
.ipynb_checkpoints/
55

66
# dependencies
7-
/node_modules
7+
/node_modules*
88
/.pnp
99
.pnp.js
1010

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node-options="--openssl-legacy-provider"

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@
3737
"scripts": {
3838
"preversion": "yarn full-check",
3939
"full-check": "export NODE_OPTIONS=--openssl-legacy-provider && yarn test -- --watchAll=false --all && yarn lint && yarn build",
40-
"start": "export NODE_OPTIONS=--openssl-legacy-provider && PUBLIC_URL=./ react-app-rewired start",
41-
"build": "cross-env PUBLIC_URL=./ MODE=production react-app-rewired build",
40+
"start": "export BROWSER=none NODE_OPTIONS=--openssl-legacy-provider && PUBLIC_URL=./ react-app-rewired start",
41+
"build": "cross-env NODE_OPTIONS=--openssl-legacy-provider PUBLIC_URL=./ MODE=production react-app-rewired build",
4242
"test": "react-app-rewired test",
4343
"types": "typesync && yarn",
4444
"lint": "eslint --ext js,ts,tsx --max-warnings=0 src",

src/pages/Help/pages.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ export const HELP_PAGES: HelpPageType[] = [
2222
name: 'Как использовать',
2323
lazy: () => import("!!raw-loader!../../docs/how_to_use.md").then(m => m.default)
2424
},
25+
{
26+
slug: 'newbie-guide',
27+
name: 'Гайд для новичка',
28+
lazy: () => import("!!raw-loader!../../docs/newbie-guide.md").then(m => m.default)
29+
},
2530
{
2631
slug: 'profile',
2732
name: 'Профиль элементов',
@@ -115,4 +120,4 @@ export function useHelpPageMap(): HelpPageMapType {
115120
pageMapBuildFunc(pages)
116121
return pageMap
117122

118-
}
123+
}

0 commit comments

Comments
 (0)