Static Sites
The current static site is crates/bionic-gpt
Content and Rendering
- Marketing pages are under
crates/bionic-gpt/content/pages. - Blog content is under
crates/bionic-gpt/content/blogand is registered throughsrc/blog_summary.rs. - Documentation is under
content/docsand is registered throughsrc/docs_summary.rs. - Course content is under
content/architect-courseand is registered throughsrc/architect_course_summary.rs. - Shared layouts and site configuration are under
crates/bionic-gpt/src. crates/bionic-gpt/build.rsgenerates course page source where required beforessg_whizrenders the site.
Preserve the existing ssg_whiz summary and layout conventions. Keep visible
images, Open Graph images, metadata, canonical links, navigation, and footer
behavior distinct where the code supports those concepts.
Assets and Commands
Static application assets are maintained in crates/web-assets; its Tailwind
input is crates/web-assets/input.css, and its TypeScript entry is
crates/web-assets/index.ts. The site-specific Tailwind input is in
crates/bionic-gpt/input.css.
crates/web-assets/build.rs uses cache-busters to generate typed references
for files in dist/ and images/; application code should use those generated
references rather than hard-coded hashed asset paths.
Verified development recipes are:
just ws
just wts
The ws recipe watches crates/bionic-gpt/content and src; wts watches
the site's Tailwind input. Inspect Justfile before using other recipes.
Verification
DO_NOT_RUN_SERVER=1 cargo run -p bionic-gpt
cargo build -p bionic-gpt
Inspect generated HTML for metadata, links, and asset paths. Run
git diff --check. Do not treat generated dist/ output as a source change
unless the repository explicitly tracks it.