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

Unknown option "width" for grid-item-card #109

Closed
Legrandin opened this issue Nov 25, 2022 · 4 comments · Fixed by #115
Closed

Unknown option "width" for grid-item-card #109

Legrandin opened this issue Nov 25, 2022 · 4 comments · Fixed by #115
Labels
bug Something isn't working

Comments

@Legrandin
Copy link

Legrandin commented Nov 25, 2022

Describe the bug

I am using a grid-item-card like this:

.. grid-item-card::
    :width: auto

   Some text

but I get the message from sphinx:

ERROR in "grid-item-card" directive: unknown option: "width".

While in theory width should be supported: https://sphinx-design.readthedocs.io/en/latest/cards.html#card-options .

Reproduce the bug

See above for sample.

List your environment

This happens with:

Sphinx==5.3.0
sphinx_design==0.3.0
docutils==0.19
@Legrandin Legrandin added the bug Something isn't working label Nov 25, 2022
@welcome
Copy link

welcome bot commented Nov 25, 2022

Thanks for opening your first issue here! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.

If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).

Welcome to the EBP community! 🎉

@jpmckinney
Copy link
Contributor

Similarly, I get Directive 'grid-item-card': Unknown option: class-img-top

@Legrandin
Copy link
Author

Thanks! Any chance for a release to be published on PyPI soon?

@tkknight
Copy link

tkknight commented Jan 4, 2023

I believe I also have the same issue:

ERROR: Error in "grid-item-card" directive: unknown option: "class-img-top"

...which I think the docs state should be supported, so +1 for getting #115 merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants