Skip to content

Commit

Permalink
feat: added docfx build in nox file
Browse files Browse the repository at this point in the history
  • Loading branch information
vi3k6i5 committed Apr 28, 2021
1 parent b60b5cf commit 4f050c8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions noxfile.py
Expand Up @@ -79,7 +79,11 @@ def default(session):
"--cov-append",
"--cov-config=.coveragerc",
"--cov-report=",
<<<<<<< HEAD
"--cov-fail-under=25",
=======
"--cov-fail-under=20",
>>>>>>> ad001a8 (feat: updated nox file for docs and docfx and added unit tests for client)
os.path.join("tests", "unit"),
*session.posargs
)
Expand Down Expand Up @@ -109,6 +113,7 @@ def docs(session):
"""Build the docs for this library."""
session.install("-e", ".[tracing]")
<<<<<<< HEAD
session.install("sphinx", "alabaster", "recommonmark", "django==2.2")
shutil.rmtree(os.path.join("docs", "_build"), ignore_errors=True)
Expand Down Expand Up @@ -139,6 +144,9 @@ def docfx(session):
"sphinx-docfx-yaml",
"django==2.2",
)
=======
session.install("sphinx", "alabaster", "recommonmark")
>>>>>>> ad001a8 (feat: updated nox file for docs and docfx and added unit tests for client)
shutil.rmtree(os.path.join("docs", "_build"), ignore_errors=True)
session.run(
Expand Down

0 comments on commit 4f050c8

Please sign in to comment.