Skip to content

Commit c6b3759

Browse files
fix: export back tutorial helper
fixes #87
1 parent 73174c2 commit c6b3759

File tree

4 files changed

+12
-1
lines changed

4 files changed

+12
-1
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
tutorial

fixtures/typescript/regular-class.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/**
2+
* This is amazing class
3+
*
4+
* @tutorial my-awesome-tutorial
5+
*/
6+
class SomeClass {
7+
8+
}

jsdoc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
"destination": "docs/",
1818
"recurse": true,
1919
"verbose": true,
20-
"template": "./"
20+
"template": "./",
21+
"tutorials": "./fixtures/tutorials"
2122
},
2223
"templates": {
2324
"better-docs": {

publish.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -689,6 +689,7 @@ exports.publish = function(taffyData, opts, tutorials) {
689689
view.linkto = linkto
690690
view.resolveAuthorLinks = resolveAuthorLinks
691691
view.tutorialToUrl = helper.tutorialToUrl
692+
view.tutoriallink = tutoriallink;
692693
view.htmlsafe = htmlsafe
693694
view.outputSourceFiles = outputSourceFiles
694695

0 commit comments

Comments
 (0)