neo4j / neo4j/neo4j-javascript-driver

Add protected method docs to generated documentation

Open
#1,007 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
917
Forks
158
Avg merge
2d 15h
Merged PRs (30d)
7

Description

Summary

Can esdoc please be made to also output docs for the protected methods (like the constructor on the Driver class)?

Steps to reproduce
  1. Look at Neo4j javascript lib docs
  2. Look for Driver class
Expected behavior

I expect to see the docs for the constructor.

Actual behavior

There are no docs for the constructor, presumably because it is a protected method.

Other info

FWIW, it would also be nice to get docs for the types like the MetaInfo and DriverConfig.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how ESDoc generates documentation for the Neo4j JavaScript driver, then inspect the Driver class and its constructor output. Compare the generated docs with the MetaInfo and DriverConfig types mentioned in the issue; done means protected methods and the requested types appear in the generated documentation.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.