Skip to content

Fix the warnings of the documentation build - #218

Open
gdevenyi wants to merge 1 commit into
matejak:masterfrom
gdevenyi:docs/sphinx-warnings
Open

Fix the warnings of the documentation build#218
gdevenyi wants to merge 1 commit into
matejak:masterfrom
gdevenyi:docs/sphinx-warnings

Conversation

@gdevenyi

Copy link
Copy Markdown

make html in doc/ printed two warnings:

  • Sphinx no longer accepts language = None in conf.py (it warns and falls back to English); say en explicitly.
  • doc/Makefile defined the man target twice: once as the Sphinx manpage build and once as a directory (MANDIR = man) that nothing used. The directory rule is dropped.

The build is warning-free afterwards.

🤖 Generated with Claude Code

https://claude.ai/code/session_017DxhC3HmTM7TQUzkBZnyH2

Copilot AI lite review requested due to automatic review settings September 11, 2026 23:47

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.

🟡 Changes recommended

Remove the stale MANDIR prerequisite from the argbash.5 target.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

This pull request updates documentation build configuration to remove Sphinx warnings and clean up Makefile rules.

Changes:

  • Sets Sphinx language explicitly to en.
  • Removes the obsolete MANDIR directory rule.
  • Leaves a stale MANDIR prerequisite on argbash.5.
File summaries
File Summary
doc/Makefile Removes the obsolete directory rule; retains a stale prerequisite.
doc/conf.py Sets the Sphinx language to en.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 1
  • Review effort level: Lite

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

Comment thread doc/Makefile Outdated
argbash.1: argbash.rst
grep -v ':ref:' $< | sed -e 's/^\.\.\s\+code-block.*/::/' | rst2man > $@

argbash.5: config.rst | $(MANDIR)

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Done, the argbash.5 target lost its MANDIR prerequisite as well.

- Sphinx no longer accepts 'language = None', it warns and falls back
  to English; say 'en' explicitly.
- doc/Makefile defined the 'man' target twice: as the Sphinx manpage
  build and as a directory that nothing used. Drop the directory.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017DxhC3HmTM7TQUzkBZnyH2
@gdevenyi
gdevenyi force-pushed the docs/sphinx-warnings branch from bbeb398 to 6e7bbec Compare September 13, 2026 02:20
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