Opened 8 years ago

Closed 8 years ago

Last modified 5 years ago

#8757 closed (fixed)

Typo in custom templatetags docs

Reported by: Fidel Ramos Owned by: nobody
Component: Documentation Version: master
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

At the end of the inclusion tags section there is a short line that isn't styled as template code:

Then, any time you want to use that custom tag, load its library and call it without any arguments, like so:

.. code-block:: html+django

    {% jump_link %}

I include a patch with the probable solution, but please review as I couldn't test it.

Attachments (1)

inclusion_tag_docs_patch.diff (482 bytes) - added by Fidel Ramos 8 years ago.

Download all attachments as: .zip

Change History (5)

Changed 8 years ago by Fidel Ramos

comment:1 Changed 8 years ago by Richard Barran

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Triage Stage: UnreviewedAccepted

Hi Framos, I've applied your patch to my locally-built copy of the documentation and it works exactly as you intended.

comment:2 Changed 8 years ago by Fidel Ramos

Thanks richardb, I'm always wary of seemingly-trivial damnhowcanthisfail patches.

comment:3 Changed 8 years ago by James Bennett

Resolution: fixed
Status: newclosed

(In [8828]) Fixed #8757: Corrected formatting of inclusion tag example

comment:4 Changed 5 years ago by Jacob

milestone: 1.0

Milestone 1.0 deleted

Note: See TracTickets for help on using tickets.
Back to Top