Zulip Chat Archive

Stream: general

Topic: clean up documentation directory


Floris van Doorn (Jun 21 2024 at 15:35):

Question: How do I let my CI cleanup old versions of files generated by doc-gen (specifically the search index).
The reason is that the search carleson#volume_ball_le_of_dist_le leads to https://florisvandoorn.com/carleson/docs/Carleson/HomogeneousType.html#volume_ball_le_of_dist_le
This is a 404 page, but it is the old place where this lemma lives. Now it lives in https://florisvandoorn.com/carleson/docs/Carleson/DoublingMeasure.html#volume_ball_le_of_dist_le

Here is my push CI script. Is fixing this just a matter of deleting docs/docs at the start of the step "Copy documentation to docs/docs"?

Chris Henson (Jun 21 2024 at 15:58):

Instead of cp I usually use rsync with the --delete flag, which will remove any files that no longer exist.


Last updated: May 02 2025 at 03:31 UTC