kopia lustrzana https://github.com/wagtail/wagtail
![]() The 'Customising generated forms' example contains a few issues that might confuse those who are copy/pasting the code. 1. No reference to the `geocode` library and where it comes from, added imports and revised API usage 2. `location = models.CharField()` requires the `max_length` attribute set 3. `FieldPanel('title')` added to content panels, otherwise testing this out causes error because no title or slug exists These issues were flagged in #3737 |
||
---|---|---|
.. | ||
_static/images | ||
advanced_topics | ||
contributing | ||
editor_manual | ||
getting_started | ||
reference | ||
releases | ||
topics | ||
Makefile | ||
README.md | ||
autobuild.sh | ||
conf.py | ||
index.rst | ||
logo.png | ||
readthedocs.yml | ||
requirements.txt | ||
spelling_wordlist.txt | ||
support.rst |
README.md
Wagtail docs
These are Sphinx docs, automatically built at http://docs.wagtail.io when the master branch is committed to Github. To build them locally, install Wagtail's development requirements (in the root Wagtail directory):
pip install -e .[testing,docs]
To build the documentation for browsing, from this directory run:
make html
then open _build/html/index.html
in a browser.
To rebuild automatically while editing the documentation, from this directory run:
sphinx-autobuild . _build
The online editor at http://rst.ninjs.org/ is a helpful tool for checking reStructuredText syntax.