--- title: Document Lifecycle description: Learn about the steps each document goes through during its lifecycle. --- Each document goes through a series of steps during `Document Creation`, `Document Update` and `Document Publication`. It gathers the parameters, does validation, calls hooks and finally stores and indexes the document. Along the way, it also runs functions called hooks, giving developers the opportunity to add their own code at specific stages. - [Document Creation](/customising/server/document-lifecycle/document-creation/llms.txt) - [Document Publication](/customising/server/document-lifecycle/document-publication/llms.txt)