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

[PORT TG][TOOLS][UNIT-TEST] Ports AutoWiki. coding cataloging the redux esquire #22518

Open
wants to merge 22 commits into
base: master
Choose a base branch
from

Conversation

wonderinghost
Copy link
Contributor

@wonderinghost wonderinghost commented Aug 12, 2024

Document the changes in your pull request

when exploring the catacombs of tg for tgui i came across this little curio. Autowiki by @Mothblocks, what this does is produce a new template for the wiki (template:Autowiki/example) by running the server test and outputting it as raw data to be added to the template and enter que for uploading the page to wiki.
so right now we got a test template for vending machines, however the rest is up for you guys to figure out what to use this for

(to create new page templates look in the Autowiki module folder for reference pieces or on the wiki linked below.)

Why is this good for the game?

less work for the few active wiki staff left. especially for something mundane like a chem or pen 4 not in objects list

Testing

https://wiki.yogstation.net/wiki/Template:Autowiki/Content/VendingMachines
https://wiki.yogstation.net/wiki/Template:Autowiki/Content/TechWeb

thx @ToasterBiome for checking that this works

Wiki Documentation

a warning to not try and manually edit those lists. also, hi mord
and a page for this https://tgstation13.org/wiki/Guide_to_autowiki

Changelog

🆑 Mothblocks, Peliex, Zonespace27
rscadd: adds new unit testing and tools for Autowiki to run
experimental: This is experimental
/:cl:

@Yogbot-13 Yogbot-13 added Feature This adds new content to the game Javascript This PR contains javascript code. labels Aug 12, 2024
@github-actions github-actions bot added Dependencies This PR relies on something else, or is supporting another PR Github changes to the .github folder labels Aug 12, 2024
@wonderinghost wonderinghost marked this pull request as ready for review August 20, 2024 07:31
@wonderinghost wonderinghost requested a review from a team as a code owner August 20, 2024 07:31
@wonderinghost
Copy link
Contributor Author

think this is set just need some dependencies updated

@wonderinghost
Copy link
Contributor Author

Practically done just waiting on wiki end to see if the template will update and post

tools/autowiki/autowiki.js Outdated Show resolved Hide resolved
Copy link
Contributor

@ToasterBiome ToasterBiome left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we get a few more pages thought of/potentially converted so this isn't exclusively used for vending machines? Maybe the research tech web

Copy link
Contributor

@ToasterBiome ToasterBiome left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for the research page please include the icons too, the same ones that are used in the actual research GUI

they're generated by /datum/asset/spritesheet/research_designs/create_spritesheets(), there's some complexity from it.

After that, I'd consider this in a usable sate if we can somehow extract this complex behavior into the wiki.

@wonderinghost
Copy link
Contributor Author

shouldnt be that hard but cool

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dependencies This PR relies on something else, or is supporting another PR Feature This adds new content to the game Github changes to the .github folder Javascript This PR contains javascript code.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants