Document for to_integer and inspect filters #5185

Merged
merged 2 commits into from Aug 3, 2016

Projects

None yet

3 participants

@crispgm
Member
crispgm commented Aug 2, 2016

to_integer and inspect filters have no documentation in /docs/templates/

@crispgm crispgm Document for to_integer and inspect filters
20e1da8
@parkr parkr and 1 other commented on an outdated diff Aug 2, 2016
site/_docs/templates.md
@@ -331,6 +342,17 @@ common tasks easier.
</p>
</td>
</tr>
+ <tr>
+ <td>
+ <p class="name"><strong>Inspect</strong></p>
+ <p>Convert an object into its String representation for debugging.</p>
+ </td>
+ <td class="align-center">
+ <p>
+ <code class="filter">{% raw %}{{ some_var | to_integer }}{% endraw %}</code>
@parkr
parkr Aug 2, 2016 Member

inspect rather than to_integer

@crispgm
crispgm Aug 2, 2016 Member

@parkr Sorry for the mistake. It's now correct.

@crispgm crispgm Fix inspect
3f1b129
@parkr parkr added the documentation label Aug 2, 2016
@parkr
Member
parkr commented Aug 2, 2016

LGTM.

@jekyllbot
Contributor

LGTM.

@jekyllbot
Contributor

@jekyllbot: merge +site

@jekyllbot jekyllbot merged commit 997c614 into jekyll:master Aug 3, 2016

2 of 3 checks passed

continuous-integration/appveyor/pr AppVeyor build failed
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
jekyll/lgtm Approved by @parkr and @jekyllbot.
@crispgm crispgm deleted the crispgm:doc-for-filters branch Aug 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment