Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve .. constant:: directive #27

Open
cgay opened this issue Jun 9, 2023 · 0 comments
Open

Improve .. constant:: directive #27

cgay opened this issue Jun 9, 2023 · 0 comments

Comments

@cgay
Copy link
Member

cgay commented Jun 9, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant