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

[Documentation] Rewording, improving structure #11249

Open
wants to merge 4 commits into
base: 3.0.x
Choose a base branch
from

Conversation

Co-authored-by: Grégoire Paris <postmaster@greg0ire.fr>
@ThomasLandauer ThomasLandauer changed the title [Docs] Rewording, improving structure [Documentation] Rewording, improving structure Feb 12, 2024
@ThomasLandauer
Copy link
Contributor Author

If you merge this, I'll continue with the lower half of the page ;-)

@greg0ire
Copy link
Member

greg0ire commented Feb 13, 2024

@derrabus @SenseException @mpdude this is a first. What's your opinion on where a documentation improvement should go? Since it does not threaten the stability and is not bound to a release (as in, its publication does not depend on a milestone being closed), I'd say either 2.18.x or 3.0.x is fine. Leaning more towards 3.0.x so as to alleviate the maintenance burden.

Let me know what you think and I will update #11208

@ThomasLandauer
Copy link
Contributor Author

I think it's a bit like the Diataxis framework if you equate Cookbook articles to how-to's

I'm answering down here, so it stays visible after the above conversation is closed as "resolved".

Yeah, I've seen it at https://documentation.divio.com/
But I've never seen it used in practice anywhere, so I doubt it really works out. As I understand it, an example for an how-to guide in Doctrine would be "How to create a webshop".
Symfony had a cookbook, but they moved away from it (probably for a reason - although I couldn't find any discussion about it).

In Doctrine, take a look at these 3 pages:

Each explains a single topic, so I can't see any reason why one is a tutorial, the other a reference, and the third in the cookbook.
(Just noticing that Pagination is even listed twice in the left navigation bar)

So I think that flattening this structure down to just one list of articles would be a step forward.

@greg0ire greg0ire closed this Feb 13, 2024
@greg0ire greg0ire reopened this Feb 13, 2024
@greg0ire
Copy link
Member

As I understand it, an example for an how-to guide in Doctrine would be "How to create a webshop".

"How to create a webshop" sounds more like a tutorial to me, because if you write such a documentation article, you are going to have to make a lot of choices that might clash with the reader's idea of a webshop. A good example for a how-to guide would IMO be "how to upgrade from SERIAL to IDENTITY_GENERATED_ALWAYS". It's a list of steps for a user who isn't studying, but getting something out of the way.

Symfony had a cookbook, but they moved away from it (probably for a reason - although I couldn't find any discussion about it).

Symfony seems to find at least "reference" useful: https://symfony.com/doc/current/reference/index.html
As for "tutorials" they even have a separate website with them and just them: https://symfonycasts.com/

Each explains a single topic, so I can't see any reason why one is a tutorial, the other a reference, and the third in the cookbook.

I first heard about divio/diataxis a few years ago, so I'm not sure at all that the people who wrote the docs were following it at all or doing things instinctively.

@derrabus
Copy link
Member

What's your opinion on where a documentation improvement should go? Since it does not threaten the stability and is not bound to a release (as in, its publication does not depend on a milestone being closed), I'd say either 2.18.x or 3.0.x is fine.

Yes. Usually, the lowest supported branch should be fine, if the feature that is documented exists there.

@ThomasLandauer
Copy link
Contributor Author

So is this OK now in 3.0?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants