Skip to content

docs: reorganize docs/ into design_docs/, developer_docs/, and user-guide/ - #265

Merged
zzylol merged 1 commit into
mainfrom
docs/reorganize-into-folders
Aug 23, 2026
Merged

zzylol merged 1 commit into
mainfrom
docs/reorganize-into-folders

Conversation

@zzylol

@zzylol zzylol commented Aug 23, 2026

Copy link
Copy Markdown
Contributor

What

Groups docs/ into three folders by audience instead of one flat list:

Cross-references updated

  • README.md's 6 doc links
  • docs/user-guide/user-guide.md's internal references to the other moved docs
  • rustdoc comments in crates/asap-aware-mapping/src/bind.rs, crates/asap-aware-mapping/src/cost_model.rs, and crates/types/src/pre_asap/cse.rs that cite docs/cse-cost-model-decision.md or docs/pre-asap-ir.md

No content changes — pure moves plus path fixups. cargo check --workspace passes clean.

Coordination with #259

#259 (still open) moves ASAP-aware-mapping-developer-guide.md into docs/developer_docs/ on its own branch and links it to this PR's docs/design_docs/asap_aware_mapping.md path — that link only resolves once both are merged.

🤖 Generated with Claude Code

…uide/

design_docs/ (conceptual/design rationale, not how-to):
  asap_aware_mapping.md, cse-cost-model-decision.md,
  parse_and_canonicalize.md, post-asap-ir.md, pre-asap-ir.md
user-guide/:
  user-guide.md
developer_docs/ is created by PR #259 (ASAP-aware-mapping-developer-guide.md
lands there directly; not on main yet).

Updated every cross-reference to a moved path: README.md's doc links,
docs/user-guide/user-guide.md's internal references, and the rustdoc
comments in bind.rs/cost_model.rs/cse.rs that cite
docs/cse-cost-model-decision.md or docs/pre-asap-ir.md. cargo check
--workspace passes clean (comment-only changes in Rust source).
@zzylol
zzylol merged commit ec38b28 into main Aug 23, 2026
3 checks passed
@zzylol
zzylol deleted the docs/reorganize-into-folders branch August 23, 2026 19:19
zzylol added a commit that referenced this pull request Aug 24, 2026
…'s current tip

#263 (feat/cascades-search-252) was just rewritten (force-pushed) as
part of syncing every #33 sub-issue PR to #259's current tip. This
branch, stacked on #263, was still built on #263's old (pre-rewrite)
history, which made the two branches diverge and GitHub start
reporting this PR CONFLICTING against its base.

Rebuilt fresh: reset onto #263's current tip, then reapplied
applicability.rs (already updated per this PR's own review-comment
fixes: "site" -> TargetSubDAG throughout, stale boundary:: doc links
fixed) verbatim, since it depends only on crate::search/crate::replacement,
both stable and unchanged in shape across the rewrite. Wired it into
lib.rs (pub mod applicability;, its Status bullet, and its exports),
and picked up two small search.rs doc improvements this PR had made
(replacing "a hypothetical applicability::..." with real references,
now that this module exists) that were otherwise lost.

The design doc's old "## Applicability reporting" section this PR
originally added lived at docs/asap_aware_mapping.md, a path deleted
by the docs reorg (#265) that landed on main in the meantime; the
design doc's current location (docs/design_docs/asap_aware_mapping.md)
already carries its own "# Applicability Reporting" section, written
independently and already consistent with this PR's own terminology
fix (uses "Target Sub-DAG" throughout, no "site"). Left it untouched
rather than reintroducing now-orphaned content.

Verified: cargo build --workspace --all-targets, cargo test
--workspace (0 failures, including all 11 applicability:: tests),
cargo fmt --all -- --check, cargo clippy --workspace --all-targets
--all-features -- -D warnings — all clean.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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