Skip to content

How to preview changes in docs code locally #18336

Answered by mdjermanovic
germanfrelo asked this question in Q&A
Discussion options

You must be logged in to vote

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?

Yes, you can run npm start in the docs directory.

"start": "npm-run-all build:sass build:postcss --parallel *:*:watch"

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

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@germanfrelo
Comment options

Answer selected by germanfrelo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants