public static synchronized void generate ( ) { LOGGER . debug ( "Generating documentation of test documentation included in pythonlib directories." ) ; try { IS_RUNNING = true ; List < File > pythonLibDirectories = findPythonLibDirectories ( ROOT_SCRIPT_DIRECTORY ) ; List < File > pythonScriptFiles = findPythonScripts ( pythonLibDirectories ) ; for ( File script : pythonScriptFiles ) { if ( hasToGenerateDocumentation ( script ) ) { GenerateTestStepsModulesDoc . generate ( script . getAbsolutePath ( ) ) ; } } ALREADY_RUN = true ; } catch ( Exception ex ) { ex . printStackTrace ( ) ; } finally { IS_RUNNING = false ; } }
Generates the documentation of scripts located in a pythonlib directory .