Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix(docs): handle PackageNotFoundError in conf.py and fix RST title l…#2882

Merged
micheloosterhof merged 1 commit intomainfrom
claude/fix-docs-generation-nN2Cp
Jan 24, 2026
Merged

fix(docs): handle PackageNotFoundError in conf.py and fix RST title l…#2882
micheloosterhof merged 1 commit intomainfrom
claude/fix-docs-generation-nN2Cp

Conversation

@micheloosterhof
Copy link
Member

…evel

The docs build was failing because conf.py tried to get the package version from importlib.metadata, but failed when cowrie wasn't installed. This adds a fallback to read from cowrie._version instead.

Also fixes INSTALL.rst inconsistent title style that was causing Sphinx to fail when building with -W flag.

Fix inconsistent title style where "Local testing with SSH" used `-`
underline (level 4) after a `*` underline (level 2), causing Sphinx
to fail when building with -W flag.
@micheloosterhof micheloosterhof force-pushed the claude/fix-docs-generation-nN2Cp branch from 759b446 to f5fe222 Compare January 24, 2026 05:49
@micheloosterhof micheloosterhof merged commit 894d398 into main Jan 24, 2026
29 of 33 checks passed
@micheloosterhof micheloosterhof deleted the claude/fix-docs-generation-nN2Cp branch January 24, 2026 05:55
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