Skip to content

Commit

Permalink
Update Hugo version and improve documentation setup guide
Browse files Browse the repository at this point in the history
Updated the CI workflow to use Hugo 0.140.2 for building the site. Added details in the README on installing Hugo and running the documentation site locally with clear instructions.
  • Loading branch information
khalidabuhakmeh committed Jan 7, 2025
1 parent 104352d commit bfe0175
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.135.0'
hugo-version: '0.140.2'
- name: Run hugo
run: |
echo $PWD
Expand Down
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,22 @@
# https://docs.duendesoftware.com

## Getting Started

You will need [**Hugo 0.140.2**](https://gohugo.io/) installed on your operating system and in the PATH.

See the [official Hugo documentation](https://gohugo.io/installation/) for OS-specific instructions.

## Running the Documentation Site(s)

There are several versions of documentation in the repository, and they all operate similarly.

Any directory containing a `config.toml` file is a Hugo instance, and can be interacted with
using hugo commands. To launch a site use the `hugo serve` command. To launch the latest
documentation site, use the following commands in a terminal from the root directory.

```bash
cd ./IdentityServer/v7/docs
hugo serve
```

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

0 comments on commit bfe0175

Please sign in to comment.