parse-server icon indicating copy to clipboard operation
parse-server copied to clipboard

Modernize API doc template

Open mtrezza opened this issue 3 years ago • 8 comments

New Feature / Enhancement Checklist

Current Limitation

The API docs are generated from JSDoc. We are currently using our forked version of an JSDOc template that seems pretty outdated and not well maintained.

Feature / Enhancement Description

Switch to a more modern template that is maintained and improves usability, for example:

  • https://github.com/ankitskvmdam/clean-jsdoc-theme

Example Use Case

n/a

Alternatives / Workarounds

n/a

mtrezza avatar May 28 '22 13:05 mtrezza

Thanks for opening this issue!

  • 🎉 We are excited about your ideas for improvement!

Sounds good to me. We can easily drop in the amendment from https://github.com/parse-community/minami/pull/1#issuecomment-1140267604

dblythy avatar May 28 '22 13:05 dblythy

That would be great, also see https://github.com/parse-community/minami/pull/1#issuecomment-1140267604 why I would rather not touch the current template.

mtrezza avatar May 28 '22 13:05 mtrezza

The same template will need to be applied to the JS repo too

dblythy avatar May 28 '22 13:05 dblythy

Right, can we then point to the original dependency (rather than maintaining our own fork) and just add a config file to each repo?

mtrezza avatar May 28 '22 14:05 mtrezza

There were some changes to the template which may have been the reason why there is a fork.

The main changes seem to be to add @interface to the nav bar.

dblythy avatar May 28 '22 14:05 dblythy

I'v tested the clean-jsdoc-theme.

you can take a look here:

https://6297b4ac43cc1f0062fbe19e--parse-server-doc.netlify.app/

here are some screenshots

mobile

desktop

localhost_63342_parse-server_out_ParseServerOptions html localhost_63342_parse-server_out_Parse Cloud html localhost_63342_parse-server_out_ParseServer html localhost_63342_parse-server_out_index html__ijt=25j0lemg3jlvvckrr77g32gdo0 (1) localhost_63342_parse-server_out_index html__ijt=25j0lemg3jlvvckrr77g32gdo0

okobsamoht avatar Jun 01 '22 18:06 okobsamoht

We'd need to make sure that all content is included in the new template; @dblythy mentioned that there was some customization in the old template.

mtrezza avatar Jun 02 '22 17:06 mtrezza

@parse-community/server Anyone wants to pick this up for Parse Server 6? While it's not required for release, it would still be nice to have a modern docs layout with the new release.

mtrezza avatar Nov 02 '22 14:11 mtrezza

@parse-community/server Anyone wants to pick this up for Parse Server 6? While it's not required for release, it would still be nice to have a modern docs layout with the new release.

Have you had a look into TypeDoc it's made for TypeScript but works fine in a JS project, I've used it in a few projects and it's worked pretty well. However, I do think we need a general refactor of the docs to make things a bit more clear for new users.

Happy to pick this one up if I get a bit of free time before Jan

KodeyThomas avatar Dec 12 '22 09:12 KodeyThomas

Haven't looked at TypeDoc, but it really depends on a feature comparison and what kind of visual themes they offer. What we see here looks pretty good to me already, if it's just a simple template change. In general, we want to switch to another docs framework, see forum.

mtrezza avatar Dec 12 '22 16:12 mtrezza

🎉 This change has been released in version 6.1.0-alpha.8

parseplatformorg avatar May 01 '23 20:05 parseplatformorg

🎉 This change has been released in version 6.1.0-beta.2

parseplatformorg avatar May 01 '23 21:05 parseplatformorg

🎉 This change has been released in version 6.1.0

parseplatformorg avatar May 01 '23 21:05 parseplatformorg

🎉 This change has been released in version 6.1.0-alpha.9

parseplatformorg avatar May 09 '23 13:05 parseplatformorg

🎉 This change has been released in version 6.3.0-beta.1

parseplatformorg avatar Jun 10 '23 23:06 parseplatformorg

🎉 This change has been released in version 6.3.0-alpha.1

parseplatformorg avatar Jun 18 '23 01:06 parseplatformorg

🎉 This change has been released in version 6.3.0

parseplatformorg avatar Sep 16 '23 01:09 parseplatformorg