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

Docs: Easier method for linking to subheadings #105

Open
jkfran opened this issue Jul 12, 2021 · 2 comments
Open

Docs: Easier method for linking to subheadings #105

jkfran opened this issue Jul 12, 2021 · 2 comments

Comments

@jkfran
Copy link
Contributor

jkfran commented Jul 12, 2021

From canonical/juju.is#303:


It would be nice if there was a way to link to a heading in a docs page - e.g. I've just said to someone in https://chat.charmhub.io/charmhub/channels/charm-dev:

"""see the "Peer relation example" section of https://juju.is/docs/sdk/relations."""

The link already exists, as https://juju.is/docs/sdk/relations#heading--peer-relations but it is a bit hidden. To find that you have to right click the header -> inspect element -> look the HTML code for the id tag. It'd be nice if there was a visual element that let you copy that link.

@anthonydillon
Copy link
Contributor

I've requested a Vanilla pattern to for this behaviour: canonical/vanilla-framework#3863.

@carkod
Copy link
Contributor

carkod commented Nov 30, 2021

Is this maybe a duplicate of this?

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

No branches or pull requests

4 participants