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

Extract margin directive to separate repository #327

Closed
jpmckinney opened this issue Apr 22, 2021 · 6 comments
Closed

Extract margin directive to separate repository #327

jpmckinney opened this issue Apr 22, 2021 · 6 comments

Comments

@jpmckinney
Copy link

I'm using the PyData theme, but it would be nice to be able to use the margin directive. Would it be possible to extract it?

@welcome
Copy link

welcome bot commented Apr 22, 2021

Thanks for opening your first issue here! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.

If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).

Welcome to the EBP community! 🎉

@choldgraf
Copy link
Member

The main challenge is that it'd conflict with the elements on another theme, and is kind of context dependent. Eg, how would you deal with the overlap between the margin and the in-page TOC?

@jpmckinney
Copy link
Author

jpmckinney commented Apr 23, 2021

But, yeah, without the CSS, I guess it is basically the same as the sidebar directive from docutils?

@choldgraf
Copy link
Member

Ah interesting - we certainly could just add a super lightweight python package that added a margin directive. Would that help? Or maybe it'd be easier just to add your own margin directive?

@jpmckinney
Copy link
Author

I'm going to try out the plain sidebar and see how far i get :)

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