8000 Disable rebuild all in daily build · python-doc-tw/pydoc_autobuild@57254cd · GitHub
[go: up one dir, main page]

Skip to content

Commit 57254cd

Browse files
committed
Disable rebuild all in daily build
1 parent f815f97 commit 57254cd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

doc_tasks/tasks.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,10 @@ def update_one_page(page):
9393
def full_update_and_commit():
9494
processes = OrderedDict()
9595
processes['tx_pull'] = tx_pull(page=None)
96-
processes['sphinx_build_html'] = sphinx_build_html(rebuild_all=True)
96+
# FIXME: set rebuild_all=False to shorten build time
97+
# rebuild_all will take too long time
98+
# causing the task times out and respawn for many times
99+
# additionally make update_one_page uncached (unpickled)
100+
processes['sphinx_build_html'] = sphinx_build_html(rebuild_all=False)
97101
processes.update(git_add_commit_push())
98102
return processes

0 commit comments

Comments
 (0)
0