Mount all Drasi Server tutorials and fix Hugo v0.164 build errors - #264
Merged
ruokun-niu merged 4 commits intoAug 5, 2026
Merged
Conversation
Signed-off-by: Ruokun Niu <ruokunniu@microsoft.com>
Signed-off-by: Ruokun Niu <ruokunniu@microsoft.com>
NValsan
approved these changes
Aug 4, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the docs site configuration to surface all Drasi Server tutorials from the learning-drasi-server Hugo module, and applies Hugo config/workflow tweaks intended to address newer Hugo deprecations and content-security build failures.
Changes:
- Mount additional tutorial folders (
building-comfort,high-risk-containers,curbside-pickup) intocontent/drasi-server/tutorials/*. - Migrate Hugo config away from deprecated settings (
excludeFiles→files,languageName→label). - Update the Pages deploy job condition to also allow deploys from
workflow_dispatchruns onmain.
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| docs/go.sum | Adds checksums for the updated learning-drasi-server pseudo-version. |
| docs/go.mod | Bumps the learning-drasi-server module version to pick up new tutorial content. |
| docs/config.toml | Adds mounts for all Drasi Server tutorials and updates Hugo config keys/globs for newer Hugo behavior. |
| .github/workflows/website.yaml | Allows the deploy job to run for manual dispatches on main in addition to pushes. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Signed-off-by: Ruokun Niu <ruokunniu@microsoft.com>
ruokun-niu
requested review from
agentofreality,
amansinghoriginal and
danielgerlag
August 5, 2026 17:11
danielgerlag
approved these changes
Aug 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds the newly authored Drasi Server tutorials to the docs site and fixes two build failures introduced by Hugo v0.164. Previously only Getting Started was mounted from the
learning-drasi-servermodule; the other tutorials existed in the source repo but were never surfaced on the site.Changes
building-comfort,high-risk-containers, andcurbside-pickupalongside the existinggetting-started, so each appears under Drasi Server → Tutorials.security.allowContentbuild error — Hugo v0.164+ blockstext/htmlcontent by default, which caused the build to fail on HTML assets in the module (e.g.curbside-pickup/webui/src/static/index.html, the viewer app). Each mount now excludesREADME.mdand all*.htmlfiles via the newfilesglob syntax.excludeFiles = "/README.md"(deprecated in Hugo v0.153.0) withfiles = ['! /README.md', '! **/*.html'].languageName = "English"tolabel = "English"(deprecated in Hugo v0.158.0).docs/go.modto the latestmainoflearning-drasi-serverso the new tutorial content resolves locally. (Production CI already pulls@mainon every build.)Type of change
Fixes: #263