pingcap / website-docs

The next generation of PingCAP Docs. Powered by Gatsby ⚛️.
https://docs.pingcap.com/
MIT License
22 stars 34 forks source link

fix: add renamed status to delete previous file #111

Closed YiniXu9506 closed 3 years ago

YiniXu9506 commented 3 years ago

If a file is renamed, the git info status will be renamed. We are missing the renamed status check and using markdown content cache for each incremental download, so the previous file won't be deleted.

Now add renamed status check, we can delete the previous file and download the new file.