Skip to content

Commit

Permalink
Merge pull request #1364 from jeanas/incremental-build
Browse files Browse the repository at this point in the history
Allow Sphinx to do incremental builds
  • Loading branch information
webknjaz committed Nov 7, 2023
2 parents 43c451f + 3d5a5ef commit 68b8370
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ def build(session, autobuild=False):
"""
session.install("-r", "requirements.txt")

target_build_dir = "build"

shutil.rmtree(target_build_dir, ignore_errors=True)

if autobuild:
command = "sphinx-autobuild"
extra_args = "--host", "0.0.0.0"
Expand All @@ -57,7 +53,7 @@ def build(session, autobuild=False):
"-W", # Treat warnings as errors.
*session.posargs,
"source", # where the rst files are located
target_build_dir, # where to put the html output
"build", # where to put the html output
)


Expand Down

0 comments on commit 68b8370

Please sign in to comment.