Wykres commitów

90 Commity (main)

Autor SHA1 Wiadomość Data
Cynthia Kiser 530cc5c355
Added tests for AbstractRendition's unique constraint check
Co-authored-by: Sage Abdullah <sage.abdullah@torchbox.com>
2025-02-06 11:40:15 +00:00
Cynthia Kiser e6f27c95e8 Update accessibility concerns docs in light of GSOC contextual alt text project
This also documents default_alt_text, providing a stricter example that does not fall back to image title
2025-01-20 11:46:54 +00:00
Matt Westcott a6b64dc42e Release notes for #12040 / #12787 2025-01-17 20:37:09 +00:00
Sage Abdullah ddf8423f3c
Use stable link to Wand docs
There's only one link to Wand's docs, not worth adding an
intersphinx_mapping entry.
2024-11-05 10:44:40 +00:00
Sage Abdullah 857b26e5a0
Replace hardcoded Django docs links to intersphinx links 2024-11-05 10:44:39 +00:00
Aayushman Singh 71a735476c Docs - images/documents title generation - update for CSP compliant examples
- Add helpful intro content, insure formatting of Python/JS is consistent
- Avoid inline scripts, instead ensure the example shows external script usage
2024-11-02 10:29:19 +10:00
Srishti-j18 fd9b1ca22b Docs - Update spelling to US customize variants
Fixes #12476
2024-10-29 18:47:43 +10:00
Srishti-j18 d2f476c050 Documentation - Update page titles to align with Style Guide
- Use sentence case for headings and titles. (as per the Google Developer Documentation Style Guide)
- Fixes #12466
2024-10-27 15:27:03 +10:00
LB d459bdb5dc Clean up whitespace items in documentation markdown 2024-10-24 11:51:15 +01:00
Matt Westcott 92567f6203 Document HEIC image support 2024-10-17 23:12:27 +01:00
Matt Westcott f7fa20e600 Upgrade Sphinx to 7.3; use newer syntax for no-index directive and --fail-on-warning switch 2024-07-23 10:13:03 +01:00
Himanshu Garg 9adf742580 fixes errors by adding aliases, double backtick, changing indexentry 2024-07-18 23:15:40 +01:00
Jake Howard afbafd657d Remove duplication on performance page for frontend caching proxies (#11871) 2024-04-29 19:10:07 +01:00
LB Johnston 79bc23788b Docs - Add additional reference to `wagtail_update_image_renditions` command
- We have other references to this command added in 5.2 however we did not include this in the page that goes into detail of Image renditions
- See #8166
2024-03-23 22:56:03 +10:00
osafalisayed c08ca65181 Added documentation for get_upload_to function in AbstractImage and AbstractRendition class
- Builds on previous PR #8228
- Fixes #2601
2024-01-30 08:41:17 +10:00
Buraah 56335de636 Update documentation globally to use US spelling (not UK) + grammar fixes
- Transferred all British spellings in the usage guide and advanced topics section to American spellings
2024-01-30 07:30:57 +10:00
LB Johnston 2e2e8f4452 Minor documentation formatting (Prettier) 2023-11-13 09:53:38 +11:00
LB Johnston 8002e75775 Documentation - Add initial Stimulus docs
- Move extending React to new extending client-side page within advanced topics
- Add general extending JavaScript / client-side overview
- Prepare initial Stimulus usage documentation
- Resolves #10197
- Apply suggestions from code review - Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-10-19 07:28:27 +01:00
Paarth Agarwal 41dac89e1d Add srcset_image tag for responsive images 2023-10-17 16:09:06 +01:00
LB Johnston d6888e05e4 Update Format.classnames to be Format.classname
- Aligns with the naming convention set from Wagtail 4.2
- Add deprecation warnings if classnames is accessed & unit tests for this
- Update other unit tests to use the naming
2023-10-05 21:10:39 +11:00
Andreas Nüßlein 6eda5d5d12 fix typo 2023-09-21 16:45:57 +01:00
Andy Chosak dbc130e565 Fix minor typos in the docs
"JavasScript" -> "JavaScript"
2023-09-14 06:36:46 +10:00
Hatim Makki Hoho bf709279d5 Update focal_points.md (#10878)
corrected the load from {% load wagtailimages %} to {% load wagtailimages_tags %}
2023-09-11 20:13:19 +01:00
zerolab ce4afcd578 Update documentation for AVIF support
Co-Authored-By: Aman Pandey <74553951+salty-ivy@users.noreply.github.com>
2023-07-14 16:17:53 +01:00
Jake Howard 27a203f697
Always cache renditions
This should provide a big performance boost to those who don't set the cache, with minimal extra overhead.
2023-07-12 16:35:06 +01:00
Andy Babic 659c46042e
Add documentation for `Image.get_renditions()` (#9550) 2023-06-29 16:22:16 +01:00
Matt Westcott 18a574b520 Remove old versionadded / versionchanged directives from docs 2023-02-08 14:25:09 +00:00
Jhonatan Lopes 7a6feb188f Link django docs to stable version 2023-01-11 20:18:04 +10:00
Damilola Oladele de28bca258
Grammatical adjustments of advanced topic `images`, to resolve issue #9407 (#9408)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-10-21 00:30:13 +01:00
Jake Howard 55f42d29c8 Mention using the `image_url` tag for increased performance on image URLs 2022-10-18 08:16:02 +10:00
LB (Ben Johnston) 18371e2113
Documentation - adopt consistent `sh` console code snippets (#9321) 2022-10-13 07:25:19 +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
LB Johnston e140c41a89 documentation - markdown formatting
- apply general fixes to existing markdown documentation
- various cases of rst syntax still used
- update some links to be the new format
- clean up line breaks (prettier)
2022-06-25 22:44:42 +10:00
Tidiane Dia 25c43273a9 Add docs and releases notes for `prefetch_renditions` method
Also add tests to ensure example in docs works fine.
2022-06-01 16:51:35 +01:00
Thiago Costa de Souza 4424d23fa4 documentation - migrate advanced_topics/images/** to md 2022-05-27 07:51:45 +10:00
LB Johnston d9981e0ec7 fix up spelling in documentation & docstrings (should be en-GB not en-US)
- customize -> customise
- color -> colour
- customizing -> customising
- organize -> organise
2022-05-13 08:13:06 +10:00
Daniel Kirkham c877bf9886 convert various documentation pages to Markdown
- Removes use of topic:: in docs as this directive is not needed
- resolves #8323
2022-04-18 08:16:27 +10:00
Andy Babic 0c1ecc35f1
Add guidance on rendition prefetching to docs (#8363) 2022-04-16 11:18:23 +01:00
Andy Babic 2d5571f316 Include the new methods in the docs 2022-04-14 12:12:23 +01:00
Kevin 0ed4375c3d Fixes incorrect link to Wand docs 2022-04-07 16:20:43 +01:00
LB Johnston 5f4942f9ad documentation - fix broken docs references
- remove 2.16 reference to setting that no longer exists
2022-04-07 12:52:03 +01:00
Karl Hobley 75cc7da38a Move wagtail.core to wagtail 2022-03-17 17:19:59 +00:00
Matt Westcott 8d40a978ef Remove old versionadded / versionchanged notes 2022-02-08 19:00:47 +00:00
LB Johnston 307d0126a2 add ability to customise the pre-filled document title
- leveraging a custom DOM event provides the ability to update the title before being added to the form
- add documentation
- fixes #7508
- see also #4945
- update image docs for same behaviour to be more readable
2021-10-15 18:25:23 +10:00
LB Johnston e03c86f3f8 add ability to customise the pre-filled Image title
- leveraging a custom DOM event provides the ability to update the title before being added to the form
- multiple image upload (view) needs to be able to read the title POST data
- add documentation
2021-10-06 19:53:30 +10:00
Karl Hobley beeb6066ad Changelog / release note for #6843 2021-07-30 11:22:59 +01:00
Karl Hobley 2b2256a31f Implemented background_position_style property on renditions 2021-07-30 11:08:44 +01:00
Karl Hobley 750ecf50b6 Transform focal point 2021-07-30 11:08:44 +01:00
Storm Heg 24ef0e62e6 Fix documentation indentation
Fix code block indentation in tutorial.rst

Prevent it from being displayed as a quote.

Fix indentation in pages.rst

Fix indentation in indexing.rst

Fix indentation in searching.rst

Fix indentation in backends.rst

Fix indentation in renditions.rst

Fix indentation in custom_image_model.rst

Fix indentation in feature_detection.rst

Fix indentation in image_serve_view.rst

Fix indentation in custom_document_model.rst

Fix indentation in i18n.rst

Fix indentation in privacy.rst

Fix indentation in page_editing_interface.rst

Fix indentation in rich_text_internals.rst

Fix indentation in extending_hallo.rst

Fix indentation in configuration.rst

Fix indentation in usage.rst

Fix indentation in theory.rst

Fix indentation in model_reference.rst

Fix indentation in queryset_reference.rst

Configure editors to indent .rst files with 2 spaces

In order for the documentation to be styled correctly, the generator
depends on indentation. Too much indentation can result in the content
being wrapped in a quote block, which looks bad.

Fix indentation in sitemaps.rst

Fix indentation in frontendcache.rst

Fix indentation in routablepage.rst

Fix indentation in table_block.rst

Fix routablepage.rst autodocs disppearing

Fix indentation in table_block.rst

Fix indentation in redirects.rst

Fix indentation in table_documentation-modes.rst

Fix indentation in browser_issues.rst

Fix indentation in release_process.rst

Fix indentation of release notes

One more indent fix in the release notes

Fix indentation warnings

Fix warning about undefined label in docs

Error during `make html`:

  wagtail/docs/releases/1.7.rst:25: WARNING: undefined label: jpeg_image_quality
2021-02-26 09:17:00 +00:00
Karl Hobley 9195131738 Lint docs with doc8 2020-10-03 14:43:03 +01:00