docs: Comply with Diátaxis#732
Conversation
… old location to new ones.
75cb642 to
204a6ba
Compare
|
Really cool to see that there was some effort to standardize the technical documentation specs. I put the breaking change flag because this will break some existing links (from outside of torchjd to our docs). But I don't think it's a big issue (it's not like there are so many of those links out there). EDIT: just saw the redirecting script. If I understand correctly the old links will still work. Removing the breaking change flag. |
|
If I understand correctly:
IMO we should mainly improve on tutorials and simplify the readme (which is currently a mix of everything). |
|
Exactly right, the goal of this is not to do all of it, just to go in that direction/structure. This definitely will break the ice for newcomers, while keeping experts comfortable. I believe this is a significant improvement. So my goal for now is really to structure it that way, then we shall of course make the content changes. |
|
@ValerianRey I think we do not check links on the built docs, should we do that (and make the link checker dependent on the doc builder)? |
Why would we need to do that? I think this action has to many false positives to be used everywhere. |
Can we test it with local documentation building? Also, please try to review all AI-generated code yourself before asking for reviews (otherwise it duplicates the effort so it kinda kills the point of using AI) |
|
Do we really care that much about changing the url from docs to reference? I think we used docs to match what's done in torch. And from reading Diataxis, I don't think it's a strict requirement to match exactly the names that they use. In my understanding, it's more of a way for us to understand what kind of information we're trying to convey. It also makes the URLs longer. So I don't think the 500 lines of AI-generated code for redirects (or breaking change of url if it doesn't work) are worth it. |
|
I think this PR should focus on splitting tutorials and how-to-guides, and later we can make tutorials more compliant with the dataxis structure (see how tutorials in https://www.gatsbyjs.com/docs/ are structured), make more of them, and maybe improve a bit some of our how-to-guides. Let's go step by step, this is a long journey. |
|
I don't like this anymore. |
|
Hello, I think there is a better way we can do this, we are kind of overcomplicating it, give me some time |


This dev branch makes the transition toward compliance with Diátaxis.
docstoreferenceWe can partial merge this to main with any release.
When merging main to this, should verify:
docs/source/docsis empty, if not, it should be moved todocs/source/referenceand cross references should be fixed.