Skip to content

Improve .. constant:: directive #27

@cgay

Description

@cgay

We should be able to specify a constant's type as in .. constant:: $foo :: <type>.

index.rst:43: WARNING: Error in "constant" directive:
maximum 1 argument(s) allowed, 3 supplied.

.. constant:: $day :: <duration>

I assume it's the same for the .. variable:: directive.

In the generated output it should look something like $foo :: <type> Constant

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions