File tree 1 file changed +8
-2
lines changed 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -76,12 +76,16 @@ def sphinx_intl_build():
76
76
)
77
77
78
78
79
- def sphinx_build_html ():
79
+ def sphinx_build_html (rebuild_all = False ):
80
80
cmd = [
81
81
SPHINX_BUILD , '-b' , 'html' ,
82
82
'-d' , 'build/doctrees' ,
83
83
'-D' , 'language=%s' % LANG ,
84
84
'-A' , 'autobuildi18n=1' ,
85
+ ]
86
+ if rebuild_all :
87
+ cmd += ['-a' ]
88
+ cmd += [
85
89
'.' , 'build/html' ,
86
90
]
87
91
return run_command_under_doc_root (cmd )
@@ -97,6 +101,8 @@ def update_one_page(page):
97
101
98
102
def full_update_and_commit ():
99
103
processes = OrderedDict ()
100
- processes .update (update_one_page (page = None ))
104
+ processes ['tx_pull' ] = tx_pull (page = None )
105
+ processes ['sphinx_intl_build' ] = sphinx_intl_build (rebuild_all = True )
106
+ processes ['sphinx_build_html' ] = sphinx_build_html ()
101
107
processes .update (git_add_commit_push ())
102
108
return processes
You can’t perform that action at this time.
0 commit comments