Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support fragment navigation in TOC by emitting id attributes for each href #67

Open
benhutchison opened this issue Jan 14, 2016 · 0 comments

Comments

@benhutchison
Copy link

This first came up on the SBT gitter channel. @eed3si9n mentioned that the HowTo section might be the right place to put some docs, and incidentally I noticed some bad UX if you just want to view all the HowTo articles - you have to scroll down for like 10 screen to get to them - as can be seen here:
http://www.scala-sbt.org/0.13/docs/Howto.html

Because the SBT whole TOC is huge, it would be nice to be able to fragment link to a specific place within the TOC. That would be enabled if pamflet converted & emitted each page.name into an id for each href, about here I think: https://github.com/n8han/pamflet/blob/29eb5483b5bdd56c8fb38e55b6c853c862439352/library/src/main/scala/printer.scala#L39

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants