Skip to content

Commit e6eb77a

Browse files
Docs: restore local dev port to 9001 (#41545)
Co-authored-by: Julien Déramond <juderamond@gmail.com>
1 parent d83f33a commit e6eb77a

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@ jobs:
4747
paths: _site
4848
recurse: true
4949
verbosity: error
50-
skip: "^(?!http://localhost)"
50+
skip: "^http://localhost"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ Documentation search is powered by [Algolia's DocSearch](https://docsearch.algol
151151
1. Run `npm install` to install the Node.js dependencies, including Astro (the site builder).
152152
2. Run `npm run test` (or a specific npm script) to rebuild distributed CSS and JavaScript files, as well as our docs assets.
153153
3. From the root `/bootstrap` directory, run `npm run docs-serve` in the command line.
154-
4. Open `http://localhost:9001/` in your browser, and voilà.
154+
4. Open <http://localhost:9001> in your browser, and voilà.
155155

156156
Learn more about using Astro by reading its [documentation](https://docs.astro.build/en/getting-started/).
157157

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,9 @@
100100
"watch-css-test": "nodemon --watch scss/ --ext scss,js --exec \"npm run css-test\"",
101101
"watch-js-main": "nodemon --watch js/src/ --ext js --exec \"npm-run-all js-lint js-compile\"",
102102
"watch-js-docs": "nodemon --watch site/src/assets/ --ext js --exec \"npm run js-lint\"",
103-
"astro-dev": "astro dev --root site",
103+
"astro-dev": "astro dev --root site --port 9001",
104104
"astro-build": "astro build --root site && rm -rf _site && cp -r site/dist _site",
105-
"astro-preview": "astro preview --root site"
105+
"astro-preview": "astro preview --root site --port 9001"
106106
},
107107
"peerDependencies": {
108108
"@popperjs/core": "^2.11.8"

site/astro.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const isDev = process.env.NODE_ENV === 'development'
99

1010
const site = isDev
1111
? // In development mode, use the local dev server.
12-
'http://localhost:4321'
12+
'http://localhost:9001'
1313
: process.env.DEPLOY_PRIME_URL !== undefined
1414
? // If deploying on Netlify, use the `DEPLOY_PRIME_URL` environment variable.
1515
process.env.DEPLOY_PRIME_URL

site/src/content/docs/getting-started/contribute.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Running our documentation locally requires the use of Astro. Astro is a modern s
5656

5757
1. Run through the [tooling setup](#tooling-setup) above to install all dependencies.
5858
2. From the root `/bootstrap` directory, run `npm run docs-serve` in the command line.
59-
3. Open `http://localhost:4321/` in your browser, and voilà.
59+
3. Open http://localhost:9001 in your browser, and voilà.
6060

6161
Learn more about using Astro by reading its [documentation](https://docs.astro.build/en/getting-started/).
6262

0 commit comments

Comments
 (0)