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

needgrid: needs inside a grid as result of a filter. #1140

Open
danwos opened this issue Mar 8, 2024 · 0 comments
Open

needgrid: needs inside a grid as result of a filter. #1140

danwos opened this issue Mar 8, 2024 · 0 comments
Assignees

Comments

@danwos
Copy link
Member

danwos commented Mar 8, 2024

.. needgrid:: shall represent found needs in a grid system.
The need objects themselves are need-representations, like needextract is doing.

Example:

.. needgrid:: 3
   :filter: "my_needs" in tags
   :layout: focus
   :style: discreet

image

The argument is taken from Sphinx-Design grids, which is defining how many columns an entry shall take.
Also all the other Sphinx-Design grid and grid-item options could be made available.

I'm not sure if this function needs to be based on a loaded Sphinx-Design or if the grid-system can/should be reimplemented. Happy to discuss possibilities 😄

Links:
Sphinx-Design grid system: https://sphinx-design.readthedocs.io/en/latest/grids.html
Sphinx-Needs needextract: https://sphinx-needs.readthedocs.io/en/latest/directives/needextract.html

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

2 participants