| Age | Commit message (Collapse) | Author |
|
Co-authored-by: Paolo Melchiorre <pmelchiorre@rippling.com>
|
|
|
|
Some of the functionality of the floating warning on unsupported and
in-development documentation versions was implemented using JavaScript.
This is longer necessary if we use the following approach with modern
CSS:
Attach the warning element the top of the page with `position: sticky`.
This almost solves the problem, but we still have to scroll past header
elements when an internal page link is clicked. This is achieved with a
combination of the `:has` pseudo-class and the `scroll-margin-top`
property.
We apply `scroll-margin-top` to elements that can be scrolled to by
their `id` attribute. This is done with responsive breakpoints to get
appropriate spacing when the floating warning has one, two, or three
lines of text. Thanks to `:has`, this only happens when a warning
element is on the page.
The modern CSS features used are widely-supported:
- https://caniuse.com/css-has
- https://caniuse.com/css-sticky
- https://caniuse.com/mdn-css_properties_scroll-margin-top
Other than making the primary CSS changes and removing the related
JavaScript, this patch does the following:
- Simplify the CSS so that the class on all floating warning elements
implements the common rules and the CSS for the IDs on the elements
implements the colors
- Add a `z-index` to warning elements so that they always display in
front of the header element
- Move the floating warning element to the top of the page in the HTML
- Remove the `body_extra` block that was only being used by the
floating warning element
- Add a new `before_header` block for the floating warning element
Thank you to Baptiste Mispelon and Thibaud Colas for helping me arrive
at this solution.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The blog results should have a property of whether it is included in
the search results.
* Added is_searchable.
* Used Entry.get_absolute_url to encapsulate www host.
* Extracted get_search_config helper function.
Co-authored-by: Baptiste Mispelon <bmispelon@gmail.com>
|
|
than plural.
|
|
This was requested by the fundraising working group.
I abstracted the top `CorporateMember` display from the `releases` app
sidebar into a new inclusion tag called `top_corporate_members` and
included it in its original place as well as in the `docs` sidebar as
requested.
Uploaded images for `CorporateMember`s may not display in local
development environments do to the way media files paths work with
subdomains.
|
|
|
|
|
|
Thank you to Paulo Melchiorre, Tom Carrick, Marijke Luttekes, and
Baptiste Mispelon for the reviews.
|
|
|
|
Thank you Marijke Luttekes for the review.
|
|
This reverts commit f1fca5e8a412da1bb8b5ffd11a59eac8579738bb.
|
|
This reverts commit f87e1dbd3c06fe9b1100ddcd06394de5ae338577.
|
|
This reverts commit af929f0734c319447a061e82b0353fc48b792ec4.
|
|
|
|
This reverts commit fa56d9b841e0bd23c5c8871826ba6abe2205fdb4.
|
|
Thank you Baptiste Mispelon for the review.
|
|
|
|
|
|
|
|
Refs #1727
|
|
|
|
|
|
The banner was removed a bit too hastily, as it turns out.
This reverts commit 41718b8022cbf01a03f34c6cee5012d068f1f08e.
|
|
This reverts commit d031005647b0c7cca98824a898ac31d218f52be2.
|
|
|
|
|
|
|
|
|
|
* add og:title to the docs
* escape strings
* remove | safe
* add test
* remove redundant escape
|
|
|
|
This reverts commits 41ae819cd6b2683c15177d877c5b4615f3767943 and
5246f6408c457a40ba4a487303382c09e6fec0f8.
|
|
Follow up to 5246f6408c457a40ba4a487303382c09e6fec0f8.
|
|
|
|
for more information, see https://pre-commit.ci
|
|
|
|
for more information, see https://pre-commit.ci
|
|
|
|
Co-authored-by: Sarah Abderemane <sarahabderemane@gmail.com>
|
|
* Fix CSS: .hover-on is applied to li, not ul
* Switcher that stays on click applies to both version & language
* Switcher is clickable, adjust pointer accordingly
* Apply easy PR review suggestions
|
|
This reverts commit 8bbbf9d58d13c43184bf7e1bebd6ec00477ead18.
|
|
Refs 8cfe240d8d1e60f8724aa8303f7afc68a01895ce
|
|
Adds link to the Discord server, the Forum where missing, and regroups
to be more consistent.
|
|
|