wesnoth / wesnoth

An open source, turn-based strategy game with a high fantasy theme.
https://www.wesnoth.org/
GNU General Public License v2.0
5.47k stars 1.01k forks source link

Documentation: wiki vs .mds #4904

Open kmhuff opened 4 years ago

kmhuff commented 4 years ago

Hi, I'm new to the project. @gfgtdf and @Pentarctagon helped me out with a compiling issue yesterday here.

I've noticed that there tend to be a lot of duplicate topics between the wiki documentation and the .md files here on github. It seems to me that this makes it easy for one or the other to get out of date, and might result in newbies like me missing important information.

Examples:

My proposal is to add any information in the .mds not already in the wiki, then change the .mds to point to the correct wiki page or pages (or vice versa). This will make keeping documentation up to date less painful and reduce the chance of someone following outdated instructions.

I'd be happy to make this change myself if the community agrees that it's a good idea.

github-actions[bot] commented 4 years ago

Hi! Thanks for helping make Wesnoth even better!

Pentarctagon commented 4 years ago

I've updated the INSTALL and other readme files to have the correct compiling information. The wiki pages have therefore been removed so as to prevent anyone from accidentally still using them.

Pentarctagon commented 4 years ago

@kmhuff Also, if you want to move over the information from CONTRIBUTING.md, that's good too. FYI though about how you'll need to get a wiki account created though: https://forums.wesnoth.org/viewtopic.php?f=17&t=43815

Vultraz commented 4 years ago

I'd rather we move information to CONTRIBUTING.md, rather than out of.

kmhuff commented 4 years ago

When I get a wiki account, I'll add any relevant info from the wiki to CONTRIBUTING.md and add links from the wiki to the file. Does that work? In general, do we prefer having info in the files here on github?

Pentarctagon commented 4 years ago

I'd say that here makes, since this is where people submit the actual issues/PRs/etc.

soliton- commented 4 years ago

In general, do we prefer having info in the files here on github?

I would say that any info that directly pertains to the code in the repo should also be in the repo. So the README and INSTALL files should by up-to-date and authoritative. The CONTRIBUTING file is good to contain some general hints and pointers to other places. Not sure we'll be able to fit everything in there.

The wiki is good for more extensive info and stuff that we won't be able to maintain like how best to install dependencies in your favorite linux distribution or so.

rubyFeedback commented 4 years ago

Personally I prefer .md files these days, but mostly because I like to document/comment my own code. On the issue here, I am not part of the wesnoth team, just a simple player; I don't mind as much the format, as long as the documentation is of high quality. (One thing that could be improved one day may be the in-game help, in particular adding search functionality; right now searching via google is so much more efficient and I don't think this should be the case, but I digress.)

It's ok to split up the main README into separate subsections. I have to admit that I rarely go to the wiki; I assume many others will also first look at the README and go from there, with only a few going to the wiki specifically.