How to use the jsdoc/util/templateHelper.getAncestorLinks function in jsdoc

To help you get started, we’ve selected a few jsdoc examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github jsdoc / jsdoc / test / specs / jsdoc / util / templateHelper.js View on Github external
it("returns an array of ancestor names (with preceding punctuation) if there are ancestors, the direct ancestor with following punctuation too", () => {
            let links = helper.getAncestorLinks(data, lackeys);

            expect(links).toBeArrayOfSize(3);
            expect(links).toContain('~Henchman#');
            expect(links).toContain('.Sharks');
            expect(links).toContain('mafia/gangs');

            links = helper.getAncestorLinks(data, henchman);

            expect(links).toBeArrayOfSize(2);
            expect(links).toContain('.Sharks~');
            expect(links).toContain('mafia/gangs');

            links = helper.getAncestorLinks(data, gang);

            expect(links).toBeArrayOfSize(1);
            expect(links).toContain('mafia/gangs.');
        });
github chad-autry / hex-grid-map-3D / jsdoc-template / publish.js View on Github external
function getAncestorLinks(doclet) {
    return helper.getAncestorLinks(data, doclet);
}
github ecomfe / zrender / doc / jsdoc-tmpl / publish.js View on Github external
function getAncestorLinks(doclet) {
    return helper.getAncestorLinks(data, doclet);
}
github Haeresis / node-atlas / template / publish.js View on Github external
function getAncestorLinks( doclet ) {
	return helper.getAncestorLinks( data, doclet );
}
github flyve-mdm / web-mdm-dashboard / jsdoc_theme / publish.js View on Github external
function getAncestorLinks(doclet) {
    return helper.getAncestorLinks(data, doclet);
}
github jsdoc / jsdoc / templates / default / publish.js View on Github external
function getAncestorLinks(doclet) {
    return helper.getAncestorLinks(data, doclet);
}
github cuthbertLab / music21j / node_modules / jsdoc / templates / default / publish.js View on Github external
function getAncestorLinks(doclet) {
    return helper.getAncestorLinks(data, doclet);
}
github RobotWebTools / rclnodejs / docs / jsdoc-template / publish.js View on Github external
function getAncestorLinks(doclet) {
    return helper.getAncestorLinks(data, doclet);
}