1
0
mirror of https://github.com/httpie/cli.git synced 2024-11-28 08:38:44 +02:00

Packaging documentation tweaks

This commit is contained in:
Mickaël Schoentgen 2021-10-11 17:42:29 +02:00
parent 344491ba8e
commit 19691bba68
2 changed files with 3 additions and 2 deletions

View File

@ -23,7 +23,8 @@ That is done quite easily by manually triggering the [release workflow](https://
## Then, company-specific tasks ## Then, company-specific tasks
- Update the HTTPie version bundled into termible ([example](https://github.com/httpie/termible/pull/1)). - Blank the `master_and_released_docs_differ_after` value in [config.json](https://github.com/httpie/httpie/blob/master/docs/config.json).
- Update the HTTPie version bundled into [Termible](https://termible.io/) ([example](https://github.com/httpie/termible/pull/1)).
## Finally, spread dowstream ## Finally, spread dowstream

View File

@ -20,7 +20,7 @@ class EnhancedJsonLexer(RegexLexer):
tokens = { tokens = {
'root': [ 'root': [
# Eventual non-JSON data prefix followed by actual JSON body. # Eventual non-JSON data prefix followed by actual JSON body.
# FIX: data prefix + number (integer or float) are not correctly handled. # FIX: data prefix + number (integer or float) is not correctly handled.
( (
fr'({PREFIX_REGEX})' + r'((?:[{\["]|true|false|null).+)', fr'({PREFIX_REGEX})' + r'((?:[{\["]|true|false|null).+)',
bygroups(PREFIX_TOKEN, using(JsonLexer)) bygroups(PREFIX_TOKEN, using(JsonLexer))