Skip to content

Failing doc build on main (to do with Pixi migration) #10974

@VeckoTheGecko

Description

@VeckoTheGecko

What is your issue?

The documentation build is failing on main since #10888 was merged (see logs https://app.readthedocs.org/projects/xray/builds/30540786/)

I'm not 100% sure why - the workflow was passing for the PR builds

Error message:

python -m sphinx -T -W --keep-going -b singlehtml -d _build/doctrees -D language=en . $READTHEDOCS_OUTPUT/htmlzip
--
  | /bin/sh: 1: /home/docs/checkouts/readthedocs.org/user_builds/xray/envs/latest/bin/python: not found

This failure happens after the pixi run doc BUILDDIR=$READTHEDOCS_OUTPUT passes

Maybe the following

diff --git a/.readthedocs.yaml b/.readthedocs.yaml
index f55a6421..1cafe4c1 100644
--- a/.readthedocs.yaml
+++ b/.readthedocs.yaml
@@ -24,6 +24,3 @@ build:
     build:
       html:
         - pixi run doc BUILDDIR=$READTHEDOCS_OUTPUT
-
-formats:
-  - htmlzip

will fix it? (the command that errors seems to do with htmlzip and that this formats: key isn't something present in the other workflows I've used that build RTD docs using pixi).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions