Skip to content

Add id to renderer options header & update section links to it #20

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions guides/serialization/rendering.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ <h2>Plain ruby</h2>
<span class="ss">fields: </span><span class="p">{</span> <span class="ss">users: </span><span class="p">[</span><span class="ss">:name</span><span class="p">,</span> <span class="ss">:email</span><span class="p">],</span>
<span class="ss">posts: </span><span class="p">[</span><span class="ss">:title</span><span class="p">,</span> <span class="ss">:content</span><span class="p">]</span> <span class="p">})</span>
</code></pre></div>
<p>For a comprehensive list of renderer options, see <a href="#">Renderer options</a>.</p>
<p>For a comprehensive list of renderer options, see <a href="#renderer_options">Renderer options</a>.</p>

<h2>Ruby on Rails</h2>

Expand All @@ -110,7 +110,7 @@ <h2>Ruby on Rails</h2>
<span class="ss">fields: </span><span class="p">{</span> <span class="ss">users: </span><span class="p">[</span><span class="ss">:name</span><span class="p">,</span> <span class="ss">:email</span><span class="p">],</span>
<span class="ss">posts: </span><span class="p">[</span><span class="ss">:title</span><span class="p">,</span> <span class="ss">:content</span><span class="p">]</span> <span class="p">}</span>
</code></pre></div>
<p>For a comprehensive list of renderer options, see <a href="#">Renderer options</a>.</p>
<p>For a comprehensive list of renderer options, see <a href="#renderer_options">Renderer options</a>.</p>

<h2>Hanami</h2>

Expand Down Expand Up @@ -143,9 +143,9 @@ <h2>Hanami</h2>
<span class="k">end</span>
<span class="k">end</span>
</code></pre></div>
<p>For a comprehensive list of renderer options, see <a href="#">Renderer options</a>.</p>
<p>For a comprehensive list of renderer options, see <a href="#renderer_options">Renderer options</a>.</p>

<h2>Renderer options</h2>
<h2 id="renderer_options">Renderer options</h2>

<p>The available options are:</p>

Expand Down