How to preview changes in docs code locally #18336
-
I want to contribute to improve the CSS of the eslint.org/docs part, but I don't know how to do it easily. I cloned this repo. Is it possible to make changes to the code of the docs directory locally while previewing them in the browser running a local server of the site? I also found out that I can preview the site locally in the eslint.org repo, but the docs part is not there, only here. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes, you can run Line 23 in 9048e21 You'd also need to install docs dependencies. $ cd docs
$ npm i
$ npm start Here are more detailed instructions: https://github.com/eslint/eslint/blob/main/docs/README.md |
Beta Was this translation helpful? Give feedback.
Yes, you can run
npm start
in the docs directory.eslint/docs/package.json
Line 23 in 9048e21
You'd also need to install docs dependencies.
$ cd docs $ npm i $ npm start
Here are more detailed instructions: https://github.com/eslint/eslint/blob/main/docs/README.md