kopia lustrzana https://github.com/wagtail/wagtail
7d90344dd6
The construct_homepage_summary_items hook allows to add items, but if you use exactly the same markup as wagtail you end up with a bad layout because the items form rows with no whitespace between them. This commit changes the padding-bottom of the section into a margin-bottom of it's <li> items, meaning that they form rows with enough whitespace in between them, and the whitespace at the bottom is preserved. |
||
---|---|---|
.. | ||
_static/images | ||
advanced_topics | ||
contributing | ||
editor_manual | ||
getting_started | ||
reference | ||
releases | ||
topics | ||
Makefile | ||
README.md | ||
autobuild.sh | ||
conf.py | ||
index.rst | ||
logo.png | ||
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.