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

10838 Commits

Author SHA1 Message Date
dex
a6ce839a42 Include privacy within the settings tab section
Done by Phil and abigail!
2021-02-05 10:39:18 -08:00
Matt Westcott
4c278d81a1
Move "writing documentation" page into Contributing (#6789)
While we very much want to introduce an "explanation" section in some form, I don't think this should be the inaugural item in that section, as it's 'meta' documentation about the Wagtail documentation process, rather than information directed at Wagtail site creators.
2021-02-05 09:29:03 -05:00
Thibaud Colas
3ab80b9ec7
Add John Esther to CONTRIBUTORS 2021-02-05 00:14:20 +00:00
Matt Westcott
720cfebc22 Remove jinja2 from advanced_topics index
a bit of final cleanup from #6779
2021-02-04 20:34:20 +00:00
James Gutu
93abdabd41 moved jinja2 page from Advanced Topics to Reference 2021-02-04 12:12:11 -08:00
Andy Chosak
fdf1597263 Fix broken "make livehtml" command
The documentation suggests running `make livehtml` to automatically
build the docs as you're working on them [0].

This uses the sphinx-autobuild package [1] but unfortunately seems to
have been broken since its most recent release last year [2].

Specifically, the sphinx-autobuild command line syntax no longer accepts
shorthand options -p and -H, requiring use of --port and --host instead.
Additionally the --poll option is no longer supported.

To test, run `cd docs && make livehtml`.

[0] https://docs.wagtail.io/en/stable/contributing/developing.html#compiling-the-documentation
[1] https://github.com/executablebooks/sphinx-autobuild
[2] https://github.com/executablebooks/sphinx-autobuild/blob/master/NEWS.rst#20200901---2020-09-01
2021-02-04 11:55:02 -08:00
Coen van der Kamp
a4aa5c8cc9 Explain how we write documentation 2021-02-04 10:55:21 -08:00
Tom Dyson
4424cb7321
Improve demo site docs (#6787)
(mainly to test auto CI skipping in https://github.com/wagtail/wagtail/pull/6786)
2021-02-04 18:21:30 +00:00
Scott Cranfill
21503858eb
Limit GitHub Actions docs and test workflows depending on changed paths (#6786)
This should result in the docs workflow only running if files in the 
`docs/` folder have changed, and only run the test workflow if files NOT 
in the `docs/` folder have changed.

This commit itself should therefore, I think, only trigger the test 
workflow. I will follow up with test commits for the other scenarios 
(docs-only and both).
2021-02-04 18:00:46 +00:00
John Esther
e317e562ea
Changed the title for Wagtail AMP support (#6775) 2021-02-04 17:28:31 +00:00
Thibaud Colas
75b73b2bf6
Fix typo in inline code formatting (#6783) 2021-02-04 17:26:21 +00:00
James Gutu
7bb4fddcb3
Changed heading in image index (#6773)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2021-02-04 15:59:36 +00:00
Tom Dyson
b299096c16
Improve existing page docs in editor guide (#6777)
This is mainly to test [skip ci]
2021-02-04 15:41:33 +00:00
Tom Dyson
4fc528bef4
Remove excited tone (#6769)
Revert @phildexter's test PR, in the interest of maintaining our friendly but serious tone. Sorry Phil!
2021-02-04 15:37:57 +00:00
Andy Chosak
26ddeacff4
Merge pull request #6776 from LisaBallam/master
Remove 'new'
2021-02-04 10:22:35 -05:00
LisaBallam
29d1a8c7d1
Removed 'how to'
'How to' in included in the intro so doesn't need to be repeated
2021-02-04 14:42:18 +00:00
LisaBallam
bf716dfe2a
Remove 'new'
Wagtail is no longer that new - it's established
2021-02-04 14:34:16 +00:00
Tom Dyson
d84df721f0 Support skipping CI
Don't run CI if the commit message includes "[skip ci]" (like this one!)
2021-02-04 13:53:37 +00:00
Storm Heg
d3285e9f1b Quote pip install command in developing docs
Prevents it from failing with zsh: no matches found: .[docs]
2021-02-04 12:36:00 +00:00
dex
a4e9431cc5
Update tutorial.rst (#6766)
Just spicing it up a bit.
2021-02-04 12:19:40 +00:00
Matt Westcott
9217193513 Revert "Writing documentation in for modes"
This reverts commit 044206db0d.
2021-02-04 11:51:36 +00:00
Coen van der Kamp
044206db0d Writing documentation in for modes 2021-02-04 12:46:14 +01:00
Matt Westcott
41ff62a056 Release note for #6756 in 2.12.1 2021-02-03 11:00:18 +00:00
Matt Westcott
920aba28ba Release notes for #6713 and #6756 in 2.11.4 2021-02-03 10:59:08 +00:00
Karl Hobley
623942174c Publish aliases when the source page is published
Fixes # 6749

Aliases are currently not being published if they were created in draft
2021-02-03 10:43:05 +00:00
Matt Westcott
1a7a5816a5 Fill in release date for 2.12 2021-02-02 16:09:16 +00:00
Matt Westcott
843ac58ac7 Fetch new translations from Transifex 2021-02-02 16:08:34 +00:00
Matt Westcott
ab656424b7 Reinstate spidering of other documentation versions besides stable
These are now returning the correct canonical URL (thanks to a Cloudflare worker script), and letting search engines spider them again will hopefully boost visibility of that canonical URL.
2021-02-02 15:15:43 +00:00
Thibaud Colas
30b90a0f65
Improve wagtailforms accessibility guidance (#6740) 2021-01-29 19:45:48 +00:00
Matt Westcott
cb29fbba65 Release note for #6713 2021-01-29 16:12:55 +00:00
Karl Hobley
7131baab28 Add contributor entry for @helderco
For #6713
2021-01-29 14:08:53 +00:00
Thibaud Colas
29942d2a48
Add documentation formatting reference (#6729)
Co-authored-by: Andy Chosak <andy@chosak.org>
Co-authored-by: Tom Dyson <tom@torchbox.com>
2021-01-29 10:38:47 +00:00
Thibaud Colas
fce19a8059 Add release notes for #6730 2021-01-29 10:24:14 +00:00
Helen C
479855b27c Make image chooser "Select format" fields translatable
- Add explanatory comment
- Make form labels translatable
2021-01-29 10:24:14 +00:00
Helen C
5682aea460 Add the option to set images as decorative
If an image is decorative, the alt text will be set to be empty. If an image is not decorative, then alt text must be supplied for screen readers.
2021-01-29 10:24:14 +00:00
Thibaud Colas
bf33842f45
Fix documentation typo 2021-01-27 16:01:06 +00:00
Matt Westcott
9886cb0476 add missing : to after_create_page example 2021-01-27 09:21:42 +00:00
Thibaud Colas
0dbd69f491
Configure Sphinx for Markdown support (#6711) 2021-01-26 22:09:52 +00:00
Matt Westcott
df125b1652 Release notes for #6718 2021-01-26 10:55:26 +00:00
Matt Westcott
49b13a3139 Fix indentation on MinMaxCountStreamModel / BlockCountsStreamModel 2021-01-26 10:55:25 +00:00
Matt Westcott
a8f41258b5 Move set_meta_options logic to the base Block class 2021-01-26 10:55:25 +00:00
Matt Westcott
d42b9b4a74 add backticks to streamfield option docs 2021-01-26 10:55:25 +00:00
Matt Westcott
d22fc9181e Test all permutations of blank / non-blank StreamFields
Regardless of how the top-level StreamBlock is instantiated, or what its required Meta attribute says at that point, the StreamField's blank kwarg (defaulting to False) should be the sole indicator of whether the field is required or not.
2021-01-26 10:55:25 +00:00
Matt Westcott
8f2c7a0011 Documentation for new min_num, max_num, block_counts options 2021-01-26 10:55:24 +00:00
Haydn Greatnews
60263dfdad Add testing for streamfield count restrictions passed to StreamField 2021-01-26 10:55:24 +00:00
Matt Westcott
643bbfc600 Allow StreamBlock to pick up blank, min_num, max_num and block_counts kwargs from StreamField 2021-01-26 10:55:24 +00:00
Helder Correia
f03c11f1d1 Fix typo 2021-01-25 10:53:19 +00:00
Matt Westcott
23096b9f73 Show required asterisks for required descendant blocks of required streamfields (#6715)
Fixes #5983; possibly also has a bearing on #4306. A CSS rule dating from the original StreamField design was hiding the 'required' asterisk on fields within a required StreamField, presumably on the mistaken belief that they duplicate the information given by the top-level asterisk on the streamfield. (In #5983 this was reported as a regression in 2.7 when the react-streamfield CSS was introduced, so it's possible that the old design had something to mitigate this, e.g. an asterisk being inserted elsewhere.)
2021-01-21 14:36:57 +00:00
Matt Westcott
97bfaf15e9
fix version number 2021-01-21 11:14:50 +00:00
Matt Westcott
b5835dd862 Test against Django stable/3.2.x branch 2021-01-19 09:53:30 +00:00