-
Notifications
You must be signed in to change notification settings - Fork 7
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
[FIX] - Adding npm install
to contributing.md
#256
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one small thing!
cd polkadot-docs && npm install | ||
``` | ||
|
||
3. In the `polkadot-mkdocs` folder, you can build the site by running: | ||
|
||
```bash | ||
mkdocs serve |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mkdocs serve | |
cd .. | |
mkdocs serve |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's get them back to the right folder safely
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I considered adding cd ..
, but I'm a bit unsure about it.
I was worried about misleading users into thinking they can serve the site only if they run cd ..
first (which might seem silly, but if it's all together, it could lead to that). WDYT?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can see that. Maybe something like "Navigate back to the polkadot-mkdocs
folder then build the site...."?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
This PR aims to include the command
npm install
in the set of instructions for contributing to polkadot-docs