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

Add option to expand namespaces in sphinx directive. #3631

Merged

Conversation

greschd
Copy link
Member

@greschd greschd commented Dec 10, 2019

Fixes #3505.

Adds the :expand-namespaces: flag to the sphinx directive, which causes the <details> tags to be created with open="open" attributes. This makes them expand by default (collapsible by clicking). Added this case to the test / demo documentation of the sphinx extension, and in the documentation for CalcJob, where the options are explained.

Adds the :expand-namespaces: flag to the sphinx directive, which
causes the <details> tags to be created with 'open="open"'
attributes. This makes them expand by default (collapsible by
clicking). Added this case to the test / demo documentation of the
sphinx extension, and in the documentation for `CalcJob`, where
the options are explained.
@greschd greschd requested a review from ltalirz December 10, 2019 14:21
Copy link
Member

@ltalirz ltalirz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @greschd ! looks good to me.
I've also tried it locally - it works :-)

@sphuber sphuber merged commit 80db4ef into aiidateam:develop Dec 10, 2019
@greschd greschd deleted the add_sphinxext_option_expand_namespace branch December 13, 2019 15:30
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.

Add option to sphinxext directive to expand namespaces by default.
3 participants