<s> import sys <EOL> from os . path import abspath , dirname , join , normpath <EOL> BASE = dirname ( abspath ( __file__ ) ) <EOL> SRC = normpath ( join ( BASE , '<STR_LIT:..>' , '<STR_LIT:..>' , '<STR_LIT:..>' , '<STR_LIT:..>' , '<STR_LIT:src>' ) ) <EOL> INPUT = join ( BASE , '<STR_LIT>' ) <EOL> OUTPUT = join ( BASE , '<STR_LIT>' ) <EOL> sys . path . insert ( <NUM_LIT:0> , SRC ) <EOL> from robot . libdoc import LibraryDocumentation <EOL> from robot . libdocpkg . htmlwriter import LibdocModelWriter <EOL> with open ( OUTPUT , '<STR_LIT:w>' ) as output : <EOL> libdoc = LibraryDocumentation ( INPUT ) <EOL> LibdocModelWriter ( output , libdoc ) . write_data ( ) <EOL> print OUTPUT </s>
