-
Notifications
You must be signed in to change notification settings - Fork 394
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
docs: remove unnecessary index pages that serve as a table of contents #727
Comments
The point of having them is that we can add some text about the purpose of the section, and summary of each page inside. All of those texts are custom, they don't come from inside any of the other pages. So auto-generating them won't be able to get these same results, so I think the decision is either keep them or remove them. If we don't want to have to maintain them, let's just delete all these index.md files. |
@jorgeorpinel yep, I don't mean pages that have some unique content or some introductory text. I specifically mean pages https://dvc.org/doc/user-guide/contributing that do not have any new content but repeat the structure. Moreover I really like that page, but I understand that it'll be a nightmare to keep those in sync w/o proper tooling. |
I have tried
Again this seems like it needs to be fixed on the engine. I could be specified with a field like |
@jorgeorpinel As I said above, currently this is not possible, as it breaks the engine. Maybe this could be regarded as bug too, because I would expect it to work automatically without index pages.
I agree with @shcheklein , sometimes they are useful, sometimes they are a burden. I think that autogenerating an index page should be the default, unless the |
It should be possible - check understanding DVC and/or changelog sections. |
Ah, Ok. Never mind Ivan.
I'm able to reproduce this bug. I would say just delete the index pages and open a separate bug issue @dashohoxha. (We could wait for that fix before merging this PR.) All parent slugs with
Automatically generating a list of H2s in child documents when no |
@jorgeorpinel could you please create a ticket to fix the issue with indexes? Do you want to try to take it? :) |
Opened #738. So this one is now just to delete all indices as I suggested? Updating title |
Yep, I would clarify that not all indexes - only those that do not provide any extra value and can be generated in the future. |
I'm confused, actually. What is the difference between this issue and #738? Seems to me like this one depends on that one at least. We could probably re-merge them? |
Yeo, this one depends on #738, but they are different anyway. I would keep them separate for simplicity. |
OK I'm working on this one now. @shcheklein. One question, what about
? They have useful, unique content but I'm not sure the cmd ref is the best place for those explanations. Should we take the opportunity to move them into a new user-guide: "Basic Concepts" (#550)? UPDATE: Following up in #903 (comment) |
Blocked by #738
E.g. https://dvc.org/doc/user-guide/contributing
It'll be very painful to support them. We will need to keep titles up to date, list of them, snippets, etc, etc.
Let's not use pages like this at all or come with a way to generate them automatically.
cc @dashohoxha
The text was updated successfully, but these errors were encountered: