Read the Docs build information Build id: 2560467 Project: canonical-k8s-snap Version: 740 Commit: b449996e95c09e0332c81addad049202c7ae0a67 Date: 2024-10-21T16:37:29.091582Z State: cancelled Success: False [rtd-command-info] start-time: 2024-10-21T16:37:30.429586Z, end-time: 2024-10-21T16:37:31.085414Z, duration: 0, exit-code: 0 git clone --depth 1 https://github.com/canonical/k8s-snap.git . Cloning into '.'... [rtd-command-info] start-time: 2024-10-21T16:37:31.171598Z, end-time: 2024-10-21T16:37:31.702878Z, duration: 0, exit-code: 0 git fetch origin --force --prune --prune-tags --depth 50 pull/740/head:external-740 From https://github.com/canonical/k8s-snap * [new ref] refs/pull/740/head -> external-740 [rtd-command-info] start-time: 2024-10-21T16:37:31.863710Z, end-time: 2024-10-21T16:37:31.993590Z, duration: 0, exit-code: 0 git checkout --force b449996e95c09e0332c81addad049202c7ae0a67 Note: switching to 'b449996e95c09e0332c81addad049202c7ae0a67'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at b449996 Enable gofmt and gofumpt linter [rtd-command-info] start-time: 2024-10-21T16:37:32.098987Z, end-time: 2024-10-21T16:37:32.170514Z, duration: 0, exit-code: 0 cat docs/tools/.readthedocs.yaml # .readthedocs.yaml # Read the Docs configuration file # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details # Required version: 2 # Set the version of Python and other tools you might need build: os: ubuntu-22.04 tools: python: "3.12" jobs: post_checkout: # Cancel building pull requests when there aren't changed in the docs directory or YAML file. # # https://docs.readthedocs.io/en/latest/build-customization.html#cancel-build-based-on-a-condition # If there are no changes (git diff exits with 0) we force the command to return with 183. # This is a special exit code on Read the Docs that will cancel the build immediately. - | if [ "$READTHEDOCS_VERSION_TYPE" = "external" ] && git diff --quiet origin/main -- docs/ .readthedocs.yaml; then exit 183; fi pre_build: - cp -r docs/src/* docs/tools/ # Build documentation in the docs/ directory with Sphinx sphinx: builder: dirhtml configuration: docs/tools/conf.py # If using Sphinx, optionally build your docs in additional formats such as PDF formats: - pdf # Optionally declare the Python requirements required to build your docs python: install: - requirements: docs/tools/.sphinx/requirements.txt [rtd-command-info] start-time: 2024-10-21T16:37:32.262830Z, end-time: 2024-10-21T16:37:32.343098Z, duration: 0, exit-code: 183 if [ "$READTHEDOCS_VERSION_TYPE" = "external" ] && git diff --quiet origin/main -- docs/ .readthedocs.yaml; then exit 183; fi