Skip to content

Commit 2dcabf5

Browse files
committed
added procedure
1 parent e5dba93 commit 2dcabf5

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

content/github/creating-cloning-and-archiving-repositories/about-readmes.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,15 @@ If you put your README file in your repository's root, `docs`, or hidden `.githu
4444

4545
### Auto-generated table of contents for README files
4646

47-
For the rendered view of any Markdown file in a repository, including README files, {% data variables.product.product_name %} will automatically generate a table of contents based on section headings. You can view the table of contents for a README file by clicking the {% octicon "list-unordered" aria-label="The unordered list icon" %} menu icon at the top left of the rendered page.
47+
For the rendered view of any Markdown file in a repository, including README files, {% data variables.product.product_name %} will automatically generate a table of contents based on section headings. You can view the table of contents for a README file by clicking the {% octicon "list-unordered" aria-label="The unordered list icon" %} menu icon at the top left of the rendered page.
4848

4949
![README with automatically generated TOC](/assets/images/help/repository/readme-automatic-toc.png)
5050

51-
The auto-generated table of contents is enabled by default for all Markdown files in a repository, and you can disable this feature for your repository. Go to the main page of your repository and click {% octicon "gear" aria-label="The gear icon" %} **Settings**. Under "Features", deselect **Table of contents**.
51+
The auto-generated table of contents is enabled by default for all Markdown files in a repository, but you can disable this feature for your repository.
52+
53+
{% data reusables.repositories.navigate-to-repo %}
54+
{% data reusables.repositories.sidebar-settings %}
55+
1. Under "Features", deselect **Table of contents**.
5256

5357
![Automatic TOC setting for repositories](/assets/images/help/repository/readme-automatic-toc-setting.png)
5458

0 commit comments

Comments
 (0)