diff --git a/doc/ext/support_matrix.py b/doc/ext/support_matrix.py index e0021b2af..0c84c24cf 100644 --- a/doc/ext/support_matrix.py +++ b/doc/ext/support_matrix.py @@ -101,7 +101,7 @@ class SupportMatrixDirective(rst.Directive): "support-matrix.ini") rel_fpath, fpath = env.relfn2path(fname) with open(fpath) as fp: - cfg.readfp(fp) + cfg.read_file(fp) # This ensures that the docs are rebuilt whenever the # .ini file changes