lit / lit/lit.dev

Show visibility of properties in API docs (i.e. protected v. public)

Open
#597 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
142
Forks
230
PR merge metrics
No merged PRs in 30d

Description

In the old docs, we showed when properties/methods are protected v. public. Ideally we should do this in our current API docs as well. Note, most of the API on LitElement/ReactiveElement is protected.

(e.g. https://lit-element.polymer-project.org/api/classes/_lit_element_.litelement.html#requestupdateinternal).

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

Compare the old API documentation with the current API docs, using the linked LitElement requestUpdateInternal example as the starting point. Identify how the current docs represent properties and methods, then update the documentation generation or presentation so protected and public visibility is shown consistently; done means the API pages display these distinctions.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.