Skip to content

Commit

Permalink
Merge pull request #1483 from IntelPython/fix/github-workflows
Browse files Browse the repository at this point in the history
Switch workflows to not use intel channel. dc94b7e
  • Loading branch information
github-actions[bot] committed Aug 2, 2024
1 parent f0d2890 commit 655b7ab
Show file tree
Hide file tree
Showing 121 changed files with 1,059 additions and 2,488 deletions.
2 changes: 1 addition & 1 deletion dev/.buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 7e7d291c7c33bca55f8b4545eed19556
config: 61463d24c839241db27f6762ec16bd80
tags: 645f666f9bcd5a90fca523b33c5a78b7
8 changes: 4 additions & 4 deletions dev/_sources/getting_started.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ to get the latest production releases.
conda create -n numba-dpex-env \
numba-dpex dpnp dpctl dpcpp-llvm-spirv \
-c intel -c conda-forge
-c conda-forge
To try out the bleeding edge, the latest packages built from tip of the main
source trunk can be installed from the ``dppy/label/dev`` conda channel.
Expand All @@ -29,7 +29,7 @@ source trunk can be installed from the ``dppy/label/dev`` conda channel.
conda create -n numba-dpex-env \
numba-dpex dpnp dpctl dpcpp-llvm-spirv \
-c dppy/label/dev -c intel -c conda-forge
-c dppy/label/dev -c conda-forge
Expand All @@ -53,7 +53,7 @@ Steps to build using ``conda-build``:

.. code-block:: bash
conda build conda-recipe -c intel -c conda-forge
conda build conda-recipe -c conda-forge
3. Install the conda package

Expand All @@ -71,7 +71,7 @@ first step.
# Create a conda environment that hass needed dependencies installed
conda create -n numba-dpex-env \
scikit-build cmake dpctl dpnp numba dpcpp-llvm-spirv llvmdev pytest \
-c intel -c conda-forge
-c conda-forge
# Activate the environment
conda activate numba-dpex-env
# Clone the numba-dpex repository
Expand Down
2 changes: 1 addition & 1 deletion dev/_static/documentation_options.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const DOCUMENTATION_OPTIONS = {
VERSION: '0.23.0+14.ge80fdd070',
VERSION: '0.23.0+16.gdc94b7e10',
LANGUAGE: 'en',
COLLAPSE_INDEX: false,
BUILDER: 'html',
Expand Down
2 changes: 1 addition & 1 deletion dev/_static/scripts/furo.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dev/_static/scripts/furo.js.map

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions dev/_static/searchtools.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ const Search = {

htmlToText: (htmlString, anchor) => {
const htmlElement = new DOMParser().parseFromString(htmlString, 'text/html');
for (const removalQuery of [".headerlinks", "script", "style"]) {
for (const removalQuery of [".headerlink", "script", "style"]) {
htmlElement.querySelectorAll(removalQuery).forEach((el) => { el.remove() });
}
if (anchor) {
Expand Down Expand Up @@ -328,13 +328,14 @@ const Search = {
for (const [title, foundTitles] of Object.entries(allTitles)) {
if (title.toLowerCase().trim().includes(queryLower) && (queryLower.length >= title.length/2)) {
for (const [file, id] of foundTitles) {
let score = Math.round(100 * queryLower.length / title.length)
const score = Math.round(Scorer.title * queryLower.length / title.length);
const boost = titles[file] === title ? 1 : 0; // add a boost for document titles
normalResults.push([
docNames[file],
titles[file] !== title ? `${titles[file]} > ${title}` : title,
id !== null ? "#" + id : "",
null,
score,
score + boost,
filenames[file],
]);
}
Expand Down
Loading

0 comments on commit 655b7ab

Please sign in to comment.