Contributing¶
Code¶
- Branch from
mainusingfeat/,fix/, ordocs/prefixes. - Keep DAG files in
dags/and shared logic inhelpers/so Airflow does not parse helpers as DAGs. - Run
bash scripts/validate.sh(compileall) before opening a merge request. - Do not commit
.env, API keys, orenvironment_variables.json.
Documentation¶
Airflow pages live in this repo under docs/. They are copied into the GraphRAG MkDocs site at Pages build time and published at a single GitLab URL.
- Match the GraphRAG tone: short sentences, tables, admonitions, Mermaid where a diagram helps.
- Use relative links between Airflow pages (
../getting-started.md). Links to GraphRAG pages use../getting-started.mdfromdocs/index.mdafter copy (one extra../from nested folders, e.g.../../operations/docs.md). - After merge to
main, republish from the GraphRAG project (pushmainor Run pipeline). Pages git-clones thisdocs/folder; Airflow CI does not need to pass. If the clone 404s, check the job-token allowlist (CI/CD).
To preview the full branded site locally, clone GraphRAG as a sibling and run:
cd ../rbtl_graphrag_gitlab
bash scripts/sync_airflow_docs.sh
source venv/bin/activate
mkdocs serve