Skip to content

@description tag does not works in v3.0.9 #394

Open
@halaszbalazs

Description

@halaszbalazs

With jsdoc-vuejs v3.0.9 the standard JSDoc @description tag does not rendered into documentation, see my code below:

<script>
/**
 * @description Az értesítési sáv komponense
 * 
 * @vue-computed {Boolean} visible.get - Megvizsgálja, hogy meg kell-e jeleníteni az értesítési sávot
 * @vue-computed {Void} visible.set - Törli az adott response-t
 * @vue-computed {Boolean} hasMessage - Megvizsgálja, hogy van-e message, amit meg lehet jeleníteni
 * @vue-computed {String} html - Visszatér a megjelenítendő üzenettel
 * @vue-computed {String} color - Visszatér a megjelenítendő stílussal
 */
export default {
    name: "toast",
    computed: {
        visible: {
            get: function () {
                return this.hasMessage;
...

I have also tried with @desc tag and single line without @param but does not work. I have found issue #140 which mentioned also the same problem and was fixed back then, but now this is an issue again (at least for me).
Is there any way to fix this?
For reference I have the following deps in my package.json:

...
"dependencies": {
        "ansi-regex": "^5.0.0",
        "core-js": "^3.6.5",
        "echarts": "^4.9.0",
        "jsdoc": "^3.6.6",
        "jsdoc-vuejs": "^3.0.9",
        "moment": "^2.29.1",
        "strip-ansi": "^6.0.0",
        "tui-jsdoc-template": "^1.2.2",
        "vue": "^2.6.11",
        "vue-echarts-v3": "^2.0.1",
        "vue-i18n": "^8.22.1",
        "vue-moment": "^4.1.0",
        "vue-router": "^3.2.0",
        "vuetify": "^2.2.11",
        "vuex": "^3.4.0",
        "yarn": "^1.22.10"
    },
...

Also my config for .jsdoc.json:

{
    "plugins": [
        "node_modules/jsdoc-vuejs",
        "node_modules/jsdoc/plugins/markdown"
    ],
    "recurseDepth": 10,
    "source": {
        "include": ["src"],
        "includePattern": "\\.(vue|js)$",
        "excludePattern": "(node_modules/|docs)"
    },
    "sourceType": "module",
    "tags": {
        "allowUnknownTags": true,
        "dictionaries": ["jsdoc", "closure"]
    },
    "templates": {
        "cleverLinks": false,
        "monospaceLinks": true,
        "logo": {
            "url": "img/xxxx.png",
            "width": "200px",
            "height": "55px",
            "link": "index.html",
            "name": "xxxx",
            "footerText": "xxxx",
            "tabNames": {
                "api": "API",
                "tutorials": "Példakódok"
            }
        },
        "default": {
            "staticFiles": {
                "include": ["./src/assets/documentation/"]
            }
        },
        "css": ["styles/custom.css"]
    },
    "opts": {
        "destination": "./docs/",
        "recurse": true,
        "encoding": "utf8",
        "template": "node_modules/tui-jsdoc-template"
    }
}

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions