Skip to content

Fix problems when building the doc#245

Merged
tomschr merged 1 commit intomainfrom
toms/doc-issues
Apr 30, 2026
Merged

Fix problems when building the doc#245
tomschr merged 1 commit intomainfrom
toms/doc-issues

Conversation

@tomschr
Copy link
Copy Markdown
Contributor

@tomschr tomschr commented Apr 30, 2026

When building the doc, Sphinx crashed with this message:

      File ".../opensuse/docbuild.git/main/.venv/lib/python3.14/site-packages/autoapi/directives.py", line 22, in get_items
        obj = all_objects[name]
              ~~~~~~~~~~~^^^^^^
    KeyError: 'docbuild.cli.cmd_config.application.app

It was related to autoapi. This helped:

rm -rf docs/source/reference/_autoapi/docbuild/cli/cmd_config/application
make -C docs html

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 30, 2026

Coverage Report

For commit 71703ca

Click to expand Coverage Report
  Name                                           Stmts   Miss Branch BrPart  Cover
  --------------------------------------------------------------------------------
+ src/docbuild/models/deliverable.py               180      1     22      0  99.5%
+ src/docbuild/cli/cmd_check/process.py             58      0     22      1  98.8%
+ src/docbuild/models/manifest.py                  111      1     12      1  98.4%
+ src/docbuild/utils/pidlock.py                     79      1     14      1  97.8%
+ src/docbuild/cli/cmd_config/list.py               26      0      8      1  97.1%
+ src/docbuild/cli/cmd_validate/process.py         178      5     52      4  96.1%
+ src/docbuild/cli/callback.py                      35      0     10      2  95.6%
+ src/docbuild/utils/concurrency.py                 69      3     18      1  95.4%
+ src/docbuild/cli/cmd_cli.py                      110      3     16      3  95.2%
- src/docbuild/config/xml/stitch.py                 47      5     12      0  88.1%
- src/docbuild/cli/cmd_metadata/metaprocess.py     215     26     66     13  82.6%
- src/docbuild/cli/cmd_config/validate.py           21      2     12      3  78.8%
- src/docbuild/cli/cmd_check/__init__.py            18      5      2      0  65.0%
- src/docbuild/cli/cmd_build/__init__.py            13      5      0      0  61.5%
- src/docbuild/cli/cmd_metadata/__init__.py         27     10      2      0  58.6%
  --------------------------------------------------------------------------------
+ TOTAL                                           3068     67    746     30  97.0%
  
  47 files skipped due to complete coverage.

@tomschr tomschr marked this pull request as ready for review April 30, 2026 12:59
@tomschr tomschr self-assigned this Apr 30, 2026
@tomschr tomschr added the area:documentation Improvements or additions to documentation label Apr 30, 2026
@tomschr tomschr merged commit 5e15069 into main Apr 30, 2026
7 of 8 checks passed
@tomschr tomschr deleted the toms/doc-issues branch April 30, 2026 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant