File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 88 - cargo install --force --root /home/docs/.asdf --git https://github.com/DataDog/libdatadog --bin dedup_headers tools
99 - git fetch --unshallow || true
1010 - pip install riot
11- - riot -v run --pass-env build_docs
11+ - READTHEDOCS=1 riot -v run --pass-env build_docs
1212 - mv docs/_build $READTHEDOCS_OUTPUT
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22set -eux
33
4- if [[ " ${READTHEDOCS:- } " = " True" ]]; then
4+ # Normalize READTHEDOCS: lowercase and strip whitespace to match "true" or "1"
5+ rtd_val=" ${READTHEDOCS:- } " ; rtd_val=" ${rtd_val,,} " ; rtd_val=" ${rtd_val// / } "
6+ if [[ " $rtd_val " == " true" || " $rtd_val " == " 1" ]]; then
57 echo " Skipping spelling check in RTD"
68else
79 if [[ " $( uname) " == " Darwin" ]]; then
You can’t perform that action at this time.
0 commit comments