When we publish an article or create a new Version, the Table of Contents will regenerate automatically.