Skip to content

Docs clean up#704

Merged
willwashburn merged 5 commits into
mainfrom
better-nav
Apr 10, 2026
Merged

Docs clean up#704
willwashburn merged 5 commits into
mainfrom
better-nav

Conversation

@willwashburn
Copy link
Copy Markdown
Member

@willwashburn willwashburn commented Apr 10, 2026

Server-render the GitHub stars badge (async component with Next revalidation) to avoid client flash and cache counts for 1 hour. Move the theme toggle out of the top SiteNav into the SiteFooter and add a footer Discord social link. Introduce an actions slot on SiteNav and pass the GitHubStarsBadge into multiple pages (home, blog, docs, brand, primitives, openclaw, telemetry). Simplify the /blog index to a compact title-and-author list with metadata and move the RSS link into the header. Add/update related CSS modules for blog, github badge, and footer. Update trajectories metadata with decision entries and lastUpdated timestamp.


Open with Devin

Server-render the GitHub stars badge (async component with Next revalidation) to avoid client flash and cache counts for 1 hour. Move the theme toggle out of the top SiteNav into the SiteFooter and add a footer Discord social link. Introduce an actions slot on SiteNav and pass the GitHubStarsBadge into multiple pages (home, blog, docs, brand, primitives, openclaw, telemetry). Simplify the /blog index to a compact title-and-author list with metadata and move the RSS link into the header. Add/update related CSS modules for blog, github badge, and footer. Update trajectories metadata with decision entries and lastUpdated timestamp.
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

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

Devin Review found 1 potential issue.

View 3 additional findings in Devin Review.

Open in Devin Review

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Deleted .blogBottom CSS class still referenced in blog post page, breaking layout

The .blogBottom CSS class was removed from web/components/blog/blog.module.css in this PR, but web/app/blog/[slug]/page.tsx:240 still references styles.blogBottom. With CSS Modules, this resolves to undefined, so the <div> wrapping the RSS icon on every blog post page loses its styling (centering via display: flex; justify-content: center, the margin-top: 3rem, padding-top: 1.5rem, and the top border separator). The blog index page correctly removed its .blogBottom usage and moved the RSS link to the header, but the blog post page was not updated to match.

(Refers to line 240)

Prompt for agents
The CSS class `.blogBottom` was deleted from `web/components/blog/blog.module.css` but is still used at `web/app/blog/[slug]/page.tsx:240`. The blog index page removed its blogBottom usage entirely when the RSS link was moved into the header. The blog post page should either: (1) remove the `.blogBottom` wrapper div entirely if the RSS icon at the bottom of blog posts is no longer desired, or (2) re-add the `.blogBottom` CSS class to blog.module.css if the RSS icon should remain styled at the bottom of blog posts. Looking at the blog index page change for reference, the intent seems to be to keep an RSS icon on individual post pages but the container class was accidentally deleted.
Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

@github-actions
Copy link
Copy Markdown
Contributor

Preview deployed!

Environment URL
Web https://pr-704.agentrelay.net

This preview will be cleaned up when the PR is merged or closed.

Delete web/public/docs static assets (favicon.png, logo/*) to prevent SST/OpenNext from treating the top-level public/docs directory as a static route prefix and causing preview environments to route /docs* to S3 instead of the Next app. Record this decision in .trajectories/active/traj_4r047wx9ml89.json (added decision entry) and update .trajectories/index.json lastUpdated timestamp.
# Conflicts:
#	.trajectories/completed/2026-04/traj_4r047wx9ml89.json
#	.trajectories/index.json
Add a web-only detection job to multiple GitHub workflows (node-compat, package-validation, rust-ci, test) and skip heavy jobs when the change set only touches web/ files. Move the docs navigation into the mobile hamburger: SiteNav now accepts mobileMenuContent and hideMobileDocsLink, DocsNav supports a mobileMenu variant with new styles, and the desktop docs sidebar is hidden on small screens. Add a /cloud footer link and update dark-mode footer styling (blue gradient and tinted divider). Introduce web/lib/content-paths.ts (resolveContentDir) and update web/lib/blog.ts, docs-markdown.ts, and docs.ts to resolve content at runtime; update next.config.mjs outputFileTracingIncludes to trace content/docs and content/blog to avoid build-machine absolute MDX paths. Add multiple .trajectories completed entries and update .trajectories/index.json. Remove the Waitlist resource from web/sst-env.d.ts.
@willwashburn willwashburn merged commit c787bad into main Apr 10, 2026
43 checks passed
@willwashburn willwashburn deleted the better-nav branch April 10, 2026 17:35
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.

1 participant