From 06909ad8bc5c937754ff5f4e9ab5a3de2d848e4f Mon Sep 17 00:00:00 2001 From: eatyourpeas Date: Sat, 11 Jan 2025 22:41:25 +0000 Subject: [PATCH] rebuild charts documentation --- docs/developer/versioning.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/developer/versioning.md b/docs/developer/versioning.md index 9eb93ec..0e74cc3 100644 --- a/docs/developer/versioning.md +++ b/docs/developer/versioning.md @@ -22,3 +22,13 @@ We use [Semantic Versioning (SemVer)](https://semver.org/) to ensure server vers ## Bump2version We use `bump2version` tool to simplify versioning in the `digital-growth-charts-server` and `rcpchgrowth-python` packages. + +## References + +With every deploy of the server, `generate_and_store_chart_data` gets run, which skips centile chart generation from references if they already exist. On the command line though it is possible to override this and rebuild all the centile data files. + +```python +python +from main import generate_and_store_chart_data +generate_and_store_chart_data(overwrite=True) +```