0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 09:33:54 +01:00
Commit Graph

18 Commits

Author SHA1 Message Date
Kalob Taulien
fa1d79a432 End tag typo fix
Documentation typo. ¯\_(ツ)_/¯
2023-11-30 06:52:28 +10:00
LB Johnston
2e2e8f4452 Minor documentation formatting (Prettier) 2023-11-13 09:53:38 +11:00
Thibaud Colas
567e84b4ea
Update image documentation to have more details for picture and srcset_image tags (#11167) 2023-11-01 12:11:46 +00:00
Jake Howard
69724e4e3a Create preview-aware & page-enhanced cache template tags
This can be used in other places, but ensures caches are invalidated
whenever something about a page changes.

- Add a util to get wagtail-specific fragment cache keys
- Don't pollute context when injecting site variable
- Add documentation on wagtail fragment caching
- Define an intelligent cache key for pages
- Allow the components of the cache key to be easily modified
- Note that some manual changes may not create a new cache key

Co-authored-by: Andy Babic <andyjbabic@gmail.com>

Closes #5074
2023-07-20 08:24:09 +10:00
sag᠎e
ed36b5b9b6
Improve customisability of the accessibility checker configuration. Fix #10137 (#10333)
* Extract userbar BaseItem.get_context_data()
* Extract Axe config into smaller attributes and methods for easier overrides
* Add TypeScript interface for WagtailAxeConfiguration
* Improve typings for userbar.ts
* Separate Axe `runOnly` and `rules` options
* Pass request object to all axe configuration methods
* Remove Axe runOnly option if it's falsy
* Add docs for customising the accessibility checker
* Use lists for Axe include and exclude selectors
* Parse JSON script when testing accessibility checker config
* Add tests for customising accessibility checker configuration

Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-04-20 07:46:56 +01:00
LB Johnston
9e016c17b8 Documentation - whitespace formatting fixes
- Includes small fix for #9969 missing space
2023-01-28 06:59:01 +10:00
LB Johnston
edb86a7e8f Documentation - Fix missing links / images
Most of these are no longer applicable due to the introduction of Wagtail guide, where possible the new guide links are used now
- Re-add missing docs image for extending Draftail
- There is no Guide page (yet) for Inserting videos or images so those links have been removed
- Fix some additional reference issues where the page name and reference were causing issues
2023-01-05 12:08:27 +00:00
Jake Howard
0b72e3f598 Fix typo in docs
Co-authored-by: Matt Westcott <matthew@torchbox.com>
2023-01-04 16:13:56 +00:00
Jake Howard
0f209ee848 Add {% fullpageurl %} for resolving absolute URLs to pages 2023-01-04 16:13:56 +00:00
Albina
5cf621660c
Refactor Wagtail userbar as a web component (#9816)
* Add a border around the userbar menu in Windows high-contrast mode so it can be identified
* Make sure browser font resizing applies to the userbar
* Switch userbar to initialise a Web Component to avoid styling clashes
* Refactor userbar stylesheets to use the same CSS loading as the rest of the admin
2022-12-27 16:55:19 +00:00
Albina Starykova
032f521bbf Documentation - Improve grammar, spelling, and punctuation 2022-10-25 17:14:58 +10:00
Damilola Oladele
0fb66cd663
Grammatical adjustments of writing templates usage guide to resolve issue #9400 (#9401)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-10-20 08:29:09 +01:00
LB Johnston
666cc5e8e5 fix up legacy release note refs & use consistent format
- fix some broken refs that were lost in the migration to markdown files
- use lower_snake_case for all internal refs (most follow this convention)
- release process sub-section in docs should be named release schedule instead
2022-08-16 12:42:42 +01: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
Sandeep M A
bc0f561240 documentation - migrate reference/pages/theory + index to markdown 2022-07-05 22:05:20 +10:00
LB Johnston
cda437804e fix up markdown docs conversion issues
- introduced in #8759 & #8569
2022-06-30 16:36:37 +10:00
SilvestriStefano
f535a0cc43 Documentation - migrate reference/** files to markdown content
- relates to #8383
2022-06-30 09:57:26 +10:00
Sævar Öfjörð Magnússon
a316408928 convert the docs/topics/** from RST to Markdown
Relates to #8383

* Convert the image tag topic to Markdown
* Convert the permissions usage to Markdown
* Convert the topic of snippets to Markdown
* Convert the streamfield topic to markdown
* Convert the writing templates doc to Markdown
2022-06-23 08:12:07 +10:00