---
title: "Keep Your Nodinite Repository Documentation Current: Refresh, Revisions, and Audit"
description: "Keep Nodinite documentation current: let Log Events and generators update the Repository, refresh generated Articles from BizTalk, use Revision History on Articles and C4 Diagrams, Log Audit Search for who changed an entity, and the Web API from your build and deploy pipeline."
---

# :fa-arrows-rotate: Keep the Documentation Current

Documentation is only trusted while it is right. Once people find one wrong page, they stop reading the rest and ask a colleague instead. Keep the [Repository Model][] current the way you keep code current: let automation do the routine updates, and keep a history of the changes people make.

* ✅ Let events, generators, and pipelines do the routine updates  
* ✅ Undo a bad change to an [Article][Articles] or a [C4 Diagram][C4 Diagrams]  
* ✅ Find out who changed an entity, and when  

![Refresh from BizTalk on the Integration Article INT002: Send Order to ERP File Share, which has a hand-written Error Handling and Recovery section: the Refresh from BizTalk dialog reports 0 documents regenerated and the Article and its 4 Building Blocks unchanged, and after Close the hand-written section is untouched, animated walkthrough (7.12)][Hero]  
*Animated walkthrough: **Refresh from BizTalk** on a generated Article finds no change, writes nothing, and leaves the hand-written section as it was. Every step is on [Keeping Generated Articles Up to Date][].*  

## :fa-network-wired: Understanding How the Repository Stays Current {#understanding}

<div class="mermaid">
flowchart LR
    Events["fa:fa-database Log Events<br/>Repository Binding"] --> Repo["fa:fa-sitemap Repository Model"]
    Pipe["fa:fa-code Build and deploy<br/>Web API"] --> Repo
    Gen["fa:fa-wand-magic-sparkles Refresh from BizTalk"] --> Repo
    People["fa:fa-user People edit"] --> Repo
    Repo --> Hist["fa:fa-clock-rotate-left Revisions and<br/>Log Audit"]
    style Events fill:#3F827B
    style Pipe fill:#3F827B
    style Gen fill:#3F827B
    style People fill:#9E59BB
    style Repo fill:#2678BD
    style Hist fill:#93d16d
</div>

*Automation (teal) does the routine updates: [Repository Binding][] from [Log Events][Log Event], the [Web API][] from your pipeline, and the BizTalk generators. People (purple) add what automation can't know. [Revision History][] and [Log Audit Search][] (green) record what changed.*

### :fa-puzzle-piece: What Keeps a Record

| What | Keeps | Read |
| --- | --- | --- |
| Articles and C4 Diagrams | A revision for every **Save**, and for generators, a [Document Profile][Document Profiles] change, a restore, and [Replace content][]; restore, compare, and clone Article revisions | [Revision History][] |
| Every other entity | When it was created and last changed; no revisions of its own | [Change Tracking and Audit Trail][Change Tracking] |
| Log Audit Search | Every save: account, time, function, and what it created or changed (old -> new), kept for [DaysToKeepLogAudits][] days (default 90) | [Log Audit Search][] |
| Deleted entities | Restorable until they are permanently deleted | [Two delete models][Delete models] |

## :fa-code-compare: Generated Versus Hand-Written {#compare}

| | Generated sections | Hand-written content |
| --- | --- | --- |
| Source | The BizTalk management database, the [Integration Landscape][], or Log Events | People |
| Kept current by | A re-run, **Refresh from BizTalk**, or the next event | Owners, with Revision History as the safety net |
| A change you make by hand | ⚠️ Generated sections are read-only; a renamed bound entity comes back with the next event | ✅ Kept |

## :fa-list-check: Rules {#rules}

* ✅ Bind from Log Events where you can; see [Let Log Events Build the Model][Build from Log Events].  
* ✅ Register what you deploy from the pipeline with the Web API.  
* ✅ Re-run or refresh generated documentation after a platform change; a run without changes writes nothing.  
* ✅ Make owners responsible for their Articles, and use **Compare** and **Restore** in Revision History instead of fearing edits; see [Compare Articles][].  
* ✅ Set [DaysToKeepLogAudits][] to the audit period your organization needs.  
* ⚠️ Move content between environments with the Web API: [Import / Export][Import Export] is not available in :Nodinite: 7. Articles can be downloaded as a ZIP with **With Selected** > **Export**.  

## :fa-hand-point-right: Next Steps

* :fa-books: [Repository Best Practices Library][Repository Library]  
* :fa-compass: [Plan Your Integration Documentation with Nodinite][Documentation Strategy]  

## :fa-link-horizontal: Related Topics

* :fa-clock-rotate-left: [Revision History][]  
* :fa-arrows-rotate: [Keeping Generated Articles Up to Date][]  
* :fa-user-secret: [Log Audit Search][]  
* :fa-code: [Web API][]  

[Articles]:{ndr}/Repository%20Model/Knowledge%20base%20Articles/Overview.md
[Build from Log Events]:{ndr}/Getting%20Started/4.%20Repository/Documentation%20Strategy/Let%20Log%20Events%20Build%20the%20Model.md
[C4 Diagrams]:{ndr}/Repository%20Model/C4%20Diagrams/Overview.md
[Change Tracking]:{ndr}/Mapify/Features/Multi-User%20Collaboration/Change-Tracking-and-Audit-Trail.md
[Compare Articles]:{ndr}/Repository%20Model/Knowledge%20base%20Articles/Features/Compare%20Articles.md
[DaysToKeepLogAudits]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/DaysToKeepLogAudits.md
[Delete models]:{ndr}/Administration/7.%20Repository/Overview.md#fa-trash-can-two-delete-models
[Document Profiles]:{ndr}/Repository%20Model/Knowledge%20base%20Articles/Features/Document%20Profiles.md
[Documentation Strategy]:{ndr}/Getting%20Started/4.%20Repository/Documentation%20Strategy/Overview.md
[Hero]:{ndm}/Documentation%20Pictures/IM/WebClient/Repository/Articles/BizTalk/BizTalk_Refresh.gif
[Import Export]:{ndr}/Administration/6.%20Tools/3.%20Import%20-%20Export/Overview.md
[Integration Landscape]:{ndr}/Getting%20Started/4.%20Repository/Integrations/Integration%20Landscape.md
[Keeping Generated Articles Up to Date]:{ndr}/Repository%20Model/Knowledge%20base%20Articles/BizTalk%20Articles/Keeping%20Generated%20Articles%20Up%20to%20Date.md
[Log Audit Search]:{ndr}/Administration/6.%20Tools/2.%20Log%20Audit%20Search.md
[Log Event]:{ndr}/Core%20Services/Log%20Event/Overview.md
[Replace content]:{ndr}/Repository%20Model/Knowledge%20base%20Articles/Features/Replace%20Content.md
[Repository Binding]:{ndr}/Core%20Services/Log%20Event/Features/Repository%20Binding.md
[Repository Library]:{ndr}/Getting%20Started/4.%20Repository/Documentation%20Strategy/Repository%20Best%20Practices%20Library.md
[Repository Model]:{ndr}/Repository%20Model/Overview.md
[Revision History]:{ndr}/Repository%20Model/Knowledge%20base%20Articles/Features/Revision%20History.md
[Web API]:{ndr}/Core%20Services/Web%20API/Overview.md