1
0
mirror of synced 2025-12-19 18:10:59 -05:00

Move files out of script/ (#45454)

Co-authored-by: Peter Bengtsson <peterbe@github.com>
This commit is contained in:
Kevin Heis
2023-11-02 11:17:39 -07:00
committed by GitHub
parent 3ecf4082e3
commit 748d1e3e3d
86 changed files with 121 additions and 111 deletions

View File

@@ -67,7 +67,7 @@ If you would like to read more about debugging and troubleshooting the {% data v
### Using browser shortcuts
The [`script/bookmarklets`](https://github.com/github/docs/tree/main/script/bookmarklets) directory in the {% data variables.product.prodname_docs %} repository contains browser shortcuts that can help with reviewing {% data variables.product.company_short %} documentation. For more information, see the directory's [`README`](https://github.com/github/docs/tree/main/script/bookmarklets/README.md).
The [`src/bookmarklets`](https://github.com/github/docs/tree/main/src/bookmarklets) directory in the {% data variables.product.prodname_docs %} repository contains browser shortcuts that can help with reviewing {% data variables.product.company_short %} documentation. For more information, see the directory's [`README`](https://github.com/github/docs/tree/main/src/bookmarklets/README.md).
### Enabling different languages

View File

@@ -34,7 +34,7 @@ git push
## Troubleshooting local server problems
If you are running `script/server` and get a `Cannot find module` error, try the following command before restarting the server.
If you are running `npm start` and get a `Cannot find module` error, try the following command before restarting the server.
```shell
npm install
@@ -52,7 +52,7 @@ npm install
If you are having trouble with the staging server, you should see more information about the error in your browser or on the command line if you run the site locally. Check out your branch locally and use the following command to launch the local server.
```shell
script/server
npm start
```
When the server is running, navigate to the problematic article on `https://localhost:4000` in your browser. The staging server will just show an "Oops" error, but the local server should show a stack trace for debugging.