Skip to content

Commit 962ac3a

Browse files
committed
merge from master
2 parents bea658c + 30f3049 commit 962ac3a

File tree

292 files changed

+26772
-276
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

292 files changed

+26772
-276
lines changed

.gitlab-ci.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ build:
22
image: rscohn2/oneapi-spec
33
stage: build
44
script:
5-
- export no_proxy=.intel.com
6-
- export NO_PROXY=$no_proxy
7-
- export http_proxy=http://proxy-us.intel.com:911
8-
- export https_proxy=$http_proxy
9-
- python3 scripts/oneapi.py --branch $CI_COMMIT_REF_NAME ci
5+
- python3 scripts/oneapi.py spec-venv
6+
- source spec-venv/bin/activate
7+
- python scripts/oneapi.py --branch $CI_COMMIT_REF_NAME ci

CONTRIBUTING.rst

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,15 @@ Contribute to the oneAPI Specification by opening issues in the oneAPI
2121
Specification `GitHub repository
2222
<https://github.com/oneapi-src/oneapi-spec>`__.
2323

24+
----------------
25+
General Feedback
26+
----------------
27+
28+
Questions and feature requests can be submitted as issues in the `GitHub repository
29+
<https://github.com/oneapi-src/oneapi-spec>`__. Writing changes can be submitted as
30+
an issue or a pull request. See the the next section on how to submit changes. If
31+
none of these methods are appropriate, you may also email to
32+
2433

2534
------------------
2635
Submitting changes
@@ -41,14 +50,14 @@ Please include a signed-off-by tag in every contribution of
4150
your feedback. By including a signed-off-by tag, you agree
4251
that:
4352

44-
(a) You have a right to license your feedback to Intel.
45-
(b) Intel will be free to use, disclose, reproduce, modify, license,
46-
or otherwise distribute your feedback at its sole discretion
47-
without any obligations or restrictions of any kind, including
48-
without limitation, intellectual property rights or licensing
49-
obligations.
50-
(c) Your feedback will be public and that a record of your feedback
51-
may be maintained indefinitely.
53+
1. You have a right to license your feedback to Intel.
54+
2. Intel will be free to use, disclose, reproduce, modify, license,
55+
or otherwise distribute your feedback at its sole discretion
56+
without any obligations or restrictions of any kind, including
57+
without limitation, intellectual property rights or licensing
58+
obligations.
59+
3. Your feedback will be public and that a record of your feedback
60+
may be maintained indefinitely.
5261

5362
If you agree to the above, every contribution of your feedback
5463
must include the following line using your real name and email

README.rst

Lines changed: 34 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,6 @@ This repo contains the sources for the `oneAPI Specification`_
77
The document is built with `Sphinx`_ using a theme provided by `Read
88
the Docs`_
99

10-
-----------------------------------
11-
Layout of the Documents in the Repo
12-
-----------------------------------
13-
14-
The specification is in the source directory. MKL, TBB, and Level Zero
15-
are in separate repos. See clones function in scripts/oneapi.py on how
16-
to clone them.
17-
1810
---------------------------------
1911
Editing with Github Web Interface
2012
---------------------------------
@@ -55,7 +47,7 @@ On windows::
5547
python scripts\oneapi.py spec-venv
5648
spec-venv\Scripts\activate
5749
58-
MKL, DAL, and Level Zero are in other repos. To clone them::
50+
MKL, DAL, and Level Zero are temporarily in separate private repos. If you have access to the repos you can clone them::
5951

6052
python scripts/oneapi.py clones
6153

@@ -74,8 +66,7 @@ The document is organized as a book with chapters. Each element of
7466
oneAPI is its own chapter and can be built separately. For example, to
7567
build the oneVPL chapter, do::
7668

77-
cd source/elements/oneVPL
78-
python ../../../scripts/element.py html
69+
python scripts/oneapi.py html source/elements/oneVPL
7970
8071
To see the docs, visit build/html/index.html in your browser using a
8172
file:// URL. Build the pdf version with::
@@ -118,30 +109,38 @@ Docker
118109

119110
You can build a **Docker container** image with::
120111

121-
scripts/build-image.sh
112+
python scripts/oneapi.py dockerbuild
122113

123-
The tag will be oneapi-spec. The script copies your proxy settings in
114+
The tag will be rscohn2/oneapi-spec. The script copies your proxy settings in
124115
the invoking shell so it will work inside the firewall.
125116

117+
You can run a docker container with::
118+
119+
python scripts/oneapi.py dockerrun
120+
126121
--
127122
CI
128123
--
129124

130-
We are currently using gitlab CI inside the intel firewall. See
131-
.gitlab-ci.yml for the configuration. When all the documents sources
132-
have been externally published, we will move it to public CI
133-
infrastructure.
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.
134135

135136
On every commit, the CI system builds and publishes the document to
136-
http://staging.spec.oneapi.com.s3-website-us-west-2.amazonaws.com/ci/branches
137-
with a different directory for the latest build of every branch.
137+
the staging server. To see the URL, look at the end of the log in the
138+
CI system.
138139

139-
For commits to the publish branch, the document is staged at:
140-
http://staging.spec.oneapi.com.s3-website-us-west-2.amazonaws.com/site/versions. with
141-
a different directory for every version. The version is obtained from
142-
source/conf/common_conf.py. There is a redirect from:
143-
http://staging.spec.oneapi.com.s3-website-us-west-2.amazonaws.com/site/
144-
to the latest version.
140+
For commits to the publish branch, the document is staged inside a
141+
full copy of the spec.oneapi.com site, which includes redirects and
142+
older versions of the doc. To see the URL, look at the end of the log
143+
in the CI system.
145144

146145
To push to S3, the CI system configuration sets AWS_ACCESS_KEY_ID and
147146
AWS_SECRET_ACCESS_KEY environment variables.
@@ -150,15 +149,23 @@ AWS_SECRET_ACCESS_KEY environment variables.
150149
Publishing
151150
----------
152151

153-
Commit to the publish branch. View the results on staging server. Push to production with::
152+
Merge from master to publish::
153+
154+
git checkout publish
155+
git merge master
156+
git commit -m 'merge from master'
157+
158+
After CI completes, view the results on staging server. Push to
159+
production with::
154160

155161
python scripts/oneapi.py prod-publish
156162

157163
------------
158164
More Reading
159165
------------
160166

161-
* `oneAPI Specification Style Guide <https:style-guide.rst>`_
167+
* `oneAPI Specification Roadmap <roadmap.rst>`__
168+
* `oneAPI Specification Style Guide <style-guide.rst>`_
162169
* `Sphinx Documentation <http://www.sphinx-doc.org/en/master/>`_
163170
* `rst docs`_: User and reference manuals.
164171
* `online editor/viewer`_: Web page that lets you type in some rst fragments

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
aws-shell # Only needed for deploying the site
66
breathe
77
gitpython
8-
sphinx
8+
Sphinx>=2.4.0
99
sphinx-notfound-page
1010
sphinx-rtd-theme

0 commit comments

Comments
 (0)