Skip to content
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

Revise Viz docs content to add intersphinx linking #1628

Merged
merged 24 commits into from
Nov 13, 2023
Merged

Conversation

stichbury
Copy link
Contributor

@stichbury stichbury commented Nov 8, 2023

Description

Twin to the Framework PR kedro-org/kedro#3283 which links Viz back to the Framework subproject. Note that this PR also contains the changes to layout.html to fold in the new meganav and CSS changes for docs subprojects.

I've left a couple of links that point to permalinks for subheads rather than pages, since we cannot fix those at present kedro-org/kedro#3289 but otherwise this is nicely decoupled.

Also revised the permalink symbol for each subhead anchor and made a minor copy change.

Ready for Viz team review.

Development notes

QA notes

Checklist

  • Read the contributing guidelines
  • Opened this PR as a 'Draft Pull Request' if it is work-in-progress
  • Updated the documentation to reflect the code changes
  • Added new entries to the RELEASE.md file
  • Added tests to cover my changes

@stichbury stichbury changed the title [draft] Revise Viz docs content to add intersphinx linking Revise Viz docs content to add intersphinx linking Nov 8, 2023
@stichbury stichbury self-assigned this Nov 8, 2023
@stichbury stichbury marked this pull request as ready for review November 8, 2023 12:14
@stichbury
Copy link
Contributor Author

One thing left to do here is to hook up the docs build to the automated Viz build system and RTD, plus any final checks to add like docs linting. Probably something to ask @astrojuanlu or @SajidAlamQB to look at.

stichbury and others added 10 commits November 8, 2023 14:03
Signed-off-by: Jo Stichbury <[email protected]>
)

* Update docs front page

Signed-off-by: Jo Stichbury <[email protected]>

* Remove nav_version next to Kedro logo in top left; add Kedro logo

Signed-off-by: Tynan DeBold <[email protected]>

* Revise project name and author name

Signed-off-by: Jo Stichbury <[email protected]>

* Use full kedro icon and type for logo

Signed-off-by: Tynan DeBold <[email protected]>

* Add mobile nav close btn

* Move code for adding btn to event listener

* Add css for mobile nav image background

* Update close button for mobile nav

---------

Signed-off-by: Jo Stichbury <[email protected]>
Signed-off-by: Tynan DeBold <[email protected]>
Co-authored-by: Tynan DeBold <[email protected]>
Co-authored-by: Vladimir <[email protected]>
Co-authored-by: vladimir-mck <[email protected]>
Signed-off-by: Jo Stichbury <[email protected]>
Add datasets subproject link
…lling. (#1631)

* Update shareable viz docswith sections on creating access key and billing

Signed-off-by: Nero Okwa <[email protected]>

* Update docs/source/share_kedro_viz.md

Co-authored-by: Tynan DeBold <[email protected]>

* Update docs/source/share_kedro_viz.md

Co-authored-by: Tynan DeBold <[email protected]>

* Update docs/source/share_kedro_viz.md

Co-authored-by: Tynan DeBold <[email protected]>

* Update docs/source/share_kedro_viz.md

Co-authored-by: Tynan DeBold <[email protected]>

* Update docs/source/share_kedro_viz.md

Co-authored-by: Tynan DeBold <[email protected]>

* Update docs/source/share_kedro_viz.md

Co-authored-by: Tynan DeBold <[email protected]>

* Update docs/source/share_kedro_viz.md

Co-authored-by: Tynan DeBold <[email protected]>

* Update share_kedro_viz.md

---------

Signed-off-by: Nero Okwa <[email protected]>
Co-authored-by: Tynan DeBold <[email protected]>
Co-authored-by: Jo Stichbury <[email protected]>
Copy link
Member

@astrojuanlu astrojuanlu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is looking good! Left a few comments

docs/source/conf.py Outdated Show resolved Hide resolved
docs/source/conf.py Outdated Show resolved Hide resolved
docs/source/conf.py Show resolved Hide resolved

## Set up a project

This section describes the steps necessary to set up experiment tracking and access logged metrics, using the [spaceflights tutorial](https://docs.kedro.org/en/stable/tutorial/spaceflights_tutorial.html) with a version of Kedro equal to or higher than 0.18.4, and a version of Kedro-Viz equal to or higher than 5.2.
This section describes the steps necessary to set up experiment tracking and access logged metrics, using the {doc}`spaceflights tutorial<kedro:tutorial/spaceflights_tutorial>` with a version of Kedro equal to or higher than 0.18.4, and a version of Kedro-Viz equal to or higher than 5.2.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noticed that all these {doc} references are opened in a new window, is that on purpose?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It wasn't 😆 although I'm asked for it often enough and I think it's quite a reasonable thing to do. How to control this?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a good question 😅 I'll do some digging

docs/source/experiment_tracking.md Show resolved Hide resolved
docs/source/preview_datasets.md Outdated Show resolved Hide resolved
docs/source/preview_datasets.md Outdated Show resolved Hide resolved
docs/source/share_kedro_viz.md Outdated Show resolved Hide resolved
docs/source/visualise_charts_with_matplotlib.md Outdated Show resolved Hide resolved
docs/source/visualise_charts_with_plotly.md Outdated Show resolved Hide resolved
docs/source/conf.py Outdated Show resolved Hide resolved
@stichbury
Copy link
Contributor Author

@astrojuanlu Thanks for the review. Couple of comments left for you but also I intend to revisit these soon to revise for the add-ons/starters changes coming on 0.19 so there will be another bunch of fixes and a separate "Set up Viz" page in the near future.

Copy link
Member

@astrojuanlu astrojuanlu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Honestly I think this is good enough to get in! We can iterate later, it's important to close the loop

Copy link
Contributor

@rashidakanchwala rashidakanchwala left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@stichbury, I haven't done a thorough content review as you said it's the same.
Overall, the structure looks great. Thank you

Copy link
Member

@tynandebold tynandebold left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing work!

Signed-off-by: Jo Stichbury <[email protected]>
@stichbury stichbury merged commit a38770b into main Nov 13, 2023
5 checks passed
@stichbury stichbury deleted the viz-docs-update branch November 13, 2023 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants