Skip to content

Fix man page generation on Windows - #1359

Open
codeofwxz wants to merge 1 commit into
wireservice:masterfrom
codeofwxz:fix-windows-man-docnames
Open

codeofwxz wants to merge 1 commit into
wireservice:masterfrom
codeofwxz:fix-windows-man-docnames

Conversation

@codeofwxz

Copy link
Copy Markdown

Sphinx document names use forward slashes, but os.path.join produces backslashes on Windows. As a result, the default man builder cannot find any of the 14 script documents. Build the document name with a forward slash instead; generated man files and other configuration remain unchanged.

On Windows / Python 3.12, the unmodified configuration fails sphinx -b man -W --keep-going with 14 unknown-document warnings. With this change, the same command succeeds without configuration overrides or warning suppression and produces all 14 expected man pages. The changed configuration passes flake8 and diff checks. No unrelated functional tests were rerun.

Linux and macOS builds were not executed locally.

Copilot AI lite review requested due to automatic review settings September 15, 2026 14:45

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.

🟢 Approval recommended

No unresolved review issues remain.

Pull request overview

Fixes Sphinx man-page generation on Windows by using forward-slash document names.

Changes:

  • Updated docs/conf.py for portable Sphinx document paths.
  • Documented the fix in CHANGELOG.rst.
File summaries
File Description
docs/conf.py Uses platform-independent Sphinx document names.
CHANGELOG.rst Records the Windows man-page fix.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

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