0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 17:36:49 +01:00
Commit Graph

63 Commits

Author SHA1 Message Date
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
Matt Westcott
e0dc53d9ad Remove versionadded/versionchanged notes for 2.9 2020-07-28 12:53:22 +01:00
Storm Heg
8c306910dd Fix incorrect urls in the docs 2020-07-06 13:15:40 +01:00
Storm Heg
4076b9ef5e Replace calls to django.conf.urls.url with django.urls.path or django.urls.re_path 2020-07-06 13:15:37 +01:00
LB (Ben Johnston)
d3dd7296c9
docs - revise heading levels for feature detection (images) (#6029) 2020-05-15 09:42:37 +01:00
Neal Todd
2b35a852fe Add Rustface to the feature detection docs (images) 2020-05-10 17:09:33 +10:00
Sylvain Fankhauser
2055da6a3a Fix code example in image file formats docs 2020-04-25 15:39:05 +10:00
Matt Westcott
4023a90d6e Allow custom image model to have fields defined as required
If validation rules prevent the multiple image upload view from
creating Image objects from just the image file, an UploadedImage object is
created instead, and turned into an image once the form is filled in.

* Fixes #847
* Add UploadedImage model and related views
* Update custom image model docs
2020-04-20 14:46:24 +10:00
Matt Westcott
302d22e252 Release note for #5249 / #5629 2019-10-16 16:21:26 +01:00
frmdstryr
01e0cd9dac Support format-webp and allow changing default formatting 2019-10-16 15:02:59 +01:00
jacobtoppm
dd5cbd8d7a Add new docs page 'Changing rich text representation' (#5579)
* Add new docs page 'Changing rich text representation' describing how to subclass Format to provide a custom image html representation in rich text
2019-10-02 12:12:38 +01:00
Daniele Procida
72db52371a Updated feature detection notes 2019-07-21 18:03:09 +10:00
Sergey Fedoseev
47465197a9 Use intersphinx for Django references when possible. (#4896) 2018-11-14 11:48:32 +00:00
Yannick Chabbert
515aa61943 Add template tag for dynamic image url
Update documentation

Co-Authored-By: zerolab <dan@zerolab.org>
2018-10-28 16:21:46 +03:00
Victor Miti
c38b172793 updated Django Docs Links to point to *docs.djangoproject.com/en/stable/* 2018-05-18 14:43:42 +01:00
Matt Westcott
3fc9ed5119 Remove old versionadded/versionchanged notes 2018-05-18 11:43:28 +01:00
Karl Hobley
a9b4b09152 Fix spelling mistakes in documentation 2018-04-05 12:13:05 +01:00
LB
70eb2b6ae3 add on_delete argument to ParentalKey & ForeignKey 2017-12-15 10:33:09 +00:00
Karl Hobley
bf0f3e02ba Rename wagtail.wagtailimages to wagtail.images
Conflicts:
	docs/advanced_topics/api/v2/configuration.rst
	docs/advanced_topics/jinja2.rst
	docs/advanced_topics/settings.rst
	docs/getting_started/integrating_into_django.rst
	docs/getting_started/tutorial.rst
	docs/topics/pages.rst
	docs/topics/streamfield.rst
	gulpfile.js/config.js
	tox.ini
	wagtail/admin/tests/test_compare.py
	wagtail/admin/tests/test_edit_handlers.py
	wagtail/api/v2/signal_handlers.py
	wagtail/contrib/wagtailstyleguide/views.py
	wagtail/core/tests/test_streamfield.py
	wagtail/documents/tests/test_models.py
	wagtail/images/models.py
	wagtail/images/permissions.py
	wagtail/images/tests/test_admin_views.py
	wagtail/images/tests/test_image_operations.py
	wagtail/images/tests/test_models.py
	wagtail/images/tests/test_signal_handlers.py
	wagtail/images/views/chooser.py
	wagtail/images/views/images.py
	wagtail/images/views/multiple.py
	wagtail/images/wagtail_hooks.py
	wagtail/images/widgets.py
	wagtail/project_template/project_name/settings/base.py
	wagtail/tests/demosite/models.py
	wagtail/tests/non_root_urls.py
	wagtail/tests/settings.py
	wagtail/tests/testapp/migrations/0001_initial.py
	wagtail/tests/testapp/migrations/0008_inlinestreampage_inlinestreampagesection.py
	wagtail/tests/testapp/migrations/0009_defaultstreampage.py
	wagtail/tests/urls.py
2017-11-26 22:43:47 +00:00
Karl Hobley
bf7936ade2 Replace django.core.urlresolvers with django.urls 2017-11-01 16:22:46 +00:00
Scot Hacker
6364104282 Document get_rendition() 2017-02-21 22:48:20 +00:00
Matt Westcott
15cd1b43cb Fix unexpected full stop in the middle. Of a sentence. 2017-02-16 17:11:37 +00:00
Matt Westcott
25c2be10c3 Remove image feature detection signal handler from docs 2017-02-16 17:10:38 +00:00
Mike Dingjan
8c970e4848 Update documentation 2017-02-16 16:54:36 +00:00
Matt Westcott
1d4743d27c Update project template + docs to clarify that wagtail_urls should appear at the end of urlpatterns 2017-01-13 17:06:52 +00:00
Matt Westcott
978cd2e95b Switch to Rendition.filter_spec as the active field for looking up filters 2016-12-06 15:03:15 +00:00
Tim Heap
6ba34636cb Fix whitespace errors in docs
Trimmed trailing whitespace, convert tabs to 4 spaces, add preference
for spaces to `.editorconfig`.
2016-11-28 13:41:35 +00:00
Tim Heap
254e675634 Use .. code-block:: console for all shell commands
This is the correct lexer for interactive console sessions, according to
<http://pygments.org/docs/lexers/>. This does require command lines to
be prefixed with `$`, otherwise they are interpreted as the output of a
command. It highlights the command nicely, including environment
variables, strings, and comments.
2016-11-28 13:41:35 +00:00