JuliaDocs/Documenter.jl

Add support for 'Filter' in `@index`

Open

#1877 aperta il 14 lug 2022

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)Julia (513 fork)batch import
Type: Enhancementhelp wanted

Metriche repository

Star
 (910 star)
Metriche merge PR
 (Merge medio 16g 9h) (3 PR mergiate in 30 g)

Descrizione

A great feature of @autodocs is Filter. So, I can do for example:

```@autodocs
Modules = [CellArrays]
Order   = [:type]
Filter = t -> typeof(t) !== CellArray

It seems to me natural to list first what @autodocs will show. Thus, in analogy, I would be tempted to do the selection for @index just the same way as for @autodocs:

```@index
Modules = [CellArrays]
Order = [:type]
Filter = t -> typeof(t) !== CellArray

However, to my surprise Filter is not supported for @index. Is there any particular reason for this or could this be added?

Guida contributor