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

align and caption #40

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Conversation

berlin2123
Copy link

add align and caption.

related to : #38 #39

Copy link
Member

@12rambau 12rambau left a comment

Choose a reason for hiding this comment

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

I checked the pre-build and it seems wrapping the video tags in a div is defaulting to center. Can you make sure that default remains consistently to the left ?

Can you add an example for each alignement so the users can feel the difference (and we can visually check it works as expected) ?

Can you regenerate the tests, adding the div is breaking every build.

sphinxcontrib/video.py Outdated Show resolved Hide resolved
sphinxcontrib/video.py Outdated Show resolved Hide resolved
sphinxcontrib/video.py Outdated Show resolved Hide resolved
:align: right

For consistency with previous versions, which not support align, the default value of align 'left' when the it is not set.
If you want to use the 'default' defined by theme, you need to, manually, set it to 'default':
Copy link
Author

Choose a reason for hiding this comment

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

default: <not setted> = left
however, setting to 'default' = <the default in theme>
The puzzling word 'default'.

Or no longer required to be consistent with the previous versions?

Copy link
Member

Choose a reason for hiding this comment

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

In which theme did you faced "default" ?

Copy link
Author

Choose a reason for hiding this comment

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

sphinx_book_theme, pydata_sphinx_theme

Copy link
Author

Choose a reason for hiding this comment

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

Please decide default alignment: follow past versions, or let the theme control?
Once determined and modified you can merge.

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.

None yet

2 participants