Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@desc tag not work #140

Closed
hughxusu opened this issue Nov 23, 2018 · 3 comments
Closed

@desc tag not work #140

hughxusu opened this issue Nov 23, 2018 · 3 comments

Comments

@hughxusu
Copy link

hughxusu commented Nov 23, 2018

<script>
/**
 * @desc components detail XXXXX
 * @vue-data {Page} page - XXX
 * @vue-data {Layer} layer - XXX
 */
export default {
  name: 'Panel',
  data() {
    return {
      page: null,
      layer: null
    };
  }
};
</script>

content in @desc not output in docs, how to handle it? Thanks~~~

@Kocal
Copy link
Owner

Kocal commented Nov 23, 2018

That's because of this line: https://github.com/Kocal/jsdoc-vuejs/blob/master/index.js#L61

Change the line to e.doclet.description = (e.doclet.description || '') + str; make @desc works.

I'm working on a patch.

@hughxusu
Copy link
Author

it work, thank you~~~

@Kocal
Copy link
Owner

Kocal commented Nov 23, 2018

Released in v2.3.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants