Skip to content

Commit

Permalink
remove badge
Browse files Browse the repository at this point in the history
  • Loading branch information
tpoisot committed Sep 17, 2024
1 parent 2520c96 commit 9b637a4
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/writer.jl
Original file line number Diff line number Diff line change
Expand Up @@ -315,11 +315,8 @@ function render(io::IO, mime::MIME"text/plain", node::Documenter.MarkdownAST.Nod
# @infiltrate
anchor_id = Documenter.anchor_label(docs.anchor)
# Docstring header based on the name of the binding and it's category.
println(io,
"<details class='jldocstring custom-block' open>")
print(io ,"""
<summary><a id='$(anchor_id)' href='#$(anchor_id)'>#</a> <span class="jlbinding">$(docs.object.binding)</span> <Badge type="info" class="jlobjecttype" text="$(Documenter.doccat(docs.object))" />
</summary>\n\n
print(io ,"""<details class='jldocstring custom-block' open>
<summary><a id='$(anchor_id)' href='#$(anchor_id)'>#</a> <span class="jlbinding">$(docs.object.binding)</span> &mdash; <span class="jlobjecttype jl$(Documenter.doccat(docs.object))">$(Documenter.doccat(docs.object))</span></summary>\n
""")
# Body. May contain several concatenated docstrings.
renderdoc(io, mime, node, page, doc; kwargs...)
Expand Down

0 comments on commit 9b637a4

Please sign in to comment.