Skip to content

Commit

Permalink
sphinx: pdf: fix headline width
Browse files Browse the repository at this point in the history
The rauc manual name is longer than other manual names, which causes
overlap with the documentation revision. Reducing the font size as well
as shortening the documentation ref makes more space for the manual
names in the headers.

Signed-off-by: Jonas Remmert <[email protected]>
  • Loading branch information
jonas-rem authored and mschwan-phytec committed Dec 4, 2024
1 parent 0adc0e2 commit b2392f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@
\fancyhf{}
\fancyfoot[R]{{\py@HeaderFamily\thepage}}
\fancyfoot[L]{{\py@HeaderFamily\nouppercase{\leftmark}}}
\fancyhead[L]{{\py@HeaderFamily \@title}}
\fancyhead[R]{{\py@HeaderFamily Documentation Rev.: \textit{''' + version + r'''}}}
\fancyhead[L]{{\py@HeaderFamily \fontsize{9}{10.8}\selectfont \@title}}
\fancyhead[R]{{\py@HeaderFamily \fontsize{9}{10.8}\selectfont Doc-rev.: \textit{''' + version + r'''}}}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0.4pt}
}
Expand Down

0 comments on commit b2392f3

Please sign in to comment.