Skip to content

autodoc: top-level file doc-comment is not rendered from files in the crypto namespace #19802

Open
@perillo

Description

@perillo

Zig Version

0.13.0-dev.44+9d64332a5

Steps to Reproduce and Observed Behavior

I found this issue while reading 8a36a1f and running zig std. The file documentation is not added.

This issue is probably caused by the fact that in the crypto namespace, files are imported from inside a struct.

Another problem with how zig std is structured is that often important top-level file documentation is ignored, because only some declarations are imported, instead of the file.

An example is std/crypto/aegis.zig.

Expected Behavior

The top-level file doc-comment should always be available in the docs, since it may contain useful information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    autodocThe web application for interactive documentation and generation of its assets.bugObserved behavior contradicts documented or intended behavior

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions