diff --git a/luacs-docs/lua/css/ldoc.css b/luacs-docs/lua/css/ldoc.css index 29c99dddb..d088429a5 100644 --- a/luacs-docs/lua/css/ldoc.css +++ b/luacs-docs/lua/css/ldoc.css @@ -349,19 +349,30 @@ article h1 { article h2 { font-size: 20px; font-weight: 600; - margin-top: 12px; + margin-top: calc(var(--padding-tiny) + 2px); } article h3 { color: var(--color-good); - margin-top: var(--padding-tiny); + margin-top: calc(var(--padding-tiny) + 2px); text-transform: uppercase; } article p { + line-height: calc(var(--font-normal) + 4px); +} + +article p + p, +article h2 + p, +article pre + p { margin-top: var(--padding-small); } +article h3 + p, +article h4 + p { + margin-top: var(--padding-tiny); +} + article p a, article ul li a, article h1 a, @@ -420,7 +431,7 @@ a.reference { letter-spacing: 2px; } -.notice p { +.notice .body { color: var(--color-notice-text); margin: 0 !important; @@ -466,7 +477,7 @@ a.reference { font-size: 20px; } -.method header p:first-of-type { +.method header p.description:first-of-type { margin-top: var(--padding-tiny); } diff --git a/luacs-docs/lua/libs/ldoc b/luacs-docs/lua/libs/ldoc index d1d4e3700..a98391f04 160000 --- a/luacs-docs/lua/libs/ldoc +++ b/luacs-docs/lua/libs/ldoc @@ -1 +1 @@ -Subproject commit d1d4e3700ad0de2e74a5aa350a73af2fb19a071b +Subproject commit a98391f04ac2083a8fd6ba20bc1a0794de85bec2 diff --git a/luacs-docs/lua/templates/module.ltp b/luacs-docs/lua/templates/module.ltp index c8f7582d4..f942bbb7a 100644 --- a/luacs-docs/lua/templates/module.ltp +++ b/luacs-docs/lua/templates/module.ltp @@ -23,24 +23,30 @@ {% if item.tags.deprecated then %}
This API is deprecated and shouldn't be used anymore.
+This API is deprecated and shouldn't be used anymore.
+This is an internal function! You are able to use it, but you risk unintended side effects if used incorrectly.
+This is an internal function! You are able to use it, but you risk unintended side effects if used incorrectly.
+Documentation for this section is incomplete and needs expanding.
+Documentation for this section is incomplete and needs expanding.
+{* ldoc.markup(ldoc.descript(item)) *}
+{* ldoc.markup(ldoc.descript(item)) *}
{% end %}