question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to make the documentations works for `kedro-datasets`?

See original GitHub issue

Introduction

This is part of the effort of splitting out kedro.extras.datasets to kedro-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:

  • What does latest or stable means when we have two repositories in the doc?

Potential Solutions

  1. Having a dedicated doc repository that add kedro and kedro-datasets into a monorepo - http://fmarco76.github.io/git and related services/readthedocs. This is quite complicated but seems to be the more obvious choice when I Google around.
  2. Split the doc into two ReadTheDocs projects - may be easier technically, but not ideal for user experience and diverge our visits into two places.

Both of these solutions are far from ideal, is there any popular libraries doing similar things?

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:15 (15 by maintainers)

github_iconTop GitHub Comments

2reactions
SajidAlamQBcommented, Nov 23, 2022

The above 3 solutions were discussed in the technical design session, and we have decided to:

  • Implement solution 2, use .readthedocs.yml hooks to copy over ONLY the latest release of kedro-datasets to kedro.datasets just before the document generation step on RTD. This means that our latest and stable tags will be the same for the kedro-datasets API docs. We agreed on this being a temporary solution as we will be moving away from RTD and Sphinx. We’ll mitigate the issue of the kedro-datasets docs falling behind by having frequent releases.

  • We will copy just latest release of kedro-datasets on CI, and test that the docs still pass.

1reaction
merelchtcommented, Sep 15, 2022

The above solution was discussed in Tech Design on 14/9 and everyone agreed that it sounds like a good plan. We should:

  • Ensure that as much of the setup as possible is automated
  • Do an experiment to see if we can “have a note of which version of docs for kedro-datasets is being used in the kedro docs.” Above this is described as a nice to have, but in the discussion we agreed this is quite important and we should make an effort to make it work.
Read more comments on GitHub >

github_iconTop Results From Across the Web

Set up the data — Kedro 0.18.4 documentation - Read the Docs
Register the datasets with the Kedro Data Catalog in conf/base/catalog.yml , which is the registry of all data sources available for use by...
Read more >
Kedro 0.18.4 documentation - Read the Docs
Welcome to Kedro's documentation!¶ · Use the Data Catalog within Kedro configuration · Specify the location of the dataset · Data Catalog *_args...
Read more >
Custom datasets — Kedro 0.18.4 documentation
Custom datasets¶. Kedro supports many datasets out of the box, but you may find that you need to create a custom dataset.
Read more >
The Data Catalog — Kedro 0.18.4 documentation
The Data Catalog¶. This section introduces catalog.yml , the project-shareable Data Catalog. The file is located in conf/base and is a registry of...
Read more >
Set up the data — Kedro 0.17.4 documentation - Read the Docs
You now need to register the datasets so they can be loaded by Kedro. All Kedro projects have a conf/base/catalog.yml file, and you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found