HealthCatalyst / Fabric.Cashmere

Health Catalyst’s comprehensive design system.
http://cashmere.healthcatalyst.net
Apache License 2.0
66 stars 76 forks source link

Deep linking support for all of the Cashmere documentation #1351

Closed joeskeen closed 4 years ago

joeskeen commented 4 years ago

In order to implement #1123 , we first need a way to navigate to any piece of content on the site. We can accomplish this by adding id attributes to header tags, for example:

<h2 id="some-header">Some header</h2>

This will allow navigating to the header using the hash #some-header at the end of the URL. You can play around with this idea here: https://stackblitz.com/edit/angular-heading-hash-links?file=src/app/app.component.html

Where headers are unavailable, we can use anchors (<a name="some-section"></a>) to do the same thing.

Tasks for completing this:

benjanderson commented 4 years ago

:tada: This issue has been resolved in version 8.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: