mirror of
https://github.com/vale981/quickdocs-server
synced 2025-03-05 09:11:38 -05:00
Show reexport symbols.
This commit is contained in:
parent
cf1b8f0769
commit
b6468ffbc0
3 changed files with 16 additions and 0 deletions
|
@ -57,6 +57,11 @@
|
|||
(djula::def-filter :symbol (it)
|
||||
(quickdocs-serializer:symb-name it))
|
||||
|
||||
(djula::def-filter :symbol-with-package (it)
|
||||
(format nil "~A:~A"
|
||||
(quickdocs-serializer:symb-package it)
|
||||
(quickdocs-serializer:symb-name it)))
|
||||
|
||||
(djula::def-filter :lambda-list (it)
|
||||
(labels ((maptree (fn obj)
|
||||
(if (consp obj)
|
||||
|
|
|
@ -444,6 +444,9 @@ ul {
|
|||
.api ul li {
|
||||
margin: 30px 0;
|
||||
}
|
||||
.api ul.also-exports li {
|
||||
margin: 0;
|
||||
}
|
||||
.api code.symbol-name {
|
||||
font-weight: normal;
|
||||
color: #444;
|
||||
|
|
|
@ -106,6 +106,14 @@
|
|||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% if package.reexport-symbols %}
|
||||
<h3>Also exports</h3>
|
||||
<ul class="also-exports">
|
||||
{% for symbol in package.reexport-symbols %}
|
||||
<li><code class="symbol-name">{{ symbol | symbol-with-package }}</code></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
</section>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Reference in a new issue