diff --git a/docs/user/build-customization.rst b/docs/user/build-customization.rst index 4a5648cd536..a7560fdfebf 100644 --- a/docs/user/build-customization.rst +++ b/docs/user/build-customization.rst @@ -480,6 +480,5 @@ Here is an example configuration file: tools: nodejs: "20" commands: - - npm i -g asciidoctor - - asciidoctor index.asciidoc - - mkdir -pv $READTHEDOCS_OUTPUT/html/ && mv index.html $READTHEDOCS_OUTPUT/html/ + - npm install -g asciidoctor + - asciidoctor -D $READTHEDOCS_OUTPUT/html index.asciidoc