-
Notifications
You must be signed in to change notification settings - Fork 905
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
Update links to new docs domain #2400
Conversation
Signed-off-by: Jo Stichbury <jo_stichbury@mckinsey.com>
Signed-off-by: Jo Stichbury <jo_stichbury@mckinsey.com>
Which files are you referring to? Do you mean the autogenerated files, or something else? |
If you grep for class GBQTableDataSet(AbstractDataSet[None, pd.DataFrame]):
"""``GBQTableDataSet`` loads and saves data from/to Google BigQuery.
It uses pandas-gbq to read and write from/to BigQuery table.
Example usage for the
`YAML API <https://kedro.readthedocs.io/en/stable/data/\
data_catalog.html#use-the-data-catalog-with-the-yaml-api>`_:
.. code-block:: yaml
... I myself feel that all those examples that are in the markdown docs, and thus referenced by the API docs, should move back into the API docs, to reduce the narrative docs pages size and break that dependency. But that's definitely not a task for this PR, and so I'm kind of dragging on whether to update them! There's also quite a lot of Kedro code that references docs in error messages. Again, I think we need to update the links but also think about whether there's a better approach here, since any update to the docs is going to break them without careful redirecting (some are linking to anchors, so a simple subheading revision will cause a problem). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't check all the links, but made 1 replacement suggestion for one that still contained numbers in the URL (ugh) as well as other comments. Thanks @stichbury!
I think it's good to treat those separately yes. When we make progress on #2072 we can decide a better way to create those cross references that doesn't involve hardcoding the URL (I know that Sphinx allows for that, and possibly MkDocs does too), or decide to break the dependency as you suggest. |
Co-authored-by: Juan Luis Cano Rodríguez <juan_cano@mckinsey.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! 💯
Signed-off-by: Nok <nok_lam_chan@mckinsey.com>
I added the flag to disable linting error. See the report from CI here https://app.circleci.com/pipelines/github/kedro-org/kedro/19398/workflows/1a18e7aa-ac5b-4396-ac14-3486935d91ae/jobs/234128
This PR previously already add a check for files extract beyond its directory, however, Alternatively, we can further modify the |
I think it's okay to just disable the error since we it's the only place we use |
Yes I agree with @ankatiyar that we've already patched this safely. |
* Update links to new docs domain Signed-off-by: Jo Stichbury <jo_stichbury@mckinsey.com> * Update to conf.py Signed-off-by: Jo Stichbury <jo_stichbury@mckinsey.com> * Update CONTRIBUTING.md Co-authored-by: Juan Luis Cano Rodríguez <juan_cano@mckinsey.com> * Disable as this is false alarm Signed-off-by: Nok <nok_lam_chan@mckinsey.com> --------- Signed-off-by: Jo Stichbury <jo_stichbury@mckinsey.com> Signed-off-by: Nok <nok_lam_chan@mckinsey.com> Co-authored-by: Juan Luis Cano Rodríguez <juan_cano@mckinsey.com> Co-authored-by: Nok <nok_lam_chan@mckinsey.com> Signed-off-by: Danny Farah <danny.farah@quantumblack.com>
* Update links to new docs domain Signed-off-by: Jo Stichbury <jo_stichbury@mckinsey.com> * Update to conf.py Signed-off-by: Jo Stichbury <jo_stichbury@mckinsey.com> * Update CONTRIBUTING.md Co-authored-by: Juan Luis Cano Rodríguez <juan_cano@mckinsey.com> * Disable as this is false alarm Signed-off-by: Nok <nok_lam_chan@mckinsey.com> --------- Signed-off-by: Jo Stichbury <jo_stichbury@mckinsey.com> Signed-off-by: Nok <nok_lam_chan@mckinsey.com> Co-authored-by: Juan Luis Cano Rodríguez <juan_cano@mckinsey.com> Co-authored-by: Nok <nok_lam_chan@mckinsey.com> Signed-off-by: Danny Farah <danny.farah@quantumblack.com>
Description
Update links to
kedro.readthedocs.io
in files such asREADME.md
to point to our newdocs.kedro.org
subdomain.I've yet to update any links in the Kedro python files (not sure whether to do this?) particularly to the big chunk of files in API docs for datasets.
I've also not yet looked at what should change in the
/docs
settings files themselves yet.Checklist
RELEASE.md
file