Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nhussein11
Copy link
Collaborator

This PR aims to include the command npm install in the set of instructions for contributing to polkadot-docs

@nhussein11 nhussein11 requested a review from a team as a code owner December 13, 2024 17:32
@nhussein11 nhussein11 requested a review from a team December 13, 2024 17:36
Copy link
Collaborator

@dawnkelly09 dawnkelly09 left a 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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
mkdocs serve
cd ..
mkdocs serve

Copy link
Collaborator

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

Copy link
Collaborator Author

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?

Copy link
Collaborator

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...."?

Copy link
Collaborator

@0xLucca 0xLucca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants