Skip to content

Commit 244be55

Browse files
committed
merge from master
2 parents 7ea7f96 + 4c6aa7b commit 244be55

File tree

9 files changed

+69
-40
lines changed

9 files changed

+69
-40
lines changed

.gitlab-ci-onetbb.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
build_tbb_spec:
2+
stage: build
3+
tags: [python-sphinx]
4+
script:
5+
- sphinx-build -b html source/elements/oneTBB/source onetbb_spec
6+
artifacts:
7+
paths: [onetbb_spec]
8+
expire_in: 3d
9+
10+
pages:
11+
stage: deploy
12+
tags: [linux]
13+
needs: [build_tbb_spec]
14+
only: [develop]
15+
script:
16+
- mv onetbb_spec public
17+
artifacts:
18+
paths: [public]

README.rst

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
oneAPI Specifications
33
=====================
44

5+
.. image:: https://github.com/oneapi-src/oneapi-spec/workflows/CI/badge.svg
6+
:target: https://github.com/oneapi-src/oneapi-spec/actions?query=workflow%3ACI
7+
58
This repo contains the sources for the `oneAPI Specification`_
69

710
The document is built with `Sphinx`_ using a theme provided by `Read
@@ -122,28 +125,19 @@ You can run a docker container with::
122125
CI
123126
--
124127

125-
We are currently using gitlab CI inside the intel firewall. We expect
126-
all the sources to be in this repo by the 3/26/2020 release, and will
127-
move the CI system to a public service.
128-
129-
See .gitlab-ci.yml for the CI configuration. The CI monitors and
130-
builds 2 repo's inside Intel. oneapi-spec-mirror is a mirror of the
131-
repo on github. Turnaround for testing depends on the interval between
132-
mirroring updates, which appears to be ~30 minutes. For quick
133-
turnaround, you can push your branch to the oneapi-spec-test repo,
134-
which will be built immmediately.
128+
We use Github actions. See .github/workflows/main.yml
135129

136130
On every commit, the CI system builds and publishes the document to
137-
the staging server. To see the URL, look at the end of the log in the
138-
CI system.
131+
the staging server. To see the URL, look at the end of the log for the
132+
build step in the CI system. The staging server is an s3 bucket, and
133+
the access keys are managed as github action secrets. PR's based on
134+
forks do not have access to the keys and will not publish on the
135+
staging server.
139136

140137
For commits to the publish branch, the document is staged inside a
141138
full copy of the spec.oneapi.com site, which includes redirects and
142139
older versions of the doc. To see the URL, look at the end of the log
143-
in the CI system.
144-
145-
To push to S3, the CI system configuration sets AWS_ACCESS_KEY_ID and
146-
AWS_SECRET_ACCESS_KEY environment variables.
140+
for the build step in the CI system.
147141

148142
----------
149143
Publishing

source/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
# The short X.Y version
2929
#version = u'0.61 <' + str(datetime.date.today()) + '>'
30-
version = u'0.6.0'
30+
version = u'0.6.1'
3131
# The full version, including alpha/beta/rc tags
3232
release = version
3333

@@ -101,6 +101,7 @@
101101
# documentation.
102102
#
103103
html_theme_options = {
104+
'includehidden': False
104105
}
105106

106107
html_context = {

source/elements/l0/source/index.rst

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

4343
The detailed specification for Level Zero is available `online`_.
4444

45-
.. _`online`: ../../../oneL0/index.html
45+
.. _`online`: https://spec.oneapi.com/versions/0.6.0/oneL0/index.html

source/elements/oneDAL/source/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,5 +124,5 @@ The detailed specification for oneDAL is available `online`_.
124124

125125
.. _`open source implementation`: https://github.com/intel/daal
126126
.. _`README`: https://github.com/intel/daal/blob/master/README.md
127-
.. _`online`: ../../../oneDAL/index.html
127+
.. _`online`: https://spec.oneapi.com/versions/0.6.0/oneDAL/index.html
128128

source/elements/oneMKL/source/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ Detailed API Descriptions
3535
The detailed list of functions and their specification can be found in
3636
the `oneMKL specification`_.
3737

38-
.. _`oneMKL specification`: ../../../oneMKL/index.htm
38+
.. _`oneMKL specification`: https://spec.oneapi.com/versions/0.6.0/oneMKL/index.htm

source/index.rst

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@ oneAPI Specification
2424
elements/oneVPL/source/index
2525
elements/oneMKL/source/index
2626
contributors
27+
versions
2728
notices
2829

29-
30+
.. sphinx warns about rst files that are not reachable from the top
31+
level toc. Put them here:
32+
33+
.. toctree::
34+
:hidden:
35+
36+
404

source/introduction.rst

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -120,25 +120,6 @@ If you agree to the above, every contribution of your feedback must
120120
include the following line using your real name and email address:
121121
Signed-off-by: Joe Smith [email protected]
122122

123-
Versions
124-
--------
125-
126-
======== ========== =========
127-
Version Date View
128-
======== ========== =========
129-
0.6.0_ 01/31/2019 `HTML <https://spec.oneapi.com/versions/0.6.0/>`__ `PDF <https://spec.oneapi.com/versions/0.6.0/oneAPI-spec.pdf>`__
130-
0.5.0_ 11/17/2019 `HTML <https://spec.oneapi.com/versions/0.5.0/>`__
131-
======== ========== =========
132-
133-
0.6.0
134-
+++++
135-
136-
Open source release
137-
138-
0.5.0
139-
+++++
140-
141-
Initial public release
142123

143124
.. todolist::
144125

source/versions.rst

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
..
2+
Copyright 2020 Intel Corporation
3+
4+
5+
HTML and PDF Versions
6+
=====================
7+
8+
These are the versions that were available at time of publication. See
9+
the `latest spec
10+
<https://spec.oneapi.com/versions/latest/versions.html>`__ for newer
11+
versions.
12+
13+
======== ========== =========
14+
Version Date View
15+
======== ========== =========
16+
0.6.0_ 01/31/2019 `HTML <https://spec.oneapi.com/versions/0.6.0/>`__ `PDF <https://spec.oneapi.com/versions/0.6.0/oneAPI-spec.pdf>`__
17+
0.5.0_ 11/17/2019 `HTML <https://spec.oneapi.com/versions/0.5.0/>`__
18+
======== ========== =========
19+
20+
0.6.0
21+
+++++
22+
23+
Open source release
24+
25+
0.5.0
26+
+++++
27+
28+
Initial public release

0 commit comments

Comments
 (0)