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

[bug] grouped item linking issue #85

Open
lukassero opened this issue Nov 23, 2015 · 3 comments
Open

[bug] grouped item linking issue #85

lukassero opened this issue Nov 23, 2015 · 3 comments

Comments

@lukassero
Copy link

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

@lukassero lukassero changed the title grouped item linking issue [bug] grouped item linking issue Nov 23, 2015
@pascalduez
Copy link
Member

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
Copy link
Contributor

Same problem here.

@LeaveAirykson
Copy link

Any progress on this issue?

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

No branches or pull requests

4 participants