Feature Request: JupyterBook Layout Control #1036
Labels
admin
Administrative work
enhancement
New feature or request
feature request
Issues to request new features
jupyterhub
Work related to our notebooks tooling
portfolio work
Work related to the analytics portfolio
tooling
Work related to the management of our tooling and shared modules
Projects
Where does your feature apply?
Select from the below, and be sure to affix the appropriate label to this issue (e.g.
dataset
,jupyterhub
,metabase
,analytics.calitp.org
)Is your feature request related to a problem? Please describe.
We've updated to the latest JupyterBook version, which makes things a little narrower by default. However, it also includes a way to designate cell outputs for additional width via tags.
Describe the solution you'd like
Analysts able to specify cells for additional width (and possibly other page layout controls such as sidebar) when running parameterized notebooks via the portfolio script.
Describe alternatives you've considered
%%full_width
to signal the portfolio script to append the"full-width"
tag to that cell. Requires corresponding change to calitp_data_analysis.magicssidebar
as well.Use existingand portfolio logic. Revise portfolio script to append all tags provided in an iterable passed via%%capture_parameters
cell magiccapture_parameters, i.e.No change required to calitp_data_analysis.magics, additionally provides flexibility to append any set of tags to any cell. Would require supporting documentation, since appended tags would necessarily be per-cell while all other user-set parameters would persist.
edit, won't work with
%%capture_parameters
but overall concept would still work for a new magic allowing flexibility5. Something else?
@tiffanychu90 thoughts? I'm leaning towards 4.
Additional context
Current state with narrowed content:
The text was updated successfully, but these errors were encountered: