godotengine / godot-docs

Godot Engine official documentation
https://docs.godotengine.org
Other
3.98k stars 3.24k forks source link

Suggestion for restructuring the docs #1589

Closed ttencate closed 4 years ago

ttencate commented 6 years ago

After several months of working with Godot, the structure of the documentation is still confusing me. Everyone I've talked to about it says the same. Many things are actually there, but not in the place where people would expect them to be.

Here's the top-level sections that I would expect:

I don't know what thought process went into designing the current structure, so I might be missing important arguments for doing things the way they are done. In that case, please enlighten me, so we can arrive at a solution that's best for everyone :)

CptPotato commented 6 years ago

I think this is a very good idea/concept, though I guess it would also require a lot of work.

Personally, found the class reference the most troublesome to work with as it's not categorized and difficult to search.

ttencate commented 6 years ago

The class reference is a slightly different topic, because it's autogenerated. It could be structured better than a flat list, but let's focus this issue on the "regular" docs.

I think it could be done in a few hours of focused labour (famous last words) and if everyone agrees, I might be willing to do it (famous last words too...).

Has anyone from Godot docs team had time to read this yet?

cbscribe commented 6 years ago

This comes up now and again. See #1003, for example.

I'd be happy to review a pull request if someone wants to tackle it. I think it's more work than you think, but if you want to tackle it, I say go ahead and get the ball rolling. A PR is likely to create more action and response than a plain discussion.

BTW, how is the class reference difficult to search? Type the node or method you're looking for and the matches come up. See #346 for a previous discussion - since it's "consumed" by more than just the online docs, it's not a trivial task to reorganize. FWIW, I did most of my Godot learning using the API docs and found it relatively easy to find things, even in the pre-3.0 days when there was much less description coverage. Every class lists its inheritance, returned types are linked, etc. It works very well as a reference.

NathanLovato commented 6 years ago

There's been long discussions on that. The main suggestion I see here is to split tutorials and general guides in two.

The docs' structure is simple: past the getting started section, all areas of the engine have their own page and you can find everything you'd need about them there. Instead of having two sections, e.g., tutorials and reference, with duplicate names, because we'd need to categorize them: tutorials about physics, reference manual about physics, etc.

The way readthedocs works, it means you'd end up having this list two times over time, as people get to cover new features and add new tutorials.

firefox_2018-07-18_13-29-55

The other reason to not rename the tutorials section was you'd need to redirect every page. It was enough of a pain last time we did so.

Sure, there's always room for improvement. If someone could go through every page in the docs and categorize them well, that'd be great. There's a lot of work involved.

ttencate commented 6 years ago

@cbscribe Thanks for chiming in. It seems #1003 resulted in significant improvement and more or less brought us to where we are today, so it makes for good background reading on why things are the way they are. I was hesitant to start on a PR without gathering any input and context beforehand, because it will be a fair bit of work.

@NathanLovato You make an excellent point about duplicating all the categories. I would have to see how many things under Tutorials really are tutorials. If it's just a handful, categories might not be needed, or could be a bit broader than those in the Reference section.

akien-mga commented 6 years ago

I'd be happy to review a pull request if someone wants to tackle it. I think it's more work than you think, but if you want to tackle it, I say go ahead and get the ball rolling. A PR is likely to create more action and response than a plain discussion.

No, please don't waste hours moving files around and fixing paths to make a PR. The structure should be decided first, then it should be PR'ed. A PR changing the docs structure would be unreadable anyway.

NathanLovato commented 4 years ago

Addressed by #3969, but also current and upcoming changes, closing for now