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

Remove the loading of unused CSS files in the docs #3668

Merged
merged 7 commits into from
Mar 7, 2024

Conversation

tynandebold
Copy link
Member

Description

I saw some console errors and noticed some CSS was being loaded using the old pattern.

Screenshot 2024-02-29 at 19 33 26

Development notes

I've removed those lines so these errors should disappear.

Developer Certificate of Origin

We need all contributions to comply with the Developer Certificate of Origin (DCO). All commits must be signed off by including a Signed-off-by line in the commit message. See our wiki for guidance.

If your PR is blocked due to unsigned commits, then you must follow the instructions under "Rebase the branch" on the GitHub Checks page for your PR. This will retroactively add the sign-off to all unsigned commits and allow the DCO check to pass.

Checklist

  • Read the contributing guidelines
  • Signed off each commit with a Developer Certificate of Origin (DCO)
  • Opened this PR as a 'Draft Pull Request' if it is work-in-progress
  • Updated the documentation to reflect the code changes
  • Added a description of this change in the RELEASE.md file
  • Added tests to cover my changes
  • Checked if this change will affect Kedro-Viz, and if so, communicated that with the Viz team

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.

👍🏽 for now to remove the console errors, but at some point I'll try to get these to a kedro-sphinx-theme of sorts back in version control #3586

Thanks @tynandebold !

Copy link
Member

@merelcht merelcht left a comment

Choose a reason for hiding this comment

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

Thanks @tynandebold

@astrojuanlu
Copy link
Member

I cherry picked this in #3675

tynandebold and others added 5 commits March 7, 2024 15:28
…ttings (#3677)

* Update pipeline create and delete commands to work with base env in the settings

Signed-off-by: Ankita Katiyar <[email protected]>

* Return default base value

Signed-off-by: Ankita Katiyar <[email protected]>

* Ignore unused ignores mypy

Signed-off-by: Ankita Katiyar <[email protected]>

---------

Signed-off-by: Ankita Katiyar <[email protected]>
Signed-off-by: Merel Theisen <[email protected]>
* provide error message outside of kedro project with rich style

Signed-off-by: Nok Lam Chan <[email protected]>

* change to add custom click message on error instead of overriding get_commands

Signed-off-by: Nok Lam Chan <[email protected]>

* add test

Signed-off-by: Nok Lam Chan <[email protected]>

* clean up

Signed-off-by: Nok Lam Chan <[email protected]>

* catch the error message from click

Signed-off-by: Nok Lam Chan <[email protected]>

* fix unitests

Signed-off-by: Nok Lam Chan <[email protected]>

* Update error message

Signed-off-by: Nok Lam Chan <[email protected]>

* move color constant to the upper module

Signed-off-by: Nok Lam Chan <[email protected]>

* fix imports

Signed-off-by: Nok Lam Chan <[email protected]>

* release note

Signed-off-by: Nok <[email protected]>

---------

Signed-off-by: Nok Lam Chan <[email protected]>
Signed-off-by: Nok <[email protected]>
Signed-off-by: Merel Theisen <[email protected]>
Signed-off-by: Merel Theisen <[email protected]>
@merelcht merelcht force-pushed the docs/remove-loading-unused-css branch from 1281b77 to ea2ac55 Compare March 7, 2024 15:28
@merelcht merelcht enabled auto-merge (squash) March 7, 2024 15:29
@merelcht merelcht merged commit f56e4cc into main Mar 7, 2024
34 checks passed
@merelcht merelcht deleted the docs/remove-loading-unused-css branch March 7, 2024 16:28
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.

5 participants