A change to the Pants doc site recently went live....
# general
c
A change to the Pants doc site recently went live. The most recent
stable
and
prerelease
versions will now have "friendly" urls instead of just the version numbers. (All versioned urls will redirect and still work). As an example: https://www.pantsbuild.org/stable/docs/introduction/welcome-to-pants https://www.pantsbuild.org/2.21/docs/introduction/welcome-to-pants <-- Redirects to ^^ It is hoped this will be more convenient for linking from internal documentation or other web pages. If you see anything amiss with the site speak up.
🎉 7
d
I noticed that sometimes the search results aren't loading properly, but if you force a reload it works. But some of the search results do seem to be broken. is there a way to reindex? e.g. comes back from search and doesn't load https://www.pantsbuild.org/2.22/reference/subsystems/python#pip_version
w
I noticed that today too - I thought it was my internet connection, as I was having the same problem elsewhere. I think it auto-reindexes with Algolia
👍 1
c
hmm, the 2.21 redirect seems to work, but not the 2.22? Will take a look
d
mostly - I find that when I click on a search result and get a 2.21 URL, it shows a Page not Found. A hard refresh fixes it though. To repro: 1. go to https://www.pantsbuild.org/ 2. search for "pip_version" 3. Click the result in the algolia dialog under Subsystems 4. "Page Not Found" (not really a 404, since it doesn't look like a request is made to the server) 5. Manually refresh -> redirect from https://www.pantsbuild.org/2.21/reference/subsystems/python#pip_version to https://www.pantsbuild.org/stable/reference/subsystems/python#pip_version happens.
c
Thank you for the detaild report! The "2.21 redirects don't work at all" issue shoud now be fixed. Trying to figure out if the search issue just needs a re-index, or something deeper.
👍 1
@dazzling-pizza-75442 The search issue you reported should now be fixed.
🙏🏻 1