kedro-org / kedro

Kedro is a toolbox for production-ready data science. It uses software engineering best practices to help you create data engineering and data science pipelines that are reproducible, maintainable, and modular.
https://kedro.org
Apache License 2.0
9.53k stars 877 forks source link

Docs rendering a bit weird when click on header. #3459

Open noklam opened 7 months ago

noklam commented 7 months ago

Description

https://docs.kedro.org/en/stable/get_started/kedro_concepts.html#src image

https://docs.kedro.org/en/stable/get_started/kedro_concepts.html Without the #src it renders normally.

Reproduce:

  1. Search src, click first result

Context

Is this intended or should it be a highlight instead? I would expect this behavior if I click it actively, but I get into this page via the search bar so I thought something is not rendered properly.

stichbury commented 7 months ago

This seems to be a bug with the CSS -- I've spotted it this week but wasn't sure how to reproduce it and didn't prioritise it. I noticed if you go to any page e.g. https://docs.kedro.org/en/stable/hooks/common_use_cases.html it looks fine but if you click on a subheading link on that page e.g. https://docs.kedro.org/en/stable/hooks/common_use_cases.html#use-hooks-to-load-external-credentials you see that large whitespace above the header.

It's something for our webdev superstars to look into, so I'll put this in the Kedro Viz project for their attention...as it impacts their docs as well as Framework.