kanasimi / wikiapi

JavaScript MediaWiki API for node.js
https://kanasimi.github.io/wikiapi/
BSD 3-Clause "New" or "Revised" License
47 stars 5 forks source link

README.md gallery of codes revamp #32

Open hugolpz opened 3 years ago

hugolpz commented 3 years ago

Following #30 API documentation revamp (JSDoc migration) , the README.md must be rewritten. (I propose to lead this while @kanasimi works on wikiapi.js JSDoc3 comments).

Readme.md code gallery :

hugolpz commented 3 years ago

@kanasimi ... I looked for a way to both learn and help a bit.

Current

The current README.md which was gradually expanded seemed messy to me. So I reorganized the README.md's examples, see #34 . There are still some glinch, but I expect them to be fixed/removed before anyone see them.

Changes

On changes ...

The main point was to group related functions together :

Having clarity on these may help you in your current and long term vision hopefully. 👨🏼‍🎤

Future #30 #35

I'am not sure this README.md gallery of codes is still needed since:

Today

Coming days and shifting role

The code gallery's role can be reduced to a simple appetizer, an hint. It should quickly redirect to the JSdoc3 webpage (and the future demo bot repository). The project also gain from less code to maintain 😎 ...

What to do with this gallery of code :

Maintenance efforts should be shifted toward a single source of truth : JSdoc3. (And demo bot 🤖 ).

hugolpz commented 3 years ago

@kanasimi : I think i finished my sprint on this readme code gallery for now.

It's now up to you to balance it with your wikiapi.js/JSdoc push and trim the code gallery as needed. 👍🏼

hugolpz commented 2 years ago

2021 continuation