From 2b57b0e7fc31ad804a4fbc68d6d5cfbdd78d9459 Mon Sep 17 00:00:00 2001 From: Bu Sun Kim Date: Fri, 30 Oct 2020 23:05:13 +0000 Subject: [PATCH] chore: remove multiprocessing note --- docs/multiprocessing.rst | 7 ------- noxfile.py | 33 --------------------------------- 2 files changed, 40 deletions(-) delete mode 100644 docs/multiprocessing.rst diff --git a/docs/multiprocessing.rst b/docs/multiprocessing.rst deleted file mode 100644 index 1cb29d4ca..000000000 --- a/docs/multiprocessing.rst +++ /dev/null @@ -1,7 +0,0 @@ -.. note:: - - Because this client uses :mod:`grpcio` library, it is safe to - share instances across threads. In multiprocessing scenarios, the best - practice is to create client instances *after* the invocation of - :func:`os.fork` by :class:`multiprocessing.Pool` or - :class:`multiprocessing.Process`. diff --git a/noxfile.py b/noxfile.py index 11fc0bf28..9cc3ab77f 100644 --- a/noxfile.py +++ b/noxfile.py @@ -172,39 +172,6 @@ def docs(session): ) -@nox.session(python="3.7") -def docfx(session): - """Build the docfx yaml files for this library.""" - - session.install("-e", ".") - session.install("sphinx", "alabaster", "recommonmark") - - shutil.rmtree(os.path.join("docs", "_build"), ignore_errors=True) - session.run( - "sphinx-build", - "-T", # show full traceback on exception - "-N", # no colors - "-D", - ( - "extensions=sphinx.ext.autodoc," - "sphinx.ext.autosummary," - "docfx_yaml.extension," - "sphinx.ext.intersphinx," - "sphinx.ext.coverage," - "sphinx.ext.napoleon," - "sphinx.ext.todo," - "sphinx.ext.viewcode," - "recommonmark" - ), - "-b", - "html", - "-d", - os.path.join("docs", "_build", "doctrees", ""), - os.path.join("docs", ""), - os.path.join("docs", "_build", "html", ""), - ) - - @nox.session(python=DEFAULT_PYTHON_VERSION) def docfx(session): """Build the docfx yaml files for this library."""