Skip to content

fix: repair broken Sphinx docs deployment to GitHub Pages#516

Merged
asimrout-eng merged 1 commit intomainfrom
fix/docs-deployment-typo-and-keep-files
May 4, 2026
Merged

fix: repair broken Sphinx docs deployment to GitHub Pages#516
asimrout-eng merged 1 commit intomainfrom
fix/docs-deployment-typo-and-keep-files

Conversation

@asimrout-eng
Copy link
Copy Markdown
Contributor

Summary

  • Fixed typo in destination_dir: sdk_documenationsdk_documentation, so the deployed path matches the URL linked from docs.firebolt.io.
  • Added keep_files: true to the peaceiris/actions-gh-pages step. Without this, each docs deployment wiped the entire gh-pages branch (including Allure reports), and conversely Allure deployments wiped the docs — which is why the sdk_documenation/ directory no longer exists on gh-pages today.
  • Updated summary URL from the stale old.docs.firebolt.io domain to python.docs.firebolt.io (the CNAME configured on gh-pages).

Follow-up needed

After merging, trigger the workflow manually (workflow_dispatch) or wait for the next release so the docs get deployed. The link on docs.firebolt.io/guides/developing-with-firebolt/connecting-with-python also needs updating from sdk_documenation to sdk_documentation — that lives in the separate docs repo.

Test plan

  • After merge, trigger Build documentation workflow manually from Actions tab
  • Verify https://python.docs.firebolt.io/sdk_documentation/latest/ returns 200
  • Verify Allure reports at https://python.docs.firebolt.io/allure/ are still intact

Made with Cursor

The SDK documentation at python.docs.firebolt.io/sdk_documentation/latest/
has been returning 404 due to three issues:

- destination_dir had a typo: "sdk_documenation" instead of "sdk_documentation"
- keep_files was not set, so Allure report deployments wiped the docs
- summary URL referenced the old domain (old.docs.firebolt.io)

Co-authored-by: Cursor <cursoragent@cursor.com>
@asimrout-eng asimrout-eng requested a review from a team as a code owner May 4, 2026 11:37
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 4, 2026

@asimrout-eng asimrout-eng merged commit fb4a724 into main May 4, 2026
8 checks passed
@asimrout-eng asimrout-eng deleted the fix/docs-deployment-typo-and-keep-files branch May 4, 2026 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants