Happy Monday to all, and a reminder to check out (...
# general
h
Happy Monday to all, and a reminder to check out (and provide feedback for) our new documentation site at https://www.pantsbuild.org! (PS If you or someone in your org has any web design skills, we may need a little help in tweaking the templates to make it look even snazzier)
h
Not sure whether this is a problem on my side only but I’ve noticed Google search results will link to old non-existing pages (presumably from old docs?) e.g. on an incognito window in Chrome (link: https://www.pantsbuild.org/2.18/docs/using-pants/remote-caching-&-execution)
h
Interesting, the problem is the expansion from
&
to
&
. If I rewrite that in the URL it works. (note that clicking on your link above works because Slack renders that HTML entity back down to
&
...)
I'll ask Google via the search console to reindex everything now
Oh, that has to be done URL by URL, so I won't be doing that
but let's see what happens if I do so with that URL
Google Search Console claims that the URL with
&
isn't indexed because it returns a 404 (which is true), and that the URL with
&
wasn't indexed but is now added to the queue.
So hopefully this will get sorted out for that specific URL.
Anyway, other searches work, e.g., search for
pants build pex
This seems to just be a problem with our old-to-new URL rewriting in the presence of
&
cc @bitter-ability-32190 in case it's an easy fix
Thanks for the report @hundreds-carpet-28072
h
Glad it sounds like a simple fix, other than that I’m enjoying the new docs site - search specifically is a lot more useful
b
Can you open an issue plz?
f
The algolia search returns documents that don't exist, e.g. when searching for
Environment
it leads to https://www.pantsbuild.org/2.18/docs/using-pants/environments:-cross-platform-or-remote-builds#consuming-environments
Peek 2024-01-16 15-54.gif
b
So the crawler hasn't been run since
h
f
b
Can you file an issue for that?
f
b
Ah that's from search? That also got renamed 😅
I'll kick off another crawl when I can. Recently with the switchover we had to reach out to Algolia to update the subdomain. They said they did it, so hopefully everything still works
b
Yes. The "overview" files/dirs all got renamed
I finally had the opportunity to edit the crawler and kick a build. I'll update when its done
f
When expanding a menu entry on the left, I can just click on the text. But to collapse it I have to click the tiny icon. Can this event be configured to also collapse when clicking on the text?
b
I don't see anything in https://docusaurus.io/docs/sidebar
You might try looking around if there's an issue, or filing one: https://github.com/facebook/docusaurus/issues
b
Can we have the deploy automation trigger a recrawl automatically? Or will that not be necessary?
b
I would like that. Let's file an issue
I meant to do that before