Treasury icon indicating copy to clipboard operation
Treasury copied to clipboard

Write API Documentation in Wiki

Open lokka30 opened this issue 2 years ago • 17 comments

Hey all,

Treasury has recently released it's Version 2 update and requires a full Wiki refresh. At the moment, all that is left to write is the API documentation. All of Treasury's APIs have javadocs, so writing the Wiki should be a trivial matter of explaining core concepts and giving examples on how to use the APIs for common requirements. Our core development team have spent a lot of time designing and writing the code and would greatly appreciate community contributions to finish the Wiki.

If you're interested in helping out, the Wiki pages have been set so anyone can edit them - please feel free to get started and leave a comment if you have any questions.

The following Wiki pages are outdated as of the recent API revisions in Treasury v2, and we wish to address them in this issue.

The first API documentation page I recommend we focus on at the moment is the Economy API, which will be the most content-heavy of them all. This page will not only need to describe the API's features (as it currently does but for the previous API revision), but also how to use each feature. The same type of content and layout should follow with the other API pages.

Documentation contributions will be officially recorded in the Credits page and this may be useful if you would like to contribute to open-source projects for your resume.

Thanks!

lokka30 avatar Jun 25 '23 12:06 lokka30

Hi, I would like to help with the API documentation.

Tarlsie avatar Jul 07 '23 16:07 Tarlsie

Hi, I would like to help with the API documentation.

Hi @Tarlsie, hope you're well and thank you for helping us with the documentation. 🙂

I've edited the original post to include some more useful information on what we need to work on - but before we start, it'd be worth me creating a document structure so we can fill in the blanks for each API's page. I'll action this.

Please confirm if GitHub allows you to contribute changes directly to the Wiki, or would contributions require cloning the Wiki's repository?

lokka30 avatar Jul 08 '23 11:07 lokka30

I want to help out too.

LcyDev avatar Jul 31 '23 10:07 LcyDev

I want to help out too.

Thanks for your interest @LcyDev! Does the GitHub interface allow you to make edits to the Wiki at all, or will this require raw edits to the Markdown?

lokka30 avatar Aug 02 '23 13:08 lokka30

Hi @lokka30 if you still need help I would be happy to contribute to the API documentation. I have access to Postman, and I've taught myself API documentation. I'm looking for some hands-on experience.

I clicked through the wiki and it's not letting me edit.

Psychodahlia avatar Aug 07 '23 20:08 Psychodahlia

Hi @lokka30 if you still need help I would be happy to contribute to the API documentation. I have access to Postman, and I've taught myself API documentation. I'm looking for some hands-on experience.

I clicked through the wiki and it's not letting me edit.

Hi @Psychodahlia, thanks for your interest! I've just spotted a setting that allows all users to edit the Wiki and adjusted accordingly. @Tarlsie and @LcyDev - hopefully this helps.

Cheers

lokka30 avatar Aug 08 '23 00:08 lokka30

Okay, it seems I can edit the wiki just fine.

I can't seem to access the JavaDocs Is there an issue?

LcyDev avatar Aug 09 '23 22:08 LcyDev

Okay, it seems I can edit the wiki just fine.

I can't seem to access the JavaDocs Is there an issue?

Hey @LcyDev, it's possible there was an issue with Ivan's server at the time though it seems to work for me fine just now: Javadocs

lokka30 avatar Aug 10 '23 02:08 lokka30

Hello, I would love to help out in this documentation.

Chizobaonorh avatar Aug 31 '23 14:08 Chizobaonorh

Hi @Chizobaonorh, thank you very much for your interest. I've updated the original post with further details. Feel free to make edits to the Wiki, and let us know if you have any questions :)

lokka30 avatar Sep 03 '23 01:09 lokka30

My apologies for the late reply, i should solely focus on the economy wiki for now right?

Chizobaonorh avatar Sep 06 '23 15:09 Chizobaonorh

Can we make contact in discord so we can be more on touch and sincronized?

LcyDev avatar Sep 07 '23 06:09 LcyDev

Absolutely, here's a direct invite to the Treasury Discord channel on ArcanePlugins :+1:

lokka30 avatar Sep 07 '23 10:09 lokka30

Hello, I'd like to also help with the documentation

EdwinChukwuebuka avatar Sep 15 '23 15:09 EdwinChukwuebuka

Hello, I'd like to also help with the documentation

Hi @EdwinChukwuebuka, thanks! If the original post doesn't have enough info please comment or shoot me a DM :) Otherwise feel free to contribute as you wish, the Wiki should have public editing enabled.

lokka30 avatar Sep 16 '23 08:09 lokka30

Okay @lokka30 I will, thank you :)

EdwinChukwuebuka avatar Sep 16 '23 08:09 EdwinChukwuebuka

Hello, I'd like to collaborate and contribute to this documentation

nimraahmed avatar Sep 26 '23 08:09 nimraahmed