From 6a92af16622e847309a7a2e48faf1b5cf5c35d58 Mon Sep 17 00:00:00 2001 From: Sergey Date: Tue, 26 Oct 2021 18:27:41 -0400 Subject: [PATCH] Adding readonly tag to the summary --- docs/ldoc.css | 10 ++++++++++ docs/ldoc.ltp | 7 ++++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/docs/ldoc.css b/docs/ldoc.css index 845abaf8..f73a9e09 100644 --- a/docs/ldoc.css +++ b/docs/ldoc.css @@ -342,6 +342,16 @@ span.inheritance { text-align: right; } +span.chips--readonly { + border: 1px solid #9db9f3; + border-radius: 25px; + padding: 1px 3px; + font-size: 70%; + color: #9db9f3; + background-color: #FFF; + margin-left: 10px; +} + table.function_list .function_args /*.function_modname*/ { color: #94b1ff; text-decoration: underline; diff --git a/docs/ldoc.ltp b/docs/ldoc.ltp index 01b260b9..f7c9b3db 100644 --- a/docs/ldoc.ltp +++ b/docs/ldoc.ltp @@ -292,7 +292,12 @@ # end # end - $(M(item.summary,item)) + + $(M(item.summary,item)) +# if item.tags.readonly then + read only +# end + # if inherited then Inherited from $(item.baseclass)