diff --git a/.github/workflows/github-ci.yaml b/.github/workflows/github-ci.yaml index 7d0f1426c..085e86a5d 100644 --- a/.github/workflows/github-ci.yaml +++ b/.github/workflows/github-ci.yaml @@ -164,6 +164,10 @@ jobs: - name: Test with mypy run : | mypy pypdf + - name: Test docs build + run: | + pip install -r requirements/docs.txt + sphinx-build -n -W --keep-going -T -b html docs build/sphinx/html package: name: Build & verify package diff --git a/docs/modules/constants.rst b/docs/modules/constants.rst index d5d31563b..37f991303 100644 --- a/docs/modules/constants.rst +++ b/docs/modules/constants.rst @@ -15,3 +15,8 @@ Constants :members: :undoc-members: :show-inheritance: + +.. autoclass:: pypdf.constants.UserAccessPermissions + :members: + :undoc-members: + :show-inheritance: