File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
source/elements/l0/source Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -205,16 +205,18 @@ def build(root, target):
205205 prep (root )
206206 sphinx (root , target )
207207
208- @action
209- def ci_publish (root , target = None ):
210- root_only (root )
208+ def site_zip ():
211209 with ZipFile ('site.zip' , 'w' ) as site_zip :
212210 for r , dirs , files in os .walk ('site' , topdown = True ):
213211 # Exclude DAL API because it is 1.7G
214212 if os .path .basename (r ) == 'oneDAL' :
215213 dirs = remove_elements (dirs , ['api' , '_sources' ])
216214 for file in files :
217215 site_zip .write (join (r , file ))
216+
217+ @action
218+ def ci_publish (root , target = None ):
219+ root_only (root )
218220 if not args .branch :
219221 exit ('Error: --branch <branchname> is required' )
220222 if 'AWS_SECRET_ACCESS_KEY' in os .environ and os .environ ['AWS_SECRET_ACCESS_KEY' ] != '' :
@@ -341,6 +343,7 @@ def ci(root, target=None):
341343 get_tarballs (root )
342344 site (root )
343345 build ('.' , 'spelling' )
346+ site_zip ()
344347 if args .branch == 'publish' or args .branch == 'refs/heads/publish' :
345348 stage_publish (root )
346349 else :
Original file line number Diff line number Diff line change @@ -43,4 +43,4 @@ Detailed API Descriptions
4343
4444The detailed specification for Level Zero is available `online `_.
4545
46- .. _`online` : https://spec.oneapi.com/versions/0.6.0 /oneL0/index.html
46+ .. _`online` : https://spec.oneapi.com/versions/latest /oneL0/index.html
You can’t perform that action at this time.
0 commit comments