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

Wrong links (overwritten_from) depending on project folder structure #424

Open
alexander-alvarez opened this issue Sep 29, 2016 · 0 comments

Comments

@alexander-alvarez
Copy link

My project structure is:

backend_module_1/
backend_module_2/
fontend_code/
    yuidoc.json
    package.json
    ...

The relevant parts of yuidoc.json:

{
  "url": "http://www.github.com/<org>/<repo>",
  "paths" : [ 
       "app"
   ]
}

and when clicking "Defined in " links, I get sent to:
http://www.github.com/<org>/<repo>/tree/<sha>/app/<path_to_class>, but I want to be able to go to
http://www.github.com/<org>/<repo>/tree/<sha>/frontend_code/app/<path_to_class>

the following also didn't work:

{
  "url": "http://www.github.com/<org>/<repo>",
  "paths" : [ 
       "../frontend_code/app"
   ]
}

because the sha gets gobbled like so:
http://www.github.com/<org>/<repo>/tree/frontend_code/app/<path_to_class>

Couldn't find a setting to enable this, or is this a bug?

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

No branches or pull requests

1 participant