Describe the bug
Because of this change: live-clones/docutils@f39ac14
.. include:: ...
:code: python
:number-lines: 0
.. include:: ...
:literal:
:number-lines: 0
Now numbering starts at 1 rather than 0
This is because the value parsed from the directive option has now changed from a None|str to None|int,
previously int("0" or 1) turned into 0, but now 0 or 1 turns into 1
How to Reproduce
...
Environment Information
Sphinx extensions
Additional context
No response
Describe the bug
Because of this change: live-clones/docutils@f39ac14
Now numbering starts at 1 rather than 0
This is because the value parsed from the directive option has now changed from a
None|strtoNone|int,previously
int("0" or 1)turned into0, but now0 or 1turns into1How to Reproduce
...
Environment Information
Sphinx extensions
Additional context
No response