Closed milkev closed 4 years ago
While wiki is not in best shape you can use creative mode to check particular items
@drcrazy can I somehow contribute to the Wiki?
Sure. Ping me in discord https://discord.gg/teamreborn
I'd argue that documentation for the mod should be completely overhauled to be managed in source control. This would offer several benefits:
Crafting recipes, localization, etc is already defined in a structured manner in the resources folder, so it wouldn't be a major technical feat to generate the documentation from that data using templates.
Don't get me wrong, setting this up would be quite a bit of work, but once it's going it will just magically adjust to any changes made to crafting recipes, translation strings, etc, taking a lot of the tedium out of maintaining the documentation.
This would also allow you to have properly versioned documentation, so the user can always be sure that what they are reading is intended for the version of the mod they are using. This is the strategy a lot of modern open source projects use.
I'd be surprised if something like this doesn't already exist for minecraft mods, but I haven't really looked into that.
If I understand you right, this would mean the wiki can be indirectly updated through pull requests? I'd be happy to help out with his, if your suggestion gets accepted.
If I understand you right, this would mean the wiki can be indirectly updated through pull requests? I'd be happy to help out with his, if your suggestion gets accepted.
What I'm proposing is largely throwing the wiki out entirely for documentation that is generated directly from the codebase.
The documentation wouldn't be a separate entity that has to be babysat whenever the code changes, the documentation would be the code itself.
What I'm envisioning would probably be a Jekyll site with a bunch of templates for blocks, items etc into specifics like machines, wires, tools, etc, with all the details (recipes, names) being derived from the resource data of the mod.
You could then simply attach any additional information to the template for a specific item/block, and let the templating engine do all the hard work of generating the website itself.
After it's set up, the only time you would have to touch the templates is when a new item is added or functionality is fundamentally changed in a way that needs to be explained. Everything else would be automated.
Wow! That sounds impressive. I didn't know this was a thing. :-D Still, if the dev team doesn't think they have time for this, I'd be happy to help out a few hours a day to migrate all additional information from the current wiki.
How difficult would it be to translate the generated information to an always-up-to-date in-game book?
With a version for 1.12, 1.15 and soon 1.16, is it feasible to separate the version-specific information without too much duplicate work?
Depending on my free time the next week, I might play around with this idea in my own branch to sort of provide a demonstration of what I'm talking about.
An in game book would be possible, but might not have a lot of overlap, or would require a mod capable of parsing the templates which might be more pain than it's worth. I would need to do a lot more digging before I could really judge the practicality of that.
In the long term it might make more sense to write a module for REI that could load additional documentation from the mod's resources but that's outside the scope of my current knowledge of minecraft modding.
Backporting it to any version of the mod post-flattening probably wouldn't be too hard but would likely be more work than it is worth.
Feel free to play with it. I will be happy to review your findings and apply them to TR if possible.
Feel free to play with it. I will be happy to review your findings and apply them to TR if possible.
Okiedoke, looking around Orchid seems very promising and it supports plugins. It's written in Java so I'd have to do some learning there but should integrate nicely into the build process.
Might even be able to utilize some of fabric's development libraries to make my job easier.
The ideal scenario here would be the development of a general purpose plugin for Orchid that could be used by any fabric mod to easily generate documentation.
All of this is technically possible, it's just a matter if my motivation holds up lol.
This seems to be an ongoing convosation that would be best suited in the wiki channel on the discord server. (Poke me on there if you want adding).
Sadly I dont have hours of time to make the wiki perfect, and my writing skills are far from great.
Closing this "issue" as this isnt an ideal place to discuss the changes.
Is your feature request related to a problem? Please describe. Finish the wiki. Its annoying to want to make something, but have no information aside from intuition. eg, I know what the wires do (transfer energy) but how fast does anything other than copper transfer energy? and the cloaking device, id assume it makes you invisible, or some equivalent, but how much energy does it hold? how much does it consume? i dont know, and because of this i dont hold any real interest in making it to find out, and if i did make it i still wouldnt know exact things like energy storage. ive been watching the wiki for a couple weeks as i go through my own world and want to know what things are for, and i havent noticed anything getting info pages.
Describe the solution you'd like Finish the wiki.
Describe alternatives you've considered n/a
Additional context