Skip to content

Include documentation sources in source distributions - #557

Closed
xiehuanyi wants to merge 1 commit into
mahmoud:masterfrom
xiehuanyi:fix/include-documentation-sdist
Closed

xiehuanyi wants to merge 1 commit into
mahmoud:masterfrom
xiehuanyi:fix/include-documentation-sdist

Conversation

@xiehuanyi

@xiehuanyi xiehuanyi commented Oct 7, 2026 •

Copy link
Copy Markdown

The change

The flit sdist configuration names doc/, but the documentation lives in docs/. Source distributions therefore omit all documentation sources. Include the actual directory and exclude its generated _build output.

Validation: built sdists before and after. The original archive contains zero docs files; the corrected archive includes docs/conf.py, docs/index.rst and the other documentation sources. A temporary file in docs/_build/ remained excluded. Tests remain included. This is the current flit configuration, separate from the earlier setup.py fix in #353.

The backstory

Earlier contribution from this account: #555. This discrepancy was found while checking whether the current source distribution contains its documented development files; no separate issue was filed.

AI assistance

  • Harness/tooling: Codex
  • Model(s): GPT-6
  • Original prompt(s): “再改30个10分钟之内可以验证,改正然后提交的issue,提交pr哈。可以多叫几个subagent帮你搞” (Find and fix another 30 issues that can be verified within 10 minutes, and submit PRs; subagents may help.)

Copilot AI balanced review requested due to automatic review settings October 7, 2026 16:37

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

mahmoud added a commit that referenced this pull request Oct 25, 2026
…micSaver cleanup, root-home shrinkuser, non-identifier names; include docs in sdist (#484, #518, #485, #539, #504, #573, #557)
@mahmoud

mahmoud commented Oct 25, 2026

Copy link
Copy Markdown
Owner

Folded into #609 (see the PR description for credit). Thanks for the report and the repro.

@mahmoud mahmoud closed this Oct 25, 2026
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.

3 participants