Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
76 changes: 45 additions & 31 deletions .github/workflows/pr-preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ on:
branches:
- main

permissions:
contents: read
issues: write
pull-requests: write

# Default to bash
defaults:
run:
Expand All @@ -15,6 +20,10 @@ jobs:
# Build job for PR preview
build-preview:
runs-on: ubuntu-latest
permissions:
contents: read
issues: write
pull-requests: write
env:
HUGO_VERSION: 0.126.0
steps:
Expand Down Expand Up @@ -54,37 +63,42 @@ jobs:
retention-days: 7

- name: Comment on PR
continue-on-error: true
uses: actions/github-script@v7
with:
script: |
const prNumber = context.payload.pull_request.number;
const runId = context.runId;
const repo = context.repo;

const comment = `## 🔍 Preview Build Complete

The site has been built successfully for this PR!

### How to preview:
1. Download the preview artifact from the [workflow run](https://github.com/${repo.owner}/${repo.repo}/actions/runs/${runId})
2. Extract the zip file
3. Open \`index.html\` in your browser to preview the site

### Alternative preview methods:
- Use a local HTTP server: \`python -m http.server 8000\` or \`npx serve\`
- Or use VS Code's Live Server extension

**Note:** The preview uses the GitHub Pages URL (\`https://eclipse-volttron.github.io/\`) as the base URL. Links will work correctly when viewing locally.

### Build Details:
- **PR:** #${prNumber}
- **Commit:** ${context.payload.pull_request.head.sha.substring(0, 7)}
- **Artifact:** pr-preview-${prNumber}
`;

github.rest.issues.createComment({
owner: repo.owner,
repo: repo.repo,
issue_number: prNumber,
body: comment
});
try {
const prNumber = context.payload.pull_request.number;
const runId = context.runId;
const repo = context.repo;

const comment = `## 🔍 Preview Build Complete

The site has been built successfully for this PR!

### How to preview:
1. Download the preview artifact from the [workflow run](https://github.com/${repo.owner}/${repo.repo}/actions/runs/${runId})
2. Extract the zip file
3. Open \`index.html\` in your browser to preview the site

### Alternative preview methods:
- Use a local HTTP server: \`python -m http.server 8000\` or \`npx serve\`
- Or use VS Code's Live Server extension

**Note:** The preview uses the GitHub Pages URL (\`https://eclipse-volttron.github.io/\`) as the base URL. Links will work correctly when viewing locally.

### Build Details:
- **PR:** #${prNumber}
- **Commit:** ${context.payload.pull_request.head.sha.substring(0, 7)}
- **Artifact:** pr-preview-${prNumber}
`;

await github.rest.issues.createComment({
owner: repo.owner,
repo: repo.repo,
issue_number: prNumber,
body: comment
});
} catch (error) {
core.warning('Could not post PR preview comment (likely fork PR permissions): ' + error.message);
}
1 change: 0 additions & 1 deletion assets/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@

// Dealing with playlists
// const playlist_figures = document.getElementsByClassName("PlaylistFig")
// youtube_urls {"figure_id": url that equals figure_id}



Expand Down
45 changes: 45 additions & 0 deletions assets/sass/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,51 @@ $breakpoints: (
height:10vw;
}

.vimeo-showcase-container {
width: 100%;
height: 800px;
max-width: 100%;
margin-bottom: 2em;
border-radius: 6px;
overflow: hidden;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);

iframe {
width: 100%;
height: 100%;
border: 0;
display: block;
}

@include breakpoint(mobilel) {
height: 550px;
}
}

.sidebar-vimeo-container {
width: 100%;
height: 380px;
margin-bottom: 1.5em;
border-radius: 6px;
overflow: hidden;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);

iframe {
width: 100%;
height: 100%;
border: 0;
display: block;
}

@include breakpoint(narrower) {
height: 420px;
}

@include breakpoint(mobilel) {
height: 350px;
}
}

#cta {
text-align: center;
padding: 3.5em 0;
Expand Down
33 changes: 9 additions & 24 deletions content/tags/office hours.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,33 +3,18 @@ title: "OFFICE HOURS"
menu: archives
weight: 42

tags:
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12

---

