Skip to content

Lay docs/ out as the website's documentation, one source for both - #19

Merged
ehsun-sh merged 1 commit into
mainfrom
claude/project-thread-08arvq
Oct 7, 2026
Merged

ehsun-sh merged 1 commit into
mainfrom
claude/project-thread-08arvq

Conversation

@ehsun-sh

@ehsun-sh ehsun-sh commented Oct 7, 2026

Copy link
Copy Markdown
Owner

Requested by Ehsan · project thread

Before: docs/ held five large pages split out of the old README, while maimanstudio.com/docs had its own, older copy of the documentation (written against 0.8.0, 64 components).

After: docs/ has one Markdown file per page of the website's sidebar, under the same categories (Using Maiman Studio, Release news, Development, API reference), and docs/nav.yml says which file is which URL. The site can import these files instead of keeping its own text.

  • Guide pages (index, install, quickstart, studio, graphs, signal-model, sweeps, projects, circuits, server, backends, writing-components) follow the site's pages, updated to the current release: /api/spectrum, lessons and notes, the notes/annotations file keys, the S-matrix tab, the current units list.
  • models.md, validation.md, design.md and roadmap.md carry the detailed content from the earlier README split; releases.md is the GitHub release notes, 0.1.0 to 0.17.0.
  • docs/components/ (all 77 components, one page each) and docs/api.md are generated by tools/gen_reference_docs.py from the classes and docstrings.

How: tests/test_docs.py fails if the generated pages differ from what the script writes, if nav.yml names a missing file, or if any relative link or heading anchor in docs/ or the README is broken. Checked on Python 3.11, 3.12 and 3.13. CONTRIBUTING gains the regenerate step.

🤖 Generated with Claude Code

https://claude.ai/code/session_015NAUQm8LQftjtRw8cqdSq7


Generated by Claude Code

The guide pages follow maimanstudio.com/docs page for page, docs/nav.yml is the
sidebar, the component reference and API page are generated from the code, and
tests hold the generated pages, the sidebar and every relative link.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015NAUQm8LQftjtRw8cqdSq7
@ehsun-sh ehsun-sh self-assigned this Oct 7, 2026
@ehsun-sh
ehsun-sh marked this pull request as ready for review October 7, 2026 18:33
@ehsun-sh
ehsun-sh merged commit 1e75ace into main Oct 7, 2026
5 checks passed
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.

2 participants