-
-
Notifications
You must be signed in to change notification settings - Fork 745
Description
Search Terms
readme index heading
Problem
Issue 1:
All other pages, excluding modules.html (see #2728), have an h1 heading, while the readme index.html page has an h2 heading. This causes an inconsistent look.
Issue 2:
Many (probably most) typescript projects start their README.md files with a project name heading, which leads to redundant headings when combined with the readme index.html page title.
Suggested Solution
Issue 1:
Change the index.html heading from h2 to h1.
Issue 2 Option 1:
Add an omitReadmeHeading
boolean option that skips rendering the page title heading.
Issue 2 Option 2:
Add an omitReadmeHeading
boolean option that checks if the README.md file starts with a heading that matches the project name and removes it if found. This would have the added benefit of simplifying the On This Page
section.
Issue 2 Option 3:
Same as option 2 but have the omitReadmeHeading
option default to true
.
Issue 2 Option 4 (preferred):
Check if the README.md file starts with a heading that matches the project name and remove it if found by default. This would have the added benefits of simplifying the On This Page
section and not adding more options.