Skip to content

Commit 5493cb8

Browse files
author
George Song
committed
docs: how to update CNP docs directions
Former-commit-id: 65f9e99
1 parent afcd2d0 commit 5493cb8

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

docs/how-tos/sync-cnp-docs.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Sync Cloud-Native-PostgreSQL Docs
2+
3+
Currently we need to manually sync over [cloud-native-postgresql][cnp]("CNP")
4+
docs whenever there's a new release. The long term goal is to automate this via
5+
GitHub action dispatch and automated event handling.
6+
7+
1. The CNP team informs us that there's a new version.
8+
1. Check out the appropriate version from the [CNP][] repo.
9+
1. Replace `docs:temp_kubernetes/original/` with
10+
`cloud-native-postgresql:docs/`.
11+
1. Transpile original source documentation into MDX format:
12+
13+
```sh
14+
python scripts/source/source_cloud_native_operator.py
15+
```
16+
17+
1. Replace `advocacy_docs/kubernetes/cloud-native-postgresql/` with
18+
`temp_kubernetes/build/`.
19+
20+
[cnp]: https://github.com/EnterpriseDB/cloud-native-postgresql

0 commit comments

Comments
 (0)