File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 1
1
using Documenter, PythonCall, Markdown
2
2
3
+ # This is a bit of a hack to let us insert documentation blocks with custom content.
4
+ # It means we can document Python things directly in the documentation source, and they
5
+ # are searchable.
6
+ #
7
+ # It's a hack because of the `doccat` overload, requiring a special kind of "signature"
8
+ # to embed the information we want.
9
+ #
10
+ # The first line is of the form "name - category", the rest is Markdown documentation.
11
+ # For example:
12
+ # ```@customdoc
13
+ # foo - Function
14
+ # Documentation for `foo`.
15
+ # ```
3
16
struct CustomCat{cat} end
4
17
Documenter. Utilities. doccat (:: Base.Docs.Binding , :: Type{CustomCat{cat}} ) where {cat} = string (cat)
5
18
struct CustomDocBlocks <: Documenter.Expanders.ExpanderPipeline end
You can’t perform that action at this time.
0 commit comments