Skip to content

Commit

Permalink
fix: export back tutorial helper
Browse files Browse the repository at this point in the history
fixes #87
  • Loading branch information
wojtek-krysiak committed Jul 2, 2020
1 parent 73174c2 commit c6b3759
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions fixtures/tutorials/my-awesome-tutorial.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
tutorial
8 changes: 8 additions & 0 deletions fixtures/typescript/regular-class.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/**
* This is amazing class
*
* @tutorial my-awesome-tutorial
*/
class SomeClass {

}
3 changes: 2 additions & 1 deletion jsdoc.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"destination": "docs/",
"recurse": true,
"verbose": true,
"template": "./"
"template": "./",
"tutorials": "./fixtures/tutorials"
},
"templates": {
"better-docs": {
Expand Down
1 change: 1 addition & 0 deletions publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -689,6 +689,7 @@ exports.publish = function(taffyData, opts, tutorials) {
view.linkto = linkto
view.resolveAuthorLinks = resolveAuthorLinks
view.tutorialToUrl = helper.tutorialToUrl
view.tutoriallink = tutoriallink;
view.htmlsafe = htmlsafe
view.outputSourceFiles = outputSourceFiles

Expand Down

0 comments on commit c6b3759

Please sign in to comment.