Skip to content

Directives fail with latest drawio #113

Description

@onavratil-monetplus

Getting this error

Invalid page index: pages are numbered from 1 (0-based before v27.0.2)

The directive error kills the whole build process. Works flawlessly with 26.2.15 and prior. I do not explicitly set page index via directive options at all.

I assume just adding +1 to this line could fix the bug
https://github.com/modelmat/sphinxcontrib-drawio/blob/main/sphinxcontrib/drawio/__init__.py#L249

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions