-
- Downloads
Add --examples-base-url option.
This replaces the previous Docs.exampleBaseUrl JS-side option, which was a bit of a hack. Now all URL-s are prefixed in parsing stage, so the docs app doesn't need to deal with the prefixing at all. Additionally the externalUrl field in examples.json is no more supported. Simply using the url field beginning with http:// will do the trick.
Showing
- Rakefile 2 additions, 2 deletionsRakefile
- lib/jsduck/app.rb 1 addition, 1 deletionlib/jsduck/app.rb
- lib/jsduck/examples.rb 16 additions, 3 deletionslib/jsduck/examples.rb
- lib/jsduck/options.rb 7 additions, 0 deletionslib/jsduck/options.rb
- template/app/controller/Examples.js 1 addition, 2 deletionstemplate/app/controller/Examples.js
- template/app/view/examples/Container.js 1 addition, 8 deletionstemplate/app/view/examples/Container.js
- template/app/view/examples/TouchContainer.js 1 addition, 7 deletionstemplate/app/view/examples/TouchContainer.js
Loading
Please register or sign in to comment