SassDoc / sassdoc-theme-default

Default theme for SassDoc.
MIT License
10 stars 30 forks source link

[bug] grouped item linking issue #85

Open lukassero opened 8 years ago

lukassero commented 8 years ago

A placeholder is grouped in @buttons

/// Button generic styles
/// @group buttons
%bttn-generic {}

When I click on it in left side bar it anchors to

./index.html#buttons-placeholder-bttn-generic

and it is fine.

But when I navigate to the variable that is used by the very same placeholder and click on ‘Used by’ link it anchors to

./index.html#placeholder-bttn-generic

which is incorrect.

Same applies to all documented items that were grouped.

My config .sassdocrc file:

exclude:
  - sass/vendor/*
shortcutIcon: static/img/favicon.ico
groups:
  buttons: Buttons
  color-palette: Color Palette
  buttons: Buttons
  labels: Labels
  font-family: Font Family
  undefined: General

g-doc file: http://tinyurl.com/qytt28q

pascalduez commented 8 years ago

Thanks for reporting.

That's a following of #84, we need to add group slugs to the cross reference stuff. Might require a wider thinking.

ricardocasares commented 8 years ago

Same problem here.

LeaveAirykson commented 6 years ago

Any progress on this issue?