forked from eslint/eslint
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "chore: Refactor rule docs format (eslint#15869)"
This reverts commit f8cb53c.
- Loading branch information
1 parent
c867110
commit c6cbf8a
Showing
5 changed files
with
15 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
<nav class="docs-toc c-toc" aria-labelledby="js-toc-label"> | ||
{%- if all_content | toc | safe -%} | ||
{%- if content | toc | safe -%} | ||
<h2 class="c-toc__label" id="js-toc-label">Table of Contents</h2> | ||
<div class="c-toc__panel" id="js-toc-panel"> | ||
{{ all_content | toc | safe }} | ||
{{ content | toc | safe }} | ||
</div> | ||
{%- endif -%} | ||
</nav> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters