JuliaDocs/Documenter.jl

Add support for 'Filter' in `@index`

Open

#1 877 ouverte le 14 juil. 2022

Voir sur GitHub
 (2 commentaires) (0 réactions) (0 assignés)Julia (513 forks)batch import
Type: Enhancementhelp wanted

Métriques du dépôt

Stars
 (910 stars)
Métriques de merge PR
 (Merge moyen 16j 9h) (3 PRs mergées en 30 j)

Description

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?

Guide contributeur