summaryrefslogtreecommitdiff
path: root/tools/docs/lib/parse_data_structs.py
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2025-08-21 10:16:41 +0200
committerJonathan Corbet <corbet@lwn.net>2025-08-21 14:08:53 -0600
commite7880da7ed881c160a60784b6e011ad8b16aeb33 (patch)
tree659389688a9f3c5a658f21d2b398f4957c68f5a1 /tools/docs/lib/parse_data_structs.py
parent9fd4e4ce7e937e4a750a5dc49bd285641e977c5e (diff)
docs: conf.py: use dedent and r-strings for LaTeX macros
Instead of adding extra weird indentation at the tex file, use dedent(). While here, also use r-strings, to make easier to make its content identical to the .tex output. While here, also merge "preamble" that was added on two separate parts of the code (in the past, there were some version-specific checks). No functional changes, just cosmetic ones. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Link: https://lore.kernel.org/r/0d245fbd872ab3ec21bd8fe78b01340ba77ce365.1755763127.git.mchehab+huawei@kernel.org
Diffstat (limited to 'tools/docs/lib/parse_data_structs.py')
0 files changed, 0 insertions, 0 deletions