From b6f514451a9d2975b2603eb659188984b283b7a0 Mon Sep 17 00:00:00 2001 From: takahiro ono Date: Fri, 29 Jul 2022 00:04:55 +0900 Subject: [PATCH] fix links in contribution & troubleshooting doc (#632) --- CONTRIBUTING.md | 10 +++++----- TROUBLESHOOTING.md | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8e1176f5..cabf83fe 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -9,7 +9,7 @@ Thank you for wanting to contribute to the PyScript project! * [Reporting bugs](#reporting-bugs) * [Reporting security issues](#reporting-security-issues) * [Asking questions](#asking-questions) - * [Setting up your environment](#setting-up-your-environment) + * [Setting up your local environment](#setting-up-your-local-environment) * [Places to start](#places-to-start) * [Submitting a change](#submitting-a-change) * [License terms for contributions](#license-terms-for-contributions) @@ -41,7 +41,7 @@ If you aren't confident that it is appropriate to submit a security issue using If you have questions about the project, using PyScript, or anything else, please ask in the [PyScript forum](https://community.anaconda.cloud/c/tech-topics/pyscript). -# Setting up your local environment +## Setting up your local environment * Clone the repo using ``` @@ -56,11 +56,11 @@ If you have questions about the project, using PyScript, or anything else, pleas ``` make setup ``` -       **NOTE**: If `make setup` gives a node/npm version required error then go to [troubleshooting](https://github.com/pyscript/governance/blob/main/TROUBLESHOOTING.md) +       **NOTE**: If `make setup` gives a node/npm version required error then go to [troubleshooting](https://github.com/pyscript/pyscript/blob/main/TROUBLESHOOTING.md) * You can also run the examples localy by running the command below in your terminal ``` - make example + make examples ``` * Run ***npm run dev*** to build and run the dev server. This will also watch for changes and rebuild when a file is saved. ``` @@ -71,7 +71,7 @@ If you have questions about the project, using PyScript, or anything else, pleas * When you make changes locally, double check that your contribution follows the PyScript formatting rules by running `npm run lint`. Note that in this case you're looking for the errors, **NOT** the warnings (Unless the warning is created by a local change). If an error is found by lint you should fix it **before** creating a pull request -Now that node and npm have both been updated `make setup` should work, and you can continue [setting up your environment](#setting-up-your-environment) without problems (hopefully). +Now that node and npm have both been updated `make setup` should work, and you can continue [setting up your local environment](#setting-up-your-local-environment) without problems (hopefully). ## Places to start diff --git a/TROUBLESHOOTING.md b/TROUBLESHOOTING.md index b28606e4..a6b7cafb 100644 --- a/TROUBLESHOOTING.md +++ b/TROUBLESHOOTING.md @@ -7,7 +7,7 @@ This page is meant for troubleshooting common problems with PyScript. ## Make setup -A lot of problems related to `make setup` are related to node and npm being outdated. Once npm and node are updated, `make setup` should work. You can follow the steps on the [npm documentation](https://docs.npmjs.com/try-the-latest-stable-version-of-npm)to update npm (the update command for Linux should work for Mac as well). Once npm has been updated you can continue to the instructions to update node below. +A lot of problems related to `make setup` are related to node and npm being outdated. Once npm and node are updated, `make setup` should work. You can follow the steps on the [npm documentation](https://docs.npmjs.com/try-the-latest-stable-version-of-npm) to update npm (the update command for Linux should work for Mac as well). Once npm has been updated you can continue to the instructions to update node below. To update Node run the following commands in order (Most likely you'll be prompted for your user password, this is normal):