Skip to content

Tell Documenter about non-exported names that are part of my package's public API #1506

@DilumAluthge

Description

@DilumAluthge

In my package's documentation, I have a page public.md with the following contents:

# Public API

```@autodocs
Modules = [MyPackage]
Public = true
Private = false
```

And a page private.md with the following contents:

# Private API (Internals)

```@autodocs
Modules = [MyPackage]
Public = false
Private = true
```

Obviously, all of the exported names in my package are part of the public API. However, the converse is false. There are some names in my package that part of the public API but are not exported.

Unfortunately, currently, these names will show up on the private.md page, and they will not show up on the public.md page.

Is there a way to tell Documenter that certain non-exported names are actually part of the public API, so that they do show up under the public names and do not show up under the private names?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions