Fix dead Projects and Authorization links in template.md by dajiaohuang · Pull Request #604 · lauris/awesome-scala · GitHub
Skip to content

Fix dead Projects and Authorization links in template.md - #604

Open
dajiaohuang wants to merge 1 commit into
lauris:masterfrom
dajiaohuang:fix/template-projects-toc
Open

dajiaohuang wants to merge 1 commit into
lauris:masterfrom
dajiaohuang:fix/template-projects-toc

Conversation

@dajiaohuang

Copy link
Copy Markdown

template.md links to #projects and #authorization in its table of contents, but the file has no Projects heading and no Authorization section, so both links are broken in the generated README.

This change, in the maintained source template.md only:

  • adds a ## Projects heading before the first project category, so #projects resolves;
  • removes the Authorization contents entry, since there is no Authorization section to link to.

The Projects link was introduced in #341 without a matching heading. No library entries, categories or README output are changed; README.md stays as generated.

Checks run locally:

  • fragment check on template.md: 49/49 internal links resolve;
  • ran the repository's add-metadata.py CLI over the document's static lines: emitted preamble and pass-through text unchanged, 49/49 internal links resolve in the generated static output.

I did not run the full metadata generation, which would need a token and 386 repository lookups; the master workflow regenerates README.md.

The table of contents links to #projects and #authorization, but template.md has no Projects heading and no Authorization section, so both links are dead in the generated README. Add the missing Projects heading before the first category and drop the Authorization entry.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant