12Create sphinx documentation for a full release and make sure that there are no warnings. 
   13However, a few warnings can not easily be omitted and are therefore accepted for now. 
   18from b2test_utils 
import check_error_free, skip_test_if_light
 
   21if __name__ == 
"__main__":
 
   26    ignorebackward = 
'_BACKWARD_BACKWARD_WARNING_H' 
   28    sphinx_output_dir = os.getenv(
"BELLE2_SPHINX_OUTPUTDIR")
 
   30        "b2code-sphinx-warnings", 
"sphinx", 
None,
 
   32        re.findall(ignorebackward, x),
 
   33        [
"-o", sphinx_output_dir] 
if sphinx_output_dir 
else []