feat: consider handling local functions as not part of the component doc
Summary
Hi, Functions that are local to the file could not be rendered as component doc
Steps to reproduce
<template>
<div />
</template>
<script>
export default {
}
/**
* @protected
* some description
*/
function someLocalFunction (params) {
}
</script>
<style lang="css" scoped>
</style>
const comp = await vuedoc.join({ filenames: [thatFile]})
await vuedoc.render{})(comp)
Example Project
sse above.
What is the current bug behavior?
"some description" will be rendered at the top of the doc.
What is the expected correct behavior?
"someLocalFunction" should be ignored entirely or at least honour the @protected flag.
Possible fixes