Sfoglia il codice sorgente

work around sudden failure of sphinx ini lexer

/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.
Thomas Waldmann 4 mesi fa
parent
commit
31784547bc
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      docs/internals/data-structures.rst

+ 1 - 1
docs/internals/data-structures.rst

@@ -1147,7 +1147,7 @@ cache ``config``, since all three are transacted together.
 
 The ``[integrity]`` section is used:
 
-.. code-block:: ini
+.. code-block:: none
 
     [cache]
     version = 1