{{< figure class="figConfig" title="Office Hours - January 5, 2024" src="../../images/VideoImages/OfficeHourThumbnails/OH-Jan5-24.jpg" link="https://youtu.be/sV7tXz53LVE?list=TLGGAUACxCrhMjoyMTA2MjAyNA" caption="This office hours has a presentation by Ben Bartling of Slipstream talking about BACPypes3’s features and his use of its scripting capabilities. This discussion feeds directly into the driver working...">}}
{{< figure class="figConfig" title="Office Hours - November 10, 2023" src="../../images/VideoImages/OfficeHourThumbnails/OH-Nov10-23.jpg" link="https://youtu.be/DqOuq50AjAI?list=TLGGB5HeUhn2LCwyMTA2MjAyNA" caption="This office hours has a demonstration of the 2030.5 agent as well as a discussion of the upcoming VOLTTRON 9.0 release. This is an update to the “monolithic” version of the platform incorporating...">}}
{{< figure class="figConfig" title="Office Hours - October 27, 2023" src="../../images/VideoImages/OfficeHourThumbnails/OH-Oct27-23.jpg" link="https://youtu.be/P2-T4iomrkQ?list=TLGGxyx1BwejocUyMTA2MjAyNA" caption="This session saw a demonstration of a Home Assistant driver for sharing data between this home automation system and the VOLTTRON platform. ILC has been configured to utilize this driver as an...">}}

{{< figure class="figConfig" title="Office Hours - October 13, 2023" src="../../images/VideoImages/OfficeHourThumbnails/OH-Oct13-23.jpg" link="https://youtu.be/UXKyckwkJo0?list=TLGGH2LXlrWvsRYyMTA2MjAyNA" caption="This open topic session led to a discussion on visualizing devices for a lighting application as well as adding and removing configurations through the VOLTTRON web interface.">}}
{{< figure class="figConfig" title="Office Hours - September 29, 2023" src="../../images/VideoImages/OfficeHourThumbnails/OH-Sep29-23.jpg" link="https://youtu.be/l7iGyECLVdo?list=TLGGJkKfDlcgBdEyMTA2MjAyNA" caption="This session saw a presentation and discussion of the 2030.5 driver that is ready for testing by the community.">}}
{{< figure class="figConfig" title="Office Hours - September 1, 2023" src="../../images/VideoImages/OfficeHourThumbnails/OH-Sep01-23.jpg" link="https://youtu.be/c52R6OX_2rQ?list=TLGGV3CnC8CTXz8yMTA2MjAyNA" caption="The new core publish/subscribe by tag service is presented at this session and is discussed in the context of the the overall interoperability effort.">}}
<p>Explore Eclipse VOLTTRON™ Office Hours recordings hosted on Vimeo.</p>

{{< figure class="figConfig" title="Office Hours - June 28, 2023" src="../../images/VideoImages/OfficeHourThumbnails/OH-Jun28-23.jpg" link="https://youtu.be/D_R3i3Izv9o?list=TLGGO5JDbQV-VbsyMTA2MjAyNA" caption="An open-topic Office Hours session that covered questions around the Docker image, debugging a user’s driver setup, Linux distros, and more.">}}
{{< figure class="figConfig" title="Office Hours - June 9, 2023" src="../../images/VideoImages/OfficeHourThumbnails/OH-Jun09-23.jpg" link="https://youtu.be/d2HMYAtJvIs?list=TLGGaN02kwYQ6YoyMTA2MjAyNA" caption="An Office Hours video that followed up on a community request to discuss code spaces and visual studio code integration with Github.">}}
{{< figure class="figConfig" title="Office Hours - May 26, 2023" src="../../images/VideoImages/OfficeHourThumbnails/OH-May26-23.jpg" link="https://youtu.be/sJ1tzvBjbGE?list=TLGGsKr4i3qtAXwyMTA2MjAyNA" caption="Today’s office hours was an open topic forum where upcoming releases and release process was discussed among other topics.">}}
<div class="vimeo-showcase-container">
<iframe src="https://vimeo.com/showcase/12353980/embed2"
allow="autoplay; fullscreen; picture-in-picture"
allowfullscreen
frameborder="0">
</iframe>
</div>

{{< figure class="figConfig" title="Office Hours - May 12, 2023" src="../../images/VideoImages/OfficeHourThumbnails/OH-May12-23.jpg" link="https://youtu.be/qTa-4VBKYPY?list=TLGGzk06PqfzdX0yMTA2MjAyNA" caption="In this office hours session, there is a discussion of the next code drop of the modular codebase. Open topic discussion touches on the current production version (8.2), the github workflow for...">}}
<p>You can also view the full collection directly on <a href="https://vimeo.com/showcase/12353980" target="_blank" rel="noopener noreferrer">Vimeo</a>.</p>


35 changes: 10 additions & 25 deletions content/tags/playlists.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,14 @@ weight: 42

---

