Substitutions in the caption are only supported in version 4 of sphinx. However, RTD uses sphinx 1.8.6 Just letting it append the value seems to work in both 1.8.6 and newer versions.
Less overhead and doesn't require a new dependency