kopia lustrzana https://github.com/wagtail/wagtail
![]() When a slice is specifically set to [0:0], which would yield an empty list, instead wagtail will clear the slice, effectively downloading the entire search index. This scenario happens when a search term does not return any results. So every time you enter a search term that has no results, the entire search index is downloaded, you don't really feel it because wagtail only downloads the pk values, and it is unlikely a site has millions of pages, but it is still very inefficient and unwanted. |
||
---|---|---|
.. | ||
_static | ||
advanced_topics | ||
contributing | ||
editor_manual | ||
getting_started | ||
reference | ||
releases | ||
topics | ||
Makefile | ||
README.md | ||
autobuild.sh | ||
conf.py | ||
favicon.ico | ||
index.rst | ||
logo.png | ||
requirements.txt | ||
spelling_wordlist.txt | ||
support.rst |
README.md
Wagtail docs
These are Sphinx docs, automatically built at https://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.