You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/project/contribute.md
+10-6Lines changed: 10 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,13 +62,17 @@ After you translate strings in any given language, you won't see those changes a
62
62
63
63
Search is by algolia, the configuration is at <https://github.com/algolia/docsearch-configs/blob/master/configs/all-contributors.json>
64
64
65
-
## Running the site locally:
65
+
## Run the website locally:
66
66
67
67
All Contributors currently uses [Docusaurus 1.x](https://docusaurus.io) for our documentation website.
68
68
69
69
To build the docs locally:
70
70
71
-
Make sure `npm` is installed on your machine. Use the [nodejs documentation](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) if you aren't sure how to install `npm`.
71
+
72
+
*https://tutorial.docusaurus.io/docs/intro
73
+
74
+
1. Make sure `npm` is installed on your machine. Use the [nodejs documentation](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) if you aren't sure how to install `npm`.
75
+
72
76
To check that npm is installed run the following in your favorite shell:
73
77
74
78
`npm -v`
@@ -78,11 +82,11 @@ use:
78
82
79
83
`node -v`
80
84
81
-
If you don't have at least version `0.22` or higher, please install Node or upgrade your current version.
82
-
85
+
If you don't have atleast version `.22` or higher, please install node or upgrade your current version.
83
86
Install docusaurus v1 (1.14.7) and all of the project dependencies using `npm install`. *Note: This project does not yet support docusaurus v2 or v3; though, we hope to do so in the future.*
87
+
**`npm i` is shorthand for `npm install`)**:
84
88
85
-
`npm install`
89
+
`npm i`
86
90
87
91
Once you have completed the above, you can launch a server locally that will build and run the docs locally. In your favorite shell run:
88
92
@@ -98,7 +102,7 @@ check those changes. To run the linter yourself on a file locally:
98
102
99
103
First install markdownlint-cli:
100
104
101
-
`npm install -g markdownlint-cli`
105
+
`npm i -g markdownlint-cli`
102
106
103
107
Then run markdownlint on the file (or files) that you wish to check:
0 commit comments