docs: def view(ctx):
      """ Build and view docs.
      """
  
      report.info(ctx, "docs.view", f"viewing documentation")
      build_path = ctx.docs.directory / "build" / "html" / "index.html"
      build_path = pathname2url(build_path.as_posix())
      webbrowser.open(f"file:{build_path!s}")