You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it can be done by changing
docco.js[131]: title = hasTitle ? first.text : path.dirname(source)+'/'+path.basename(source);
and
templates: <%= path.dirname(source) %>/<%= path.basename(source) %>
The text was updated successfully, but these errors were encountered:
I believe the functionality you are looking for has been done (see PR). The change just uses source instead of path.dirname(source) %>/<%= path.basename(source) - is there a use case where using dirname and basename would create a different output than source?
The change above applies to the jump list, but not the title.
we already have file name in title as well as in jumpto menu.
It would be a good feature if we are able to replace it with relative path.
an example for angular application
server.js -> ROOT/server.js
app.js -> ROOT/app/scripts/apps.js
mainctrl.js-> ROOT/app/scripts/controllers/mainctrl.js
it can be done by changing
docco.js[131]: title = hasTitle ? first.text : path.dirname(source)+'/'+path.basename(source);
and
templates: <%= path.dirname(source) %>/<%= path.basename(source) %>
The text was updated successfully, but these errors were encountered: