-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'gh-pages' into peixuanzuo/update_rocm_build
- Loading branch information
Showing
687 changed files
with
37,887 additions
and
20,408 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
# Sample workflow for building and deploying a Jekyll site to GitHub Pages | ||
name: Publish site | ||
|
||
on: | ||
# Runs on pushes targeting the branch where the website sources live | ||
push: | ||
branches: ["gh-pages"] | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | ||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. | ||
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. | ||
concurrency: | ||
group: "pages" | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
# Build job | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: gh-pages | ||
|
||
- name: Setup Pages | ||
uses: actions/configure-pages@v3 | ||
|
||
- name: Build with Jekyll | ||
uses: actions/jekyll-build-pages@v1 | ||
with: | ||
source: ./ | ||
destination: ./_site | ||
|
||
- name: Download C apidocs artifact | ||
uses: dawidd6/action-download-artifact@v2 | ||
with: | ||
name: onnxruntime-c-apidocs | ||
workflow: publish-c-apidocs.yml | ||
branch: main | ||
path: apidocs | ||
|
||
- name: Download C# apidocs artifact | ||
uses: dawidd6/action-download-artifact@v2 | ||
with: | ||
name: onnxruntime-csharp-apidocs | ||
workflow: publish-csharp-apidocs.yml | ||
branch: main | ||
path: apidocs | ||
|
||
- name: Download Java apidocs artifact | ||
uses: dawidd6/action-download-artifact@v2 | ||
with: | ||
name: onnxruntime-java-apidocs | ||
workflow: publish-java-apidocs.yml | ||
branch: main | ||
path: apidocs | ||
|
||
- name: Download Python apidocs artifact | ||
uses: dawidd6/action-download-artifact@v2 | ||
with: | ||
name: onnxruntime-python-apidocs | ||
workflow: publish-python-apidocs.yml | ||
branch: main | ||
path: apidocs | ||
|
||
- name: Move apidocs folder into place | ||
run: | | ||
sudo rm -rf _site/docs/api/c | ||
sudo mv apidocs/docs/api/c _site/docs/api | ||
sudo rm -rf _site/docs/api/csharp | ||
sudo mv apidocs/docs/api/csharp _site/docs/api | ||
sudo rm -rf _site/docs/api/java | ||
sudo mv apidocs/docs/api/java _site/docs/api | ||
sudo rm -rf _site/docs/api/python | ||
sudo mv apidocs/docs/api/python _site/docs/api | ||
- name: Upload site | ||
uses: actions/upload-pages-artifact@v1 | ||
with: | ||
retention-days: 21 | ||
|
||
# Deployment job | ||
deploy: | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
runs-on: ubuntu-latest | ||
needs: build | ||
steps: | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-156955408-1"></script> | ||
<script> | ||
window.dataLayer = window.dataLayer || []; | ||
function gtag(){dataLayer.push(arguments);} | ||
gtag('js', new Date()); | ||
gtag('config', 'UA-156955408-1'); | ||
</script> | ||
|
||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
<title>ONNX Runtime | Community</title> | ||
<link rel="icon" href="./images/ONNXRuntime-Favicon.png" type="image/gif" sizes="16x16"> | ||
<link rel="stylesheet" href="css/fonts.css"> | ||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> | ||
<link rel="stylesheet" href="css/custom.css"> | ||
<link rel="stylesheet" href="css/responsive.css"> | ||
</head> | ||
|
||
<body> | ||
<a class="skip-main" href="#skipMain">Skip to main content</a> | ||
<div class="main-wrapper"> | ||
<div class="top-banner-bg"> | ||
|
||
<!-- Partial header.html Start--> | ||
<div w3-include-html="header.html"></div> | ||
<!-- Partial header.html End--> | ||
|
||
<div id="skipMain" role="main"> | ||
<div class="outer-container mx-auto py-5"> | ||
|
||
<section class="blue-title-columns py-md-5 pb-4 pt-4 mt-5"> | ||
<div class="container-fluid"> | ||
<h1 class="mb-3 blue-text">Blogs & Announcements</h1> | ||
</div> | ||
<div id="blog-list"></div> | ||
|
||
</div> | ||
</section> | ||
<!--add template here--> | ||
|
||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<!-- Partial footer.html Start--> | ||
<div w3-include-html="footer.html"></div> | ||
<!-- Partial footer.html End--> | ||
|
||
<a id="back-to-top" href="JavaScript:void(0);" class="btn btn-lg back-to-top" role="button" aria-label="Back to top"><span class="fa fa-angle-up"></span></a> | ||
|
||
<script src="https://www.w3schools.com/lib/w3.js"></script> | ||
<script>w3.includeHTML();</script> | ||
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script> | ||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script> | ||
<script src="./js/custom.js"></script> | ||
|
||
<!--create a custom web component--> | ||
<template id="blog-item"> | ||
<div class="news row blue-title-columns"> | ||
<div class="col-12 blue-text"> | ||
<h3 class="mr-xl-5 mb-3"> | ||
<slot name="title"></slot> | ||
</h3> | ||
<span class="article-date"> | ||
<slot name="date"></slot> | ||
</span> | ||
<br/> | ||
<span class="article-blurb"> | ||
<slot name="blurb"></slot> | ||
</span> | ||
<br/> | ||
<div > | ||
<a href="" name="link" | ||
target="_blank" class="link"> | ||
<span class="link-content"> | ||
Read more | ||
</span> | ||
<span class="link-arrow fa fa-angle-right"></span> | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.