-
-
Notifications
You must be signed in to change notification settings - Fork 738
Way to hide "defined in" #999
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
Comments
I wonder if you can use this plugin to unset the URL. The template is able to handle missing URLs. https://github.com/gdelmas/typedoc-plugin-sourcefile-url |
Thank you! While it still has the link, it at least removes the URL to the GitHub repos. It's an imperfect solution but without wanting to maintain a fork of a template it is acceptable for right now. It may also be possible to achieve it by submitting a PR to that plugin. This is the sourcefile-map.json I used - the replace value must be a string but an empty string tries to link to still link to the GH page. Using a hash tag it won't try to load anything although the link is still clickable.
|
Please reopen and add a official option to hide |
Update: we found the option |
Problem
Currently it will generate a link to the source code. Here it is where it is in the templates:
https://github.com/TypeStrong/typedoc-default-themes/blob/master/src/default/partials/member.sources.hbs
I'm generating documentation for end users of a module but it's not necessary for them to have links back to our GitHub repos.
Suggested Solution
Add an option to
typedoc
like--hideSources
that will hide it.Currently it is possible create a fork of the template to hide it if it's really needed.
The text was updated successfully, but these errors were encountered: