0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-22 11:07:57 +01:00
Commit Graph

21 Commits

Author SHA1 Message Date
Thibaud Colas
d7ccda33f6
Update sphinx-wagtail-theme and search implementation (#12521) 2024-11-01 09:35:43 +00:00
Sage Abdullah
78120671da Ensure docs template layout override is XHTML-compatible for ePub 2024-10-31 07:52:49 +10:00
Sævar Öfjörð Magnússon
435293d9d7 Extend the until date of the promotion banner for Wagtail Space 2024-06-13 15:16:29 +02:00
Sævar Öfjörð Magnússon
d44808ac53 Update the date for Wagtail Space US 2024-06-13 15:07:19 +02:00
LB Johnston
d5385033fc Fix closing button tag for promotion banner
See #11554
2024-02-08 07:37:01 +10:00
LB Johnston
f029e46f5e Documentation - Refactor promotion banner without jQuery
- Use HTML template in layout for content
- Use non-jQuery JS
- Ensure that the cookie has the sameSite value set correctly
- Set closed cookie duration to 90 days (instead of 30)
- Add upcoming Wagtail Space events 2024 & adjust styles to suit two links
2024-01-31 12:24:46 +10:00
Matt Westcott
814c6b3865 Bump djhtml to 3.0.6 (#11158)
Notably, this changes the behaviour of multi-line HTML tags so that attributes are aligned (https://github.com/rtts/djhtml#new-multi-line-html-elements). The pre-commit hook was already set to use djhtml 3.0.6, which meant that it was making changes that conflicted with the formatting rules enforced by the Makefile and CI.
2023-10-31 10:11:02 +00:00
LB Johnston
8fbf5df3f2 Docs - fix small typo in HTML layout 2023-08-09 19:50:59 +10:00
Thibaud Colas
d5e4ac5590
Update Algolia DocSearch integration with new application and correct versioning setup 2023-03-10 15:57:17 +00:00
LB Johnston
935fead9a3 use search input type for documentation search
- see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/search
2022-09-23 06:53:34 +10:00
LB Johnston
955ca7ad50 update Sphinx Wagtail Theme to 5.3.0
* https://pypi.org/project/sphinx-wagtail-theme/5.3.0/
* https://github.com/wagtail/sphinx_wagtail_theme/blob/main/CHANGELOG.md#530---2022-08-20
* https://github.com/wagtail/sphinx_wagtail_theme/blob/main/CHANGELOG.md#520---2022-08-17

Additional changes
- use the magnify icon on the search field like the sphinx theme
- ensure the algolia search inputs work correctly for dark mode (the JS initially grabs the colour on page load and put on the new input field)
- fix issue of overflow x hidden being required due to the hidden input field not wrapping
- remove custom.css overrides that are no longer needed (are in the theme)
2022-08-24 06:07:47 +10:00
Dolidodzik
b131b4813e replace latin abbreviations with english phrases & updated docs guidelines
- added sub-section to language part of general_guidelines.md
- fixes #8860
2022-07-20 16:11:38 +10:00
Paarth Agarwal
1545417cc5
Add pagination to docs search results page (#8178)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-07-15 13:35:26 +01:00
Steve
01986cfa17 Indent templates with djhtml 2022-02-12 01:15:51 +00:00
Thibaud Colas
046685149a
Add new version fo Wagtail Space docs banner. Fix #6089 (#7956)
* Add new version fo Wagtail Space docs banner. Fix #6089

* Fix closing date

Co-authored-by: Matt Westcott <matthew@torchbox.com>
2022-02-11 12:38:22 +00:00
Jake Howard
e9183a95c8 Update docs links to reference new domain 2022-01-15 20:04:24 +10:00
Coen van der Kamp
ed4ed7a338
Add Sphinx Wagtail Theme (#6930)
Add Sphinx Wagtail Theme
2021-04-20 11:24:17 +02:00
Thibaud Colas
ca48709e5c
Lock nav and page scroll together only when search autocomplete is open. Fix #6935 (#7015) 2021-04-16 14:18:59 +01:00
Thibaud Colas
23f146c7e1
Fix DocSearch widget initialisation JS error (#6884) 2021-03-08 14:18:01 +00:00
Tibor Leupold
328e7012fc
Switch documentation search to Algolia DocSearch (#6833)
Co-authored-by: Scott Cranfill <scott@scottcranfill.com>
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
Co-authored-by: Andy Chosak <andy@chosak.org>
2021-03-08 11:51:06 +00:00
Karl Hobley
111a195f06 Insert Plausible.io analytics code into docs 2021-02-18 18:14:10 +00:00