Closed AakashGfude closed 11 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
e65778b
) 73.18% compared to head (8e898ab
) 73.07%. Report is 2 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
thanks @AakashGfude this is looking nice.
does the margin
note need to have a title (or is that optional?)
@mmcky, that is optional, but it currently has a fixed title space. The style coming from Pydata:
Unlike that in sbt:
I will fix it.
@mmcky I have done this here, for margins without title:
thanks @AakashGfude happy for your to go ahead and merge when you're ready.
can you add that this is supported to the docs as well
@mmcky, this has been added to the docs. What do you think?
@mmcky I have also cleaned the design a bit, mimicking the sphinx-book-theme now:
What do you think?
There are a few additional changes/additions for margin content:
figclass: margin-caption
for making figure captions behave as margins. [x] making margins responsive (handling for phone screens).
[x] styling notes code blocks for margins.
thanks @AakashGfude this is looking nice -- much better.
Last question -- what happens on the latex
side of things for margin notes?
@AakashGfude I am going to merge this just curious re: latex side if we start to use them.
Last question -- what happens on the latex side of things for margin notes?
@mmcky, I have this planned this week—the latex thing. The latex build was failing in my system, so I could not test it immediately. I will correct that first.
@mmcky for latex build, the margin is looking like this:-
What do you think is the best UI for margins? Given they can't stick to the sides like websites. Let me check jupyter book as well
thanks @AakashGfude if they don't break LaTeX
builds that is great news.
That means we can deploy this theme update without potential lack of support on the pdf
side causing build failures.
Of course it would be good to add support for it over time to sphinx-jupyterbook-latex
Perhaps next steps are:
sphinx-jupyterbook-latex
to make improvements to margin
object support in pdf
TeX
support https://www.overleaf.com/learn/latex/Margin_notesThat sounds excellent @mmcky. Thanks, I will do that.
Desktop :
Mobile:
TODO:
fixes https://github.com/QuantEcon/quantecon-book-theme/issues/229