streamlit / docs

Source code for the Streamlit Python library documentation
https://docs.streamlit.io
Apache License 2.0
119 stars 474 forks source link

Search st.html goes to page not found #1052

Closed gabrieltempass closed 6 months ago

gabrieltempass commented 6 months ago

Summary

When searching for st.html and clicking on the result, it goes to Page not found, because the URL is wrong. The correct URL must have .html at the end.

Steps to reproduce

  1. Go to https://docs.streamlit.io
  2. Click on the search bar
  3. Type st.html
  4. Select the first result

Screen recording:

Kapture 2024-05-03 at 11 22 06

Expected behavior:

Goes to: https://docs.streamlit.io/develop/api-reference/utilities/st.html

Actual behavior:

Goes to: https://docs.streamlit.io/develop/api-reference/utilities/st (it's missing the .html at the end)

sfc-gh-dmatthews commented 6 months ago

Thanks for reporting! I think I have a fix for it that should get reviewed and published very soon.