Skip to content

Commit

Permalink
Add npm run scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
maartenba committed Jan 8, 2025
1 parent b0e0573 commit e830cf2
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,11 @@ cd ./IdentityServer/v7/docs
hugo serve
```

See the output for the running documentation site, typically at `http://localhost:1313/identityserver/v7/`.
See the output for the running documentation site, typically at `http://localhost:1313/identityserver/v7/`.

Alternatively, you can use `npm run` to run the documentation site locally:

* `npm run v7` - http://localhost:1313/identityserver/v7/
* `npm run v6` - http://localhost:1313/identityserver/v6/
* `npm run foss` - http://localhost:1313/foss/
*
18 changes: 18 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "docs.duendesoftware.com",
"version": "0.0.1",
"scripts": {
"v7": "hugo server --port 1313 --navigateToChanged --source IdentityServer/v7/docs",
"v6": "hugo server --port 1312 --navigateToChanged --source IdentityServer/v6/docs",
"foss": "hugo server --port 1314 --navigateToChanged --source FOSS"
},
"description": "Documentation for Duende Software products",
"keywords": [],
"homepage": "docs.duendesoftware.com",
"license": "MIT",
"author": "Duende Software",
"repository": {
"type": "git",
"url": "https://github.com/DuendeSoftware/docs.duendesoftware.com.git"
}
}

0 comments on commit e830cf2

Please sign in to comment.