Skip to content

Documentation revamp #1595

Open
Open
@koddsson

Description

I really like the documentation and I want to really try to avoid rewriting it's system but I think we should colocate it with the code in this repo as opposed to keeping it in a different repo. I also think we should generate most of the API documentation from the JSDocs. This way we don't change the code without updating the docs as well.

Here's a loose list of what I think we should do:

  • Install ESLint and the jsdoc eslint plugin to validate that the jsdoc comments are in the correct format.
  • Fix all the ESLint jsdoc issues.
  • Use some sort of generator to generate the API site. I'd be happy to use Jekyll but maybe something like 11ty would suit us better?
  • Add a CI check that validates that documentation is correct somehow or even deploys to a temporary host.
  • Migrate the docs from the old repo to this repo and the new docs system.
  • ???

What do you think?

@chaijs/core

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions