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

Introduce partial sphinx-design support #1011

Merged
merged 3 commits into from
Jul 4, 2024

Conversation

jdknight
Copy link
Member

@jdknight jdknight commented Jul 4, 2024

Adding some limited support for various sphinx-design capabilities. This commit helps:

  • Prevent warnings when processing the PassthroughTextElement node.
  • Provides partial support for drop-down boxes (using expand macros).
  • Basic support for cards, placed into panels. No column support but does handle some header, title and footer logic.
  • Partial support for badges.

jdknight added 3 commits July 3, 2024 23:18
Providing a decorator implementation in attempt to automatically append
tags when processing a type of node. This is an attempt to reduce the
complement logic between the visit and depart nodes, mainly when it
becomes a bit too complex to track what end-tags needs to be applied in
the depart method.

Applying to the container node for now. May be expanded on other nodes,
or removed if deemed to be not helpful.

Signed-off-by: James Knight <[email protected]>
Adding some limited support for various sphinx-design capabilities.
This commit helps:

- Prevent warnings when processing the `PassthroughTextElement` node.
- Provides partial support for drop-down boxes (using expand macros).
- Basic support for cards, placed into panels. No column support but
   does handle some header, title and footer logic.
- Partial support for badges.

Signed-off-by: James Knight <[email protected]>
Provides a litter blurb for users to indicate how sphinx-design is
supported, and what limitations exist.

Signed-off-by: James Knight <[email protected]>
@jdknight jdknight merged commit 4f535a8 into main Jul 4, 2024
29 checks passed
@jdknight jdknight deleted the support-limited-sphinx-design-options branch July 4, 2024 03:42
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

Successfully merging this pull request may close these issues.

1 participant