Skip to content
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

README.md gallery of codes revamp #32

Open
3 of 4 tasks
hugolpz opened this issue Mar 31, 2021 · 3 comments
Open
3 of 4 tasks

README.md gallery of codes revamp #32

hugolpz opened this issue Mar 31, 2021 · 3 comments
Labels
documentation Improvements or additions to documentation

Comments

@hugolpz
Copy link
Collaborator

hugolpz commented Mar 31, 2021

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 :

  • Code gallery clean up / improvements
  • Add pointer to new JSDoc sections
  • Create demo starter bot with basic actions #35: Identify bot setup steps ; Account creation ; User-right requests ; Tests ; Bot request.
  • Reduce code gallery to essential parts
@hugolpz hugolpz mentioned this issue Mar 31, 2021
3 tasks
@hugolpz
Copy link
Collaborator Author

hugolpz commented Mar 31, 2021

@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 ...

  • removed duplications : wiki.login, async
  • Create group descriptions
  • Cleaner example descriptions
  • Accessible in-code comments when needed

The main point was to group related functions together :

  • READ
  • EDIT <------ has too many codes
  • MULTI-EDIT <---- together with 3 ways to create lists ; )
  • MOVE
  • PARSE <------ a bit unclear
  • MONITOR
  • FILES
  • WIKIDATA

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 :

  • most significant and illustrative code parts could be kept in a reduced README.md gallery, to attract new users. Maybe:
    • Login
    • Edit members of a category
    • Move page
    • read wikidata.
  • some parts could be moved into relevant wikiapi.js @example sections
  • some/most parts which are already in wikiapi.js @examples or duplications could be simply deleted.

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

@hugolpz hugolpz changed the title README.md revamp README.md gallery of codes revamp Apr 1, 2021
@hugolpz
Copy link
Collaborator Author

hugolpz commented Apr 1, 2021

@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. 👍🏼

@kanasimi kanasimi added the documentation Improvements or additions to documentation label Apr 1, 2021
@hugolpz
Copy link
Collaborator Author

hugolpz commented Dec 27, 2021

2021 continuation

  • READ
  • EDIT <------ 2020: too many codes
  • MULTI-EDIT <---- 2020: together with 3 ways to create lists ; )
  • MOVE
  • PARSE <------ 2020: a bit unclear
  • MONITOR
  • FILES <------ 2021: miss download
  • WIKIDATA <------ 2021: to review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants