@@ -7,14 +7,6 @@ This repo contains the sources for the `oneAPI Specification`_
77The document is built with `Sphinx `_ using a theme provided by `Read
88the 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---------------------------------
1911Editing 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
7466oneAPI is its own chapter and can be built separately. For example, to
7567build 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
8071To see the docs, visit build/html/index.html in your browser using a
8172file:// URL. Build the pdf version with::
@@ -118,30 +109,38 @@ Docker
118109
119110You 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
124115the 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--
127122CI
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
135136On 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
146145To push to S3, the CI system configuration sets AWS_ACCESS_KEY_ID and
147146AWS_SECRET_ACCESS_KEY environment variables.
@@ -150,15 +149,23 @@ AWS_SECRET_ACCESS_KEY environment variables.
150149Publishing
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------------
158164More 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
0 commit comments