-
Notifications
You must be signed in to change notification settings - Fork 910
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
How to make the documentations works for kedro-datasets
?
#1651
Comments
Maybe we should take the opportunity to re-evaluate whether there's a better option than sphinx for us. Last time I checked it was tricky to find an alternative that did both markdown docs + API docs, but maybe worth investigating again. The current sphinx process is quite painful already, and I'm a bit worried this will make it even worse. kedro datasets API documentation is definitely important though. I'd guess it's the most viewed part of our API docs by some margin. |
My initial thought would be to keep docs in the
But I think both options will be a bit fiddly to get working (e.g. so sphinx links work correctly) 😬
Agree this would be technically easier but also not such a smooth user experience. I guess it wouldn't be so bad if we link to those docs from the kedro ones very clearly though. it would be easier to resolve the @deepyaman any ideas here? You like fiddling round with docs 😀 |
Note this is old. See #1651 (comment) for the latest scheme.This was discussed in technical design on 13 July and the plan is as follows.
To achieve this we need the following flow when docs are built on
The tricky part here is ensuring that the different Ideally this is what we should have:
Note this is still a bit confusing because we could release To achieve this:
For the bottom two points where It would be nice to have a note of which version of docs for Possible catch/source of confusion: are we going to have both |
Yeah, agree that is the even more accurate 👍 I just thought it might be more complicated than it was worth (given my "ideal" solution above is already kind of complicated). e.g. I think you would have to do something like this for
... which all sounds possible. I just don't know if it's worth the extra effort (or maybe there's a much easier way of doing it that I missed here). Ah, also I just remembered what I thought one of the points of confusion here would be: the documentation for |
Important note. Using a namespace package should make stage 1 (copy the kedro-datasets files into a datasets folder in kedro) much easier: you just |
Updated scheme following #1758 (comment).
To achieve this we need the following flow when docs are built on
The tricky part here is ensuring that the different Ideally this is what we should have:
To achieve this:
For the bottom two points where It would be nice to have a note of which version of docs for Possible catch/source of confusion: are we going to have both |
The above solution was discussed in Tech Design on 14/9 and everyone agreed that it sounds like a good plan. We should:
|
Related to #1497 - Adding this here so we don't forget to update it once we decide on how to make docs work for
|
Notes on how to copy To copy
To copy
|
@SajidAlamQB For the |
@noklam I thought so too but I was also thinking we would use the kedro's release workflow for workflow 2 which wouldn't make sense to do when |
The current problem we are facing is that ReadTheDocs checks out 3 possible solutions: Solution 1: Commit way: We can trigger a commit with Solution 2: Solution 3: sphinx |
The above 3 solutions were discussed in the technical design session, and we have decided to:
|
Completed in #2006 |
Introduction
This is part of the effort of splitting out
kedro.extras.datasets
tokedro-datasets
Background
How will docs work for kedro-datasets? We will need to generate documentation (at least the dataset part) from the kedro-datasets repo. What will be the CI/CD process to generate it?
There are also more subtle questions like:
latest
orstable
means when we have two repositories in the doc?Potential Solutions
kedro
andkedro-datasets
into a monorepo - http://fmarco76.github.io/git%20and%20related%20services/readthedocs. This is quite complicated but seems to be the more obvious choice when I Google around.Both of these solutions are far from ideal, is there any popular libraries doing similar things?
The text was updated successfully, but these errors were encountered: