You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to configure ReadtheDocs to use simplepdf extension as described in your documentation.
I am using version 2 of the .readthedocs.yaml file. But using build.commands does not seem to work. (Error: Property commands is not allowed)
As a workaround, I am trying with builds.jobs.post_build option. Even this seems to fail on ReadtheDocs during the build.
.readthedocs.yaml
# Required
version: 2
#submodules:
# include:
# - paamr-deployment
# Set the version of Python and other tools you might need
build:
os: ubuntu-20.04
tools:
python: "3.9"
# You can also specify other tool versions:
# nodejs: "16"
# rust: "1.55"
# golang: "1.17"
jobs:
post_build:
- cd docs && python -m sphinx-build -a -E -b simplepdf docs build/simplepdf/en/
# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py
# If using Sphinx, optionally build your docs in additional formats such as PDF
formats: all
# Optionally declare the Python requirements required to build your docs
python:
install:
- requirements: docs/requirements.txt
Here is the error trace:
Running Sphinx v5.1.1
/bin/sh: 1: sphinx-build: not found
Can you please help with the right set of configuration options that needs to be written in .readthedocs.yaml file.
The text was updated successfully, but these errors were encountered:
sachin-suresh-rapyuta
changed the title
Unable to extend the build to use this extension's PDF
Unable to customize the build in .readthedocs.yamlNov 1, 2022
I also tried to use the same format as mentioned in the documentation:
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
# Required
version: 2
#submodules:
# include:
# - paamr-deployment
# Set the version of Python and other tools you might need
build:
os: ubuntu-20.04
tools:
python: "3.9"
# You can also specify other tool versions:
# nodejs: "16"
# rust: "1.55"
# golang: "1.17"
commands:
- sphinx-build -b simplepdf docs docs/build/simplepdf
# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py
# If using Sphinx, optionally build your docs in additional formats such as PDF
formats: all
# Optionally declare the Python requirements required to build your docs
python:
install:
- requirements: docs/requirements.txt
I am trying to configure ReadtheDocs to use simplepdf extension as described in your documentation.
build.commands
does not seem to work. (Error: Propertycommands
is not allowed)As a workaround, I am trying with builds.jobs.post_build option. Even this seems to fail on ReadtheDocs during the build.
.readthedocs.yaml
Here is the error trace:
Can you please help with the right set of configuration options that needs to be written in
.readthedocs.yaml
file.The text was updated successfully, but these errors were encountered: