Wykres commitów

14 Commity (228088d33d3d36afdc8363f9e59f1a8cbcf6d072)

Autor SHA1 Wiadomość Data
Loïc Teixeira 33aad3957f Fix internal links with anchors
Generating links with `link text <./path/to/doc#anchor>`__ does not work for html.
It produces a link to `./path/to/doc#anchor` instead of `./path/to/doc.html#anchor`.

It would be tempting to add `.html` before `#` but would likely cause some more issues
when generating the documentation as pdf or epub.

References on the other hand will work regardless of the output format.
2016-03-06 21:05:05 +00:00
Matt Westcott 7861c2b492 Add get_site and get_url_parts to the Page model reference docs 2016-03-01 12:11:14 +00:00
Matt Westcott 88d1977d34 Document `site_name` attribute of Site - fixes #2099 2016-01-13 12:49:46 +00:00
Tim Heap 0071d85aa0 Add Page methods `can_move_to` and `can_create_at`
These two tests are used when checking if a new page type can be created
under a page instance, or if an existing page type can move under a page
instance.
2015-12-03 12:56:52 +00:00
Tim Heap 5df60caef3 Rename `is_abstract` to `is_creatable`
`is_creatable` better reflects what it is used for, and stops any
confusion between Wagtail's `is_abstract` and Django's `Meta.abstract`.

`is_creatable` takes in to account `Meta.abstract` now, so developers
will no longer need to set both `is_abstract` and `Meta.abstract`.

Documentation for the new attribute has been added, as well as tests.
2015-09-04 09:59:01 +10:00
Karl Hobley 337a979257 #1582 - Fix typo in model reference 2015-08-05 14:13:00 +01:00
Karl Hobley 26dde89011 Tweaks to model reference
Now formatted in a similar way Django formats model references
2015-07-07 09:18:22 +01:00
Karl Hobley 25e5b97680 Tweaks to headers 2015-07-06 19:22:48 +01:00
Karl Hobley 9885d2fb7d Fix typos 2015-05-29 14:21:08 +01:00
Karl Hobley 77d143a099 Some edits to model reference 2015-05-29 12:53:48 +01:00
Karl Hobley ec0c9917c6 Improvements to the page model reference docs 2015-05-18 16:30:55 +01:00
Karl Hobley d2d43dca0a Better formatting for page fields reference
No on the class so they can now be referenced with :meth:
2015-05-18 15:09:12 +01:00
Karl Hobley 605fdc62f7 Moved page field reference to page model reference 2015-05-18 15:09:12 +01:00
Karl Hobley 9dd4b0391a Improvements to Page model reference docs
- Rename to "Page model reference"
- Add docs for fields
- Add docs for other models such as revisions, group page permissions, etc
2015-05-18 12:14:01 +01:00