Comments (5)
This is an odd bug.
Can you share your code, and is this on deno.land/x and if so, does it render the same or is it correct there?
from deno_doc.
I'm having the same Issues.
Additionally it also ignores JSDoc typedefinitions.
Something like:
/**
* @typedef {Object} input - An input
* @property {number[]} input.string - Example prop
* @property {number} input.num - Example prop
*/
/**
* To decode the uplink data
* @access private
* @param {input} input - The object to decode
* @returns {output} - The decoded object
*/
function decode(input) {
...
}
is not included in the HTML output.
from deno_doc.
This i an odd bug. Can you share your code, and is this on deno.land/x and if so, does it render the same or is it correct there?
I do not publish on deno.land/x, thus I do not know if it also occurs on it.
I edited my issue to add a link to my repository: https://gitlab.com/libshare/pwa
After a pull, calling deno doc --html public/object/media.js
should provide the doc with the bug described.
TypeScript documentation seems to be generated with the types in it, I suppose the {type}
info from doc comments is not correctly parsed. With TypeScript it is probably taking the real type directly. Example from deno note seems to work as expected on TypeScript example from deno
from deno_doc.
I created a new repository with only one JavaScript file, with a function and a class in it, with JSDoc comments.
I host it on both Gitlab and Github, and attached a hook to deno.land/x.
it is in order to answer with as many info as possible your question @crowlKats :
This i an odd bug. Can you share your code, and is this on deno.land/x and if so, does it render the same or is it correct there?
As an answer, it seems neither the local deno doc --html
nor deno.land handle the JSDoc {type}
.
I hope I did it correctly for the hook, it's my first time.
Here are links for you to check:
- gitlab repository
- the locally generated HTML JSDoc, with
deno doc --html
- the full command for the deno doc is in deno.json, task: doc
- github repository
- deno land /x
from deno_doc.
Sorry to dig up an old-ish issue, but I'm having the same problem with constructor parameters intermittently. I'll try to throw together a repro as soon as I can.
from deno_doc.
Related Issues (20)
- issues with the js module HOT 1
- Please add documentation about supported tags
- JSX inside of code blocks is rendered in docs HOT 1
- Re-enable tailwind test HOT 1
- License headers should not show up on module-level docs HOT 7
- Support `@since` JSDoc tag
- some doc summaries are not picked up correctly HOT 1
- drilldown doesnt work on symbols that are inside a namespace HOT 1
- @param jsdoc doesnt render for parameters that dont have a name-only definition
- `@link` tags in the summary do not work
- bug: comma in starting code snippet directive breaks syntax highlighting
- variable that references interface with same name but different casing renders referenced interface
- anchors link to behind the breadcrumbs
- Doesn't work with multiple files like the example in the web docs. HOT 1
- [HTML] default exports don't respect `@internal` or `@ignore` JSDoc tags
- [HTML] example "usage" imports are syntactically incorrect
- [HTML] document navigation should reflect the currently selected overload
- [HTML] exports with names differing in case-only resulting in missing documentation on macOS HOT 1
- [HTML] `@link` and `@linkcode` tags are not processed correctly on all symbols page HOT 1
- bug: `doc()` breaks on file with inter-package import HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deno_doc.