Skip to content

📝 Swith to typedoc for the API Reference #936

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Aug 25, 2020
Merged

Conversation

dubzzz
Copy link
Owner

@dubzzz dubzzz commented Aug 25, 2020

While typedoc does not offer all the capabilities we had on docsify, it generates a very cool documentation for our 'API Reference'. As a matter of fact, our 'generated API' will now only contain a 'Reference API'.

On its side, docsify had many issues:

  • no proper handling of overloads, documentation was generated with property_1, property_2...
  • difficult to navigate in the hierarchy of objects

On typedoc side some things would have to be added or fixed:

  • syntax like (assert:1) is not handled
  • same naming bug: Context and context
  • no real md support to build a real documentation website containing the md documentation and the API reference

In a nutshell

❌ New feature
❌ Fix an issue
✔️ Documentation improvement
❌ Other: please explain

(✔️: yes, ❌: no)

Potential impacts

None.

dubzzz added 5 commits August 24, 2020 22:50
One of the plus, provided by TypeDoc is that it supports function overload nicely.
As a consequence, tuple<T0>, tuple<T0,T1>... and other overloads appear under the same label.

At the same time, display is less pretty but it can be customized.
I just want to see if I can get something pretty with a bit of CSS magic and certainly tailwindcss.
Revert towards 'invalid' syntax for the moment.
@codesandbox-ci
Copy link

codesandbox-ci bot commented Aug 25, 2020

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 2436dd3:

Sandbox Source
Vanilla Configuration
dubzzz/fast-check: example Configuration

@coveralls
Copy link

coveralls commented Aug 25, 2020

Coverage Status

Coverage remained the same at 96.179% when pulling 2436dd3 on doc/switch-to-typedoc into 7cd1820 on master.

@dubzzz dubzzz merged commit 343cebe into master Aug 25, 2020
@dubzzz dubzzz deleted the doc/switch-to-typedoc branch August 25, 2020 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants