Skip to content

Commit

Permalink
work around sudden failure of sphinx ini lexer
Browse files Browse the repository at this point in the history
/Users/tw/w/borg/docs/internals/data-structures.rst:971:
WARNING: Lexing literal_block
'
[cache]
version = 1
repository = 3c4...e59
manifest = 10e...21c
timestamp = 2017-06-01T21:31:39.699514
key_type = 2
previous_location = /path/to/repo

[integrity]
manifest = 10e...21c
files = {"algorithm": "XXH64", "digests": {"HashHeader": "eab...39e3", "final": "e2a...b24"}}
'
as "ini" resulted in an error at token: '}'.
Retrying in relaxed mode. [misc.highlighting_failure]

Note: this part of the docs didn't change for a long time, so I guess
the sudden warning comes from a change in sphinx' lexers.

Main problem is that rc != 0 will abort our CI pipeline.
  • Loading branch information
ThomasWaldmann committed Jan 5, 2025
1 parent f9f1d21 commit 0b4ec9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/internals/data-structures.rst
Original file line number Diff line number Diff line change
Expand Up @@ -968,7 +968,7 @@ The integrity data of the ``files`` cache is stored in the cache ``config``.

The ``[integrity]`` section is used:

.. code-block:: ini
.. code-block:: none
[cache]
version = 1
Expand Down

0 comments on commit 0b4ec9d

Please sign in to comment.