Questions tagged [documentationjs]
8 questions
8
votes
3 answers
Grouping Functions In JSDoc Generated Documentation
I'm using documentationjs (which uses jsdoc under the hood) to handle the generation of docs for a lib I'm working on. My lib is written is ES6 and is fully functional, and at present the documentation generated is an alphabetical list of all the…
![](../../users/profiles/138601.webp)
Undistraction
- 38,727
- 46
- 165
- 296
3
votes
1 answer
How to change theme in documentation.js?
I would like to use this theme for my documentation.
I use documentationjs. I tried a lot of things but I have no idea how to use it, can somebody help?
thanks
![](../../users/profiles/5637058.webp)
Lueton
- 124
- 1
- 9
2
votes
1 answer
How to document an object within a class constructor?
I am currently using JSDoc to attempt to document the following code...
class Test {
/**
* @param {Object} raw The raw data.
*/
constructor(raw) {
/**
* Used for things and stuff. It can be useful when referencing…
![](../../users/profiles/6472449.webp)
FireController1847
- 663
- 1
- 7
- 20
1
vote
1 answer
How to include and exclude directories for parsing with documentationjs
In particular, I'm interested in excluding any node_modules folders, but there are others that need to be excluded.
This is normally accomplished in a config file; e.g., a .jsdoc file, like so:
"source": {
"include" : ["../projects"],
…
![](../../users/profiles/1526115.webp)
kmiklas
- 11,204
- 17
- 55
- 84
0
votes
0 answers
Can't generate proper Documentation for React Native project
I have a react native project with Flow, for some reason the documentation does not show the actual types of the given component but instead it only shows props as Parameters.
type Props = {
name?: string,
age?: number,
};
const User =…
![](../../users/profiles/14139788.webp)
isni halsi
- 13
- 4
0
votes
1 answer
How to deploy a documentation page
I created a library with a demo page that I deployed it using Netlify (the url is something like my-lib.netflify.app) and it is associated with "build": "parcel build demo/index.html --out-dir demo-build",.
Then I add to my library a documentation…
![](../../users/profiles/13415477.webp)
whitecircle
- 356
- 3
- 12
0
votes
0 answers
Documentation.js yml fields
I'm new to documentation.js and I'm trying to understand how to change the documentation.yml file to configure mu documentation structure.
The doc doesn't say enough.
What are the fields that can I use? Is there a doc about that?
My library exports…
![](../../users/profiles/13415477.webp)
whitecircle
- 356
- 3
- 12
0
votes
1 answer
Can I export type in documentationjs and link it in a reference type in @param?
What I want to do looks like this:
/**
* @class OrganizationDescriptor
*/
export type OrganizationDescriptor = {|
organizationId: string
|};
and then when I use this type as a parameter, document it:
/**
* @param {OrganizationDescriptor}…
![](../../users/profiles/7089533.webp)
vljs
- 820
- 7
- 13