I'm creating docs using ng-router in non-html5 mode. All links should be converted to href="#!/path". By default tag {@link} creates href="path".
Is ths behaviour configurable?
I'm creating docs using ng-router in non-html5 mode. All links should be converted to href="#!/path". By default tag {@link} creates href="path".
Is ths behaviour configurable?
What i've found is, that
ngdocis usinglinkfilter.You can override that filter with 2 simple steps.
Create a file (
./filters/link.js) with the following content:After you have to register (override) it. In your dgeni configuration file put this:
This will register a new filter under the name
link. Since it's running after ngdoc configuration, it will override existinglinkfilter.Hope it helps.