Tibia-WindBot / WindBot-Docs

Public repository to help with crowdsourcing the WindBot documentation.
4 stars 8 forks source link

Add main libraries documentation #23

Open leonardofalk opened 10 years ago

leonardofalk commented 10 years ago

It'd be really nice if we could add the documentation for the main libraries as we're working on the bot documentation almost a year and we haven't worked on it.

They can be found here.

rmobis commented 10 years ago

Ye, that would be pretty cool, but I have close to zero free time now. If you could start with yours and @LucasTerra's, I'd work on mine in a month or so, when I get the time to. I would probably need to rework part of the docs html code, so please wait until I get home today so we can make a quick plan. On Sep 18, 2014 2:55 PM, "Leonardo Falk" notifications@github.com wrote:

It'd be really nice if we could add the documentation for the main libraries as we're working on the bot documentation almost a year and we haven't worked on it.

They can be partially (over 70%) found here https://github.com/LeonardoFalk/Libraries-Documentation.

— Reply to this email directly or view it on GitHub https://github.com/rmobis/WindBot-Docs/issues/23.

leonardofalk commented 10 years ago

@rmobis

Both Lucas and my libraries are done in the link, only yours is missing, if you can send me a template pattern for your documentation I'll be able to do the rest.

leonardofalk commented 10 years ago

The libraries have all been updated and can be found in the link of the first post, it's just by you now to create the proper template to join them into the main docs.

UltraMC commented 7 years ago

@rmobis @leonardofalk mentioned link is broken, did you mean https://github.com/Tibia-WindBot/Libraries-Documentation or ones updated more frequently separater per creater as in https://github.com/Tibia-WindBot/raphael-library ?

leonardofalk commented 7 years ago

@UltraMC yeah, https://github.com/Tibia-WindBot/Libraries-Documentation is the forked version as it was back then in the first post. However some of the functions have been updated/deprecated and some of the docs were updated in each library, separated by author.

Raphael's library docs are inline and I think it has the most updated docs.

My library is being updated and the most updated version can be found in the _docfile.yml for each function, in the branch 'v2.0.0', check this example, and it has an example file (that may be empty).

Lucas' library docs are inline too, but I think some of them may be deprecated by now, as it was recently updated.

UltraMC commented 7 years ago

@leonardofalk Please confirm that datasource is:

  1. https://github.com/Tibia-WindBot/Libraries-Documentation

What happens in future when you add something to libraries? Where exacly it's going to be putted?

Shall I do it?

Another issue is how to verify what's up and out of date.

leonardofalk commented 7 years ago

@UltraMC the datasource is option 2, libraries.

For now it'll be put inside libraries-documentation repo.

If you wish to do so, yes, you can do it.

UltraMC commented 7 years ago

There's missing data - "Tibia 11" documentation is nowhere to found yet on official website we can see it.

UltraMC commented 7 years ago

How we want to organise it? Preview for option 1

rmobis commented 7 years ago

@UltraMC I guess that works, thought we're on the process (kinda) of merging the three libraries into one so I'd wait on that before investing too much time in their documentation.

PS: Sorry for the delay, last few days have been rough.

UltraMC commented 7 years ago

@rmobis Can you describe what you have to do in "process (kinda) of merging the three libraries"?

I don't linke organasing it by categories per-creator. I would need more experienced users to categorise each function with "Event/Function/HUD/variable etc." fashion and add a new flag saying is it from core or from lib - or no flag at all if users wont care about it but IMO it's improtand as with libs I have access to their LUA source while core functions are hardcoded into software.

I propose going incrementally so:

  1. integrate whatever we have
  2. categorise and flag whatever we have
  3. after merge review it for changes
rmobis commented 7 years ago

The process of merging the three libraries is going to be a long one, but basically it means we'll stop distributing 3 library files and distribute a single on instead. This should ease contribution and maintenance from other users and also make things easier to follow.

I also agree it would be better not to separate them based on where they come from, but just throw them together in the mix with everything else and add the flags. I've had this idea in my mind for a while now...

How about we start integrating the docs from my library first (mostly because the documentation is more up to date and likely easier to parse, but also because it is the last library ran which means the functions I overwrite are the ones what really count) and see what we can do?

UltraMC commented 7 years ago

@rmobis Can you prepare file with map of all functions to document? After that I will work on tool/manually will handle that to exportable format.

file: path (note some files might be covered multiple times due to more than one function present)
name: function/variable name
category: event, variable, HUD etc.

Got Discord group?

rmobis commented 7 years ago

https://discord.gg/JTtRF

UltraMC commented 7 years ago

First @rmobis lib is going to be included in https://github.com/Tibia-WindBot/WindBot-Docs/tree/add-external-libs