docs: add Spacer reference notebook - #8681
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8681 +/- ##
==========================================
- Coverage 85.89% 85.33% -0.56%
==========================================
Files 350 350
Lines 57169 57169
==========================================
- Hits 49104 48784 -320
- Misses 8065 8385 +320 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Contributor
Author
|
CI note: the failed UI jobs are unrelated existing timing failures in Tabulator horizontal-rescroll, reload/JupyterLite, and Jupyter server tests; none touches the new Spacer reference notebook. The type job reports only the existing coroutine callback annotations in |
Member
|
Thank you @Kkkakania! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add the missing reference notebook for
Spacer,HSpacer, andVSpacer. The page explains fixed and responsive spacing and includes runnable examples for fixed gaps, horizontal distribution, vertical distribution, and bottom-right alignment.This keeps the related spacer variants together in one discoverable reference page and completes the missing layout entry requested in both issues.
Closes #3415.
Closes #3416.
Validation
PYTHONPATH=. .venv/bin/python -m pytest --nbval-lax examples/reference/layouts/Spacer.ipynb -q(5 passed)uvx pre-commit run --files examples/reference/layouts/Spacer.ipynbAI disclosure: this documentation contribution was AI-assisted. I reviewed every example, executed the notebook top-to-bottom, and ran the repository pre-commit hooks.