Skip to content

feat(landing): add GitHub Pages landing page - #168

Merged
ekalinin merged 1 commit into
masterfrom
feat/landing-page
Sep 27, 2026
Merged

ekalinin merged 1 commit into
masterfrom
feat/landing-page

Conversation

@ekalinin

Copy link
Copy Markdown
Owner

Summary

Adds a static landing page for gh-md-toc on GitHub Pages:
https://ekalinin.github.io/github-markdown-toc/

  • site/index.html, site/styles.css: one English page with Installation, Why,
    Usage, Auto insert and update TOC, GitHub Actions, GitHub token, Docker, and
    Windows sections. The sidebar TOC is gh-md-toc's own output for the page's
    headings.
  • .github/workflows/pages.yml: deploys site/ on pushes to master that touch
    site/**, gh-md-toc, or the workflow. The version on the page comes from
    ./gh-md-toc --version.
  • No external resources. Code highlighting and copy buttons are added by a small
    inline script; without JavaScript the page is fully readable.

Examples show the current output of 0.10.0. Remote examples use a wiki URL because
of #166. README updates are tracked in #165, lint warnings in #167.

Before merge

Enable Pages with Source "GitHub Actions" (Settings -> Pages).

Static one-page site in site/, deployed to GitHub Pages by
.github/workflows/pages.yml on pushes to master that touch site/,
gh-md-toc, or the workflow. The version shown on the page comes from
./gh-md-toc --version at deploy time.
@ekalinin
ekalinin merged commit 97f764a into master Sep 27, 2026
1 check passed
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