Skip to content

Disabling intersphinx for offline builds #1359

@cgmb

Description

@cgmb

I'm trying to package https://github.com/ROCm/ROCm for Debian as rocm-doc. For this purpose, it's a hard requirement that the build be done without a connection to the internet.

One difficulty I'm having is that even if downloading intersphinx *.inv files is skipped in rocm-docs-core, the MySt plugin will still attempt to download them. Some of the inv files are provided by other doc packages, such as librocrand-doc, which provides /usr/share/doc/librocrand-dev/rocrand-html/objects.inv. It would make sense to direct intersphinx to those files, although, I still need some way to disable the downloading of intersphinx files for libraries that don't have offline *.inv files available.

My understanding is that it is rocm-docs-core that creates this behaviour, so I'm hoping you're able to help me to figure out how to do this build offline.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions