From e2905ffb0d76a31e0356414cc5bbe4a7a220fa11 Mon Sep 17 00:00:00 2001 From: Brian Munkholm Date: Mon, 23 Jun 2025 20:38:24 +0200 Subject: [PATCH 1/7] test - ignore --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index dbe0a98..3b42f50 100644 --- a/README.rst +++ b/README.rst @@ -1,4 +1,4 @@ -============================ + ============================ CrateDB Documentation System ============================ From d7c8d03a1be4d4c1afbf1b3654c53859a97410a1 Mon Sep 17 00:00:00 2001 From: Brian Munkholm Date: Mon, 23 Jun 2025 22:14:24 +0200 Subject: [PATCH 2/7] disable shallow warning --- docs/conf.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index a4d6cca..85d46b3 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1 +1,3 @@ from crate.theme.rtd.conf.theme import * + +suppress_warnings = ['git.too_shallow'] From f3debcbbe95e1f5dbc62201d0a976a7e87277922 Mon Sep 17 00:00:00 2001 From: Brian Munkholm Date: Mon, 23 Jun 2025 22:21:24 +0200 Subject: [PATCH 3/7] fetch more --- .github/workflows/docs.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 98bac08..3d17902 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -24,6 +24,9 @@ jobs: steps: - uses: actions/checkout@v4 + with: + fetch-depth: 50 + ref: main - name: Set up Python uses: actions/setup-python@v5 with: From 78ad02d213b30034ea3b2d0bcb16c40d4889808c Mon Sep 17 00:00:00 2001 From: Brian Munkholm Date: Mon, 23 Jun 2025 22:22:03 +0200 Subject: [PATCH 4/7] and enable the warning again --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 85d46b3..241dff8 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,3 +1,3 @@ from crate.theme.rtd.conf.theme import * -suppress_warnings = ['git.too_shallow'] +#suppress_warnings = ['git.too_shallow'] From 2d4bd3e0700ae93f08020954cca43f18337ed06e Mon Sep 17 00:00:00 2001 From: Brian Munkholm Date: Mon, 23 Jun 2025 22:27:57 +0200 Subject: [PATCH 5/7] Update .readthedocs.yml config --- .readthedocs.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.readthedocs.yml b/.readthedocs.yml index dd6cf0f..69f2c71 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -11,6 +11,8 @@ build: os: "ubuntu-22.04" tools: python: "3.11" + pre_checkout: + - git fetch --depth=50 || true # Build documentation in the docs/ directory with Sphinx sphinx: From fd453005dbc3be957fb4a9b6f996464161c6bc54 Mon Sep 17 00:00:00 2001 From: Brian Munkholm Date: Mon, 23 Jun 2025 22:30:14 +0200 Subject: [PATCH 6/7] Update .readthedocs.yml --- .readthedocs.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 69f2c71..ca4253e 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -11,8 +11,9 @@ build: os: "ubuntu-22.04" tools: python: "3.11" - pre_checkout: - - git fetch --depth=50 || true + jobs: + pre_checkout: + - git fetch --depth=50 || true # Build documentation in the docs/ directory with Sphinx sphinx: From e2e70970c09b272d6213515e23bbd2c104671644 Mon Sep 17 00:00:00 2001 From: Brian Munkholm Date: Mon, 23 Jun 2025 22:34:59 +0200 Subject: [PATCH 7/7] Update .readthedocs.yml --- .readthedocs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index ca4253e..ff073e3 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -12,8 +12,8 @@ build: tools: python: "3.11" jobs: - pre_checkout: - - git fetch --depth=50 || true + post_checkout: + - git fetch --unshallow || true # Build documentation in the docs/ directory with Sphinx sphinx: