Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
fsbraun authored Nov 25, 2024
1 parent 422438f commit aefbd11
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/source/plugins/toc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,12 @@ To create a table of contents:
3. The TOC will automatically generate when the page renders

Positioning at Top of Page
=========================
==========================

Since the TOC must be placed after headings to collect them, use grid layouts to display it at the top:

Two Column Layout Example
------------------------
-------------------------

1. Create a container
2. Add a row with two columns
Expand All @@ -117,7 +117,7 @@ Example Structure::
This creates a sidebar layout with the TOC always visible while scrolling through content.

Best Practices
=============
==============

1. Always set IDs on headings that should appear in the TOC
2. Use consistent heading levels for proper hierarchy
Expand Down

0 comments on commit aefbd11

Please sign in to comment.