Skip to content

refactor(doc): move the document packages into internal/doc - #446

Merged
HuiJun merged 3 commits into
developfrom
refactor/layer-doc
Sep 19, 2026
Merged

HuiJun merged 3 commits into
developfrom
refactor/layer-doc

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Sep 19, 2026

Copy link
Copy Markdown
Contributor

What and why

Seventh step of the layer-directory move, on top of the internal/translate pull request. Moves the document packages into internal/doc/:

internal/core/{queryexec,docir,docrender}, internal/docpdf → internal/doc/{queryexec,docir,docrender,docpdf}

A mechanical relocation: git mv, import-path rewrite across the root module and tools/, the layering-test keys, the relative fixture paths that cmd/sysml, grpc, docplan and the hygiene tests read from docrender's testdata, and the self-model's goPackage references. The examples digest in docs/project/pilot-differential-baseline.json is re-recorded because the self-model's goPackage strings changed; no other figure moved.

How it was verified

go build ./..., go vet ./..., gofmt -l . (empty), make lint, make docs-check, the full suite with OPENSYSML_REQUIRE_TRAINING_CORPUS=1 OPENSYSML_REQUIRE_PILOT_CORPORA=1 OPENSYSML_REQUIRE_PILOT_LIBRARY_XMI=1 go test -count=1 ./... (79 packages ok, none failing), the tools/ module (build, vet, test, doc-counts -check), python3 scripts/changelog.py check. go list ./internal/... | wc -l (59) is unchanged.

Checklist

  • make test and make lint pass locally
  • Tests added or updated for the change
  • Documentation extended where it already covers the surface (see CONTRIBUTING.md)
  • Changelog entry added as changes/unreleased/<slug>.<section>.md, not as an edit to CHANGELOG.md
  • baselines regenerated and make docs-counts run if a gate count moved (compliance rows need nothing: the census is counted at docs build)
  • No internal work-item labels (waves, slices, F4, K5) in the body, docs, or changelog

@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@devin-ai-integration
devin-ai-integration Bot marked this pull request as ready for review September 19, 2026 09:04

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

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

🔍 Devin Review: 1 flag

Not posted on this PR by your GitHub settings — view it in Devin Review. (Configure)

Devin Review

devin-ai-integration Bot and others added 3 commits September 19, 2026 15:10
Moves queryexec, docir, docrender and docpdf from internal/core and
internal/docpdf into internal/doc and rewrites their imports.

Co-Authored-By: jason.han <hanhuijun@gmail.com>
…l baseline

The self-model's Go package references moved to internal/doc.

Co-Authored-By: jason.han <hanhuijun@gmail.com>
…rnal/doc/docrender

Co-Authored-By: jason.han <hanhuijun@gmail.com>
@devin-ai-integration
devin-ai-integration Bot force-pushed the refactor/layer-translate branch from b6a7d84 to e6f8290 Compare September 19, 2026 15:30
Base automatically changed from refactor/layer-translate to develop September 19, 2026 18:02
@HuiJun
HuiJun merged commit bc5ff38 into develop Sep 19, 2026
12 checks passed
@HuiJun
HuiJun deleted the refactor/layer-doc branch September 19, 2026 18:02
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