docs: def docs(context: Context):
      """
      Generates static documentation
      """
      try:
          from sphinx.application import Sphinx
      except ImportError:
          context.pip_command('install', 'Sphinx')
          from sphinx.application import Sphinx
  
      context.shell('cp', 'README.rst', 'docs/README.rst')
      app = Sphinx('docs', 'docs', 'docs/build', 'docs/build/.doctrees', buildername='html', parallel=True,
                   verbosity=context.verbosity)
      app.build()