I've taken your advice, but instead of using git, I use rsync. 在2023年4月23日星期日 UTC+8 18:23:20<ycproject> 写道:
> Sounds like a very good solution, I'll test it out and see how it works. > > 在2023年4月23日星期日 UTC+8 15:59:09<[email protected]> 写道: > >> On 23/04/2023 02:03, ycproject wrote: >> > Since I need to go to different cities, I occasionally change >> computers, >> > and when I do, I copy the project to my laptop; when I come back, I >> copy >> > the project back to my desktop computer. >> > >> > Now, I think one solution I can use is to store the project in a >> virtual >> > machine and execute make html in the virtual machine to generate the >> > final html. >> > >> > When I change computers, instead of copying the project directory, I >> > copy the virtual machine. In this case, no matter what disk or >> directory >> > is copied to, it will not affect the time attribute of the rst/html >> file. >> > >> > Now, I can use the "html_last_updated_fmt" option again. >> > >> Or just make your desktop into a git repository, and clone it to your >> laptop. When you go away, pull the changes on to your laptop, "make" for >> anything that's changed in the interim, and you're good to go. >> >> When you get home, you just push any changes back to the laptop. >> >> A virtual machine feels like "a sledgehammer to crack a nut" here. >> >> Cheers, >> Wol >> > -- You received this message because you are subscribed to the Google Groups "sphinx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sphinx-users/ac66ad07-95f0-48fc-86b7-ba40d33add30n%40googlegroups.com.
