-
-
Notifications
You must be signed in to change notification settings - Fork 15
[FEATURE] add configuration block directive #795
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
Conversation
ddf33ff
to
96a6cbf
Compare
Maybe we should change the template a bit to work with this css trick: https://css-tricks.com/examples/CSSTabs/radio.php |
...ges/guides-restructured-text/src/RestructuredText/Directives/ConfigurationBlockDirective.php
Outdated
Show resolved
Hide resolved
packages/guides-restructured-text/resources/config/guides-restructured-text.php
Show resolved
Hide resolved
The default theme doesn't come with CSS though as far as I know. Maybe we can use In the bootstrap extension, we have to override this anyways to use BootstrapCSS's tabs styling. And the same applies to Symfony. |
...des-restructured-text/src/RestructuredText/DependencyInjection/ReStructuredTextExtension.php
Show resolved
Hide resolved
...ges/guides-restructured-text/src/RestructuredText/Directives/ConfigurationBlockDirective.php
Outdated
Show resolved
Hide resolved
...ges/guides-restructured-text/src/RestructuredText/Directives/ConfigurationBlockDirective.php
Outdated
Show resolved
Hide resolved
This "Trick" is not accessible however. |
96a6cbf
to
2a2bce9
Compare
tests/Integration/tests/directives/directive-configuration-block/input/guides.xml
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work, I only have a few small remarks
...ges/guides-restructured-text/src/RestructuredText/Directives/ConfigurationBlockDirective.php
Outdated
Show resolved
Hide resolved
61ce8ba
to
db45967
Compare
db45967
to
f1453d7
Compare
@jaapio shall we merge this? |
Add the implementation of the configuration block directive. To make the implemtation more generic a configuration option is introduced. This will allow the users to configure their own labels. Co-authored-by: Wouter de Jong <wouterj@users.noreply.github.com>
654c270
to
8ef9662
Compare
Add the implementation of the configuration block directive. To make the implemtation more generic a configuration option is introduced. This will allow the users to configure their own labels.