Skip to content

Add public_dir configuration to build settings#9

Merged
arivictor merged 1 commit into
mainfrom
claude/optimistic-dijkstra-rQ1Z4
Jun 5, 2026
Merged

Add public_dir configuration to build settings#9
arivictor merged 1 commit into
mainfrom
claude/optimistic-dijkstra-rQ1Z4

Conversation

@arivictor

Copy link
Copy Markdown
Owner

Summary

Added a new public_dir configuration option to the build settings in the gomark configuration file.

Changes

  • Added public_dir: public to the build configuration section, specifying the public directory for the static site build output

Details

This configuration parameter allows users to define a dedicated public directory for the build process, complementing the existing content_dir and output_dir settings. This is useful for organizing static assets and public-facing files separately from the main output directory.

https://claude.ai/code/session_018hwJ3xsqpbPzapfdRnv2Ny

Point build.public_dir at the existing public/ directory so the assets
referenced by logo:/seo: (favicon, og-image, …) ship with the build and
override gomark's bundled defaults instead of 404'ing.

Requires a gomark release that includes the public_dir overlay; bump the
CLI pin in the Dockerfile once that release is tagged.
Copilot AI review requested due to automatic review settings June 5, 2026 05:42

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the repository’s gomark.yaml build configuration by adding a public_dir setting intended to define a dedicated directory for static/public assets during the gomark build process.

Changes:

  • Add build.public_dir: public to the gomark YAML configuration.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread gomark.yaml
build:
content_dir: content
output_dir: /out/site
public_dir: public

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct, and intentional. public_dir is the new asset-overlay option added in arivictor/gomark#9; it's inert on v0.1.14 but harmless (unknown YAML keys are ignored, not errors). This field is staged here so the config is ready. It takes effect once gomark#9 is merged and tagged, and the Dockerfile pin here is bumped to that release — that bump will land as a follow-up commit on this PR.


Generated by Claude Code

@arivictor arivictor merged commit 8482b35 into main Jun 5, 2026
1 check passed
@arivictor arivictor deleted the claude/optimistic-dijkstra-rQ1Z4 branch June 5, 2026 05:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants