-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed as not planned
Labels
Description
We could use the typescript docs from the cypress repo to potentially autofill some of our API docs for us.
typedoc can generate machine-readable and HTML documentation from our .ts files.
Things that would have to be figured out:
- How does docs release work? How is this versioned against
cypressrepo?- Deploy docs after latest types are available on
cypressmasterbranch?
- Deploy docs after latest types are available on
- What level of docs could be replaced by this?
- Probably shouldn't put our entire API docs in Typescript
- Would be nice to pull call signatures, property descriptions, default values
- Could also pull examples from the docs -
@exampletags - Could add partials to existing
.mddocs:{% call-signatures "cy.request" %},{% properties "Cypress.RequestOptions" %}
- Should we host
typedoc's HTML output and link to it whenever types are mentioned in the docs?
I have typedoc generating type info and some basic tags here: #2112