<div class="playlist-wrapper-flex">
<figure class="PlaylistFig">
<a href="https://www.youtube.com/playlist?list=PLdW5J6qhxuwArRdyV1reXICYCL_6Nwz9h" target="_blank" rel="noopener noreferrer">
<img src="https://i.ytimg.com/vi/IBwtCjiBvR0/maxresdefault.jpg">
</a>
<h4>Eclipse VOLTTRON™ Intro</h4>
</figure>
<figure class="PlaylistFig">
<a href="https://www.youtube.com/playlist?list=PLdW5J6qhxuwD_C16V8TkqYytyzhr4xqcm" target="_blank" rel="noopener noreferrer">
<img src="https://i.ytimg.com/vi/X7nYZLysOM0/maxresdefault.jpg">
</a>
<h4>Eclipse VOLTTRON™ Demos</h4>
</figure>
<figure class="PlaylistFig" >
<a href="https://www.youtube.com/playlist?list=PLdW5J6qhxuwDExyPIcfFiOBHoSQWPWGD4" target="_blank" rel="noopener noreferrer">
<img src="https://i.ytimg.com/vi/bQ_7IBF-y70/maxresdefault.jpg">
</a>
<h4>Eclipse VOLTTRON™ Community Meetings</h4>
</figure>
<figure class="PlaylistFig" >
<a href="https://www.youtube.com/playlist?list=PLdW5J6qhxuwBOMTG64IH4vSt2SXrziHk8" target="_blank" rel="noopener noreferrer">
<img src="https://i.ytimg.com/vi/F1cpeu3FK7s/maxresdefault.jpg">
</a>
<h4>Office Hours</h4>
</figure>
<p>Explore Eclipse VOLTTRON™ videos, tutorials, and office hours recordings hosted on Vimeo.</p>

<div class="vimeo-showcase-container">
<iframe src="https://vimeo.com/showcase/12353980/embed2"
allow="autoplay; fullscreen; picture-in-picture"
allowfullscreen
frameborder="0">
</iframe>
</div>

<p>You can also view the full collection directly on <a href="https://vimeo.com/showcase/12353980" target="_blank" rel="noopener noreferrer">Vimeo</a>.</p>
19 changes: 9 additions & 10 deletions layouts/partials/sidebar/AboutSidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,17 @@ <h3>Related Materials</h3>
</footer>

<h3>Recent Videos</h3>
<p>Check out the playlist below for the newest information on Eclipse VOLTTRON™</p>
<p>Check out our videos on Vimeo for the newest information on Eclipse VOLTTRON™</p>

<figure class="PlaylistFig" >
<a href="https://www.youtube.com/playlist?list=PLdW5J6qhxuwDedkf01Z46Pt3hIKatCAxp" target="_blank" rel="noopener noreferrer">
<img id="PlaylistFigSides" src="https://i.ytimg.com/vi/F1cpeu3FK7s/maxresdefault.jpg">
</a>
</figure>
<div class="sidebar-vimeo-container">
<iframe src="https://vimeo.com/showcase/12353980/embed2"
allow="autoplay; fullscreen; picture-in-picture"
allowfullscreen
frameborder="0">
</iframe>
</div>




<footer>
<a href="#" class="button">{{ T "sidebar_button_2" }}</a>
<a href="https://vimeo.com/showcase/12353980" target="_blank" rel="noopener noreferrer" class="button">Watch on Vimeo</a>
</footer>
</section>
46 changes: 10 additions & 36 deletions layouts/partials/sidebar/DevelopersLeft.html
Original file line number Diff line number Diff line change
@@ -1,40 +1,14 @@
<section>
<h3>{{ T "sidebar_heading_1" }}</h3>

<h3>Tutorial Videos</h3>
<p>For more information, check out the latest Tutorial Videos below!
</p>
<figure class="PlaylistFig" >
<a href="https://www.youtube.com/playlist?list=PLdW5J6qhxuwCmjZ9PYjWd-6ABARXVk8t3" target="_blank" rel="noopener noreferrer">
<img id="PlaylistFigSides" src="https://i.ytimg.com/vi/bPE_-6nHuSY/maxresdefault.jpg">
</a>
</figure>
<h3>Tutorial & Office Hours Videos</h3>
<p>For more information, check out our videos and recordings on Vimeo!</p>
<div class="sidebar-vimeo-container">
<iframe src="https://vimeo.com/showcase/12353980/embed2"
allow="autoplay; fullscreen; picture-in-picture"
allowfullscreen
frameborder="0">
</iframe>
</div>
<footer>
</ul>



</footer>
</section>
<section>

<h3></h3>


<ul class="links">
<h3>Office Hours</h3>
<p>For more information, check out the latest Office Hours below!</p>

<figure class="PlaylistFig" >
<a href="https://www.youtube.com/playlist?list=PLdW5J6qhxuwBOMTG64IH4vSt2SXrziHk8" target="_blank" rel="noopener noreferrer">
<img id="PlaylistFigSides" src="https://i.ytimg.com/vi/F1cpeu3FK7s/maxresdefault.jpg">
</a>
</figure>
<footer>


</ul>
<footer>
<a href="#" class="button">{{ T "sidebar_button_2" }}</a>
<a href="https://vimeo.com/showcase/12353980" target="_blank" rel="noopener noreferrer" class="button">Watch on Vimeo</a>
</footer>
</section>
Loading