code: def setup(app):
      
      # add_html_theme is new in Sphinx 1.6+
      if hasattr(app, 'add_html_theme'):
          theme_path = get_html_theme_path()[0]
          app.add_html_theme('bootstrap', os.path.join(theme_path, 'bootstrap'))
docs: Setup.