summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2023-06-13 14:49:21 +0300
committerMavridis Philippe <mavridisf@gmail.com>2023-06-14 17:41:20 +0300
commitae7f97b2ddf13fde875c466079ad955e76d6540c (patch)
tree86f9879e785c368a608f788e10542681731ee4ba
parent41336d84c91181da148be31a0b9f469037d3669d (diff)
downloadtdelibs-ae7f97b2ddf13fde875c466079ad955e76d6540c.tar.gz
tdelibs-ae7f97b2ddf13fde875c466079ad955e76d6540c.zip
Doxygen: respect code indentation
With this commit, when viewing the source code of a file in the Trinity API docs (e.g. http://trinitydesktop.org/docs/trinity/tdelibs/tdeui/html/kkeydialog_8cpp_source.html) the line is correctly indented by using the `white-space: pre;` CSS rule. Signed-off-by: Mavridis Philippe <mavridisf@gmail.com> (cherry picked from commit e11968425debab2d1f12d033aca8493d1da145ce)
-rw-r--r--doc/common/doxygen.css1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/common/doxygen.css b/doc/common/doxygen.css
index 932e6975a..c56c0e91a 100644
--- a/doc/common/doxygen.css
+++ b/doc/common/doxygen.css
@@ -98,6 +98,7 @@ SPAN.charliteral { color: #008080 }
.line {
text-align: left;
font-family: monospace;
+white-space: pre;
}
.lineno {