@quartz ingot pinging you in here to keep this out of the main channel.
I've been following the instructions from the github repo (https://github.com/Berserk-Games/Tabletop-Simulator-API/).
The final command mkdocs serve is running into an error though.
Can you confirm whether these instructions are still correct (e.g. working for you) or if I am doing something wrong?
(While I'd appreciate it, I don't need you to debug this for me, just want to know whether I am going in the right direction.)
#Contributing to TTS API documentation
1 messages ยท Page 1 of 1 (latest)
@shut gorge would be better suited to answer but it seems like you're missing or have a broken install of setuptools
pip install setuptools probably
I seldom use python (bun/node for me >:) )
That seems to have solved this error, but now it's running into the next one ๐
I'll wait for b_d
Friend recommended me to try uv and that seems to properly install the dependancies, but now I am missing some emojis? LOL
Further diving into it, it seems like some of the dependancies are no longer available
Looks like the project might need a small update to allow contributing ๐
I'd have preferred to use something flatfile but this was added before I had a say so e: actually mkdocs is flatfile
ngl, I couldn't get it to work either.
I've upgraded Python, the dependencies, Github Actions and the documentation. It's now in working order again.
Ohh thank you!!
@quartz ingot Here's my first contribution: https://github.com/Berserk-Games/Tabletop-Simulator-API/pull/170
alright give me a minute to juggle password managers that log me out
Hah no rush
Btw it was really nice to have file-watching and automatic browser page reloading when changing something
can you maybe rename that to actually be semantically understandable i.e "set selection to dropdown menu item at index" or something like that
Sure
comments in docs should be very literally what it does not what it's higher up purpose is ๐
To elaborate, this is necessary to make sure the dropdown selection stays the same when using getXmlTable() & editing & setXmlTable() down the line
Haha, I had similar feedback, but on a different line.
Updated it with better wording
https://github.com/Berserk-Games/Tabletop-Simulator-API/pull/171
Made a 2nd PR with a bunch of smaller changes. Hope it's not too bad to review!
It looks like it's more than it is because of the changed indentation for the fixed examples.
All good. Was a super straight forward review. Much appreciated.
Made a final PR for today ๐
Contributing to the documentation of the sandbox that I have been spending thousands of hours on has been a lot of fun!
https://github.com/Berserk-Games/Tabletop-Simulator-API/pull/172
Btw these existing PRs look good to me:
- https://github.com/Berserk-Games/Tabletop-Simulator-API/pull/164
- https://github.com/Berserk-Games/Tabletop-Simulator-API/pull/161
- https://github.com/Berserk-Games/Tabletop-Simulator-API/pull/160
- https://github.com/Berserk-Games/Tabletop-Simulator-API/pull/147
- https://github.com/Berserk-Games/Tabletop-Simulator-API/pull/154
Doesn't mean that the other ones aren't good, but I reviewed these since they are all just 1-2 lines.
@quartz ingot I've reviewed most of the open PRs on the API repository, they look good to me
@quartz ingot let me know if I can do anything to get my PR (and the other ones) over the finish line
@shut gorge can you look these over?
@quartz ingot Sorry for the weekly ping, but if benjamin isn't available, could you review the PRs?
no worries about the ping but it's too late right now I'll check tomorrow morning or when I get back in the evening
e: postponing until tomorrow feeling a bit off today so not working
Totally fine by me, it ain't urgent
alright checking now
aaaaaaaah my eyes my other account doesn't have dark mode enabled
Looked fine to me all merged
Thanks!
@quartz ingot I think you missed the main one ๐คฃ
https://github.com/Berserk-Games/Tabletop-Simulator-API/pull/172
Haha my bad, I'll look over it closelier tomorrow but I think your example here is missing an end
That's right, will fix that (edit: it's now corrected)
was just a test
it's also maybe not the best example sa getobjects expects to be used on a container
as*
That's not correct
getAllObjects()?
getObjects() exists as both a Global function and a container function
That's deprecated
really, I use it all the time l0l
Is it tomorrow yet? ๐