Skip to content

Commit 61a21a8

Browse files
committed
merge from master
2 parents 8ba8c27 + d13e5bd commit 61a21a8

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

scripts/oneapi.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff 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:

source/elements/l0/source/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ Detailed API Descriptions
4343

4444
The 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

0 commit comments

Comments
 (0)