code: def autobuild_documentation(tile):
      
  
      docdir = os.path.join('#doc')
      docfile = os.path.join(docdir, 'conf.py')
      outdir = os.path.join('build', 'output', 'doc', tile.unique_id)
      outfile = os.path.join(outdir, '%s.timestamp' % tile.unique_id)
  
      env = Environment(ENV=os.environ, tools=[])
  
      # Only build doxygen documentation if we have C firmware to build from
      if os.path.exists('firmware'):
          autobuild_doxygen(tile)
          env.Depends(outfile, 'doxygen')
  
      # There is no /dev/null on Windows
      # Also disable color output on Windows since it seems to leave powershell
      # in a weird state.
      if platform.system() == 'Windows':
          action = 'sphinx-build --no-color -b html %s %s > NUL' % (docdir[1:], outdir)
      else:
          action = 'sphinx-build -b html %s %s > /dev/null' % (docdir[1:], outdir)
  
      env.Command(outfile, docfile, action=env.Action(action, "Building Component Documentation"))
      Alias('documentation', outdir)
      env.Clean(outfile, outdir)
docs: Generate documentation for this module using a combination of sphinx and breathe