code: def builder_inited(app):
      
      if (app.config.wavedrom_html_jsinline and
          app.builder.name not in ('html', 'dirhtml', 'singlehtml')):
          app.config.wavedrom_html_jsinline = False
  
      # Skip for non-html or if javascript is not inlined
      if not app.env.config.wavedrom_html_jsinline:
          return
  
      if app.config.offline_skin_js_path is not None:
          app.add_javascript(path.basename(app.config.offline_skin_js_path))
      else:
          app.add_javascript(ONLINE_SKIN_JS)
      if app.config.offline_wavedrom_js_path is not None:
          app.add_javascript(path.basename(app.config.offline_wavedrom_js_path))
      else:
          app.add_javascript(ONLINE_WAVEDROM_JS)
docs: Sets wavedrom_html_jsinline to False for all non-html builders for
      convenience (use ifconf etc.)
  
      We instruct sphinx to include some javascript files in the output html.
      Depending on the settings provided in the configuration, we take either
      the online files from the wavedrom server, or the locally provided wavedrom
      javascript files