awesto / django-shop

A Django based shop system
http://www.django-shop.org
BSD 3-Clause "New" or "Revised" License
3.18k stars 1.04k forks source link

fix codeblocks syntax in tutorial/intro and reference/filters #781

Closed moellering closed 4 years ago

moellering commented 4 years ago

filters.rst was missing a space. The result was that a code block was not parsed as a code block but just as text.

intro.rst was missing the language specifier of the code block. While some rst viewers would still show the code blocks, sphinx seems to ignore such blocks. Thus the code was missing on the corresponding read-the-docs page. This PR should solve this (tested locally with make singlehtml)

Should fix #768