Skip to content

Conversation

nimbinatus
Copy link
Collaborator

@nimbinatus nimbinatus commented Jul 18, 2025

This PR moves the site to Zola, a static site generator, to fix the build issues and to allow the site to function without Javascript.

Related issue

Testing instructions

As noted in the new readme:

To build and run this project in your local dev environment, first install Rust and Zola. Then, run

cd site
zola serve

Go to the URL for the webserver (likely localhost:1111) to explore the site.

Browser requirements (for page updates)

Your updates should work in the following environments:

  • Latest 2 versions of Edge
  • Internet Explorer 11 (should be useable, not pixel perfect)
  • Latest 2 versions of Firefox (one on Mac OS, one of Windows OS)
  • Firefox 68 (or latest version for Red Hat Enterprise Linux distribution)
  • Latest 2 versions of Chrome (one on Mac OS, one of Windows OS)
  • Latest 2 versions of Safari
  • Android mobile device (such as the Galaxy S9)
  • Apple mobile device (such as the iPhone X)
  • Apple tablet device (such as the iPhone Pro)

Note that some features, like the fade-in for the back to top button, may not function, but they should all have fallbacks.

Also, please note that the search and filter functions will disappear with a note if Javascript is disabled.

Ready-for-merge Checklist

Check off items as they are completed. Feel free to delete items if they are not applicable.

  • Expected files: all files in this pull request are related to one request or issue (no stragglers or scope-creep).
  • Browser testing passed.
  • Repository compiles.
  • Documentation (README.md, etc.) updated or added.
  • Approved by designer or writer (if applicable).

Merging

Please squash when merging and ensure your commit message uses conventional commit formatting.

Signed-off-by: Laura Santamaria <[email protected]>
@nimbinatus
Copy link
Collaborator Author

I'll be adding the GitHub Actions setup for publication next :)

@nimbinatus
Copy link
Collaborator Author

nimbinatus commented Jul 22, 2025

I'll add previews in a future PR (issue ref #382 )

This final commit adds the GitHub Actions build for the repository. You can review a preview at https://nimbinatus.com/RedHatOfficial.github.io/ from my fork.

(Note that, to get it to preview correctly for my fork, I had to modify the build flags at https://github.com/nimbinatus/RedHatOfficial.github.io/blob/dev/.github/workflows/build.yml#L30 if you're reviewing the differences between the two CI pipelines; there's also a preview attempt at the bottom at https://github.com/nimbinatus/RedHatOfficial.github.io/blob/dev/.github/workflows/build.yml#L45-L50 that is not working and thus not in this PR).

Also, note that, in this live preview from my fork, the fonts aren't loading. I think the Red Hat fonts are specifically scoped to only run on github.io pages (or perhaps specifically allowed RedHatOfficial.github.io?), so it should load when merged and built for this repo.

@nimbinatus nimbinatus marked this pull request as ready for review July 22, 2025 02:01
@nimbinatus nimbinatus mentioned this pull request Jul 22, 2025
… v1) with data patch

Tera v1 does not allow an alphabetical sort of an array. There's an open PR, but it's not merged yet. Tera v2 will update with that, but that's not in Zola yet. This patch fixes it for now.

Signed-off-by: Laura Santamaria <[email protected]>
{% else %}
<td></td>
{% endif %}
{% if project.twitterURL and project.twitterHandle %}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not blocking, but twitterURL can be deduced from twitterHandle, so this could be simplified later.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I'm going to leave it, but I'd like to completely take this out and have better logic allowing for more social platforms...

@mscherer
Copy link
Contributor

So i think that's mostly good to go. I didn't look at the CSS, but the rest look good. There is a few things later to improve (eg, plenty of folks have moved out of X/Twitter), but that is future improvement for future us.

Copy link
Contributor

@mscherer mscherer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be good minus some small fixes

Copy link
Member

@bproffitt bproffitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Based on the preview site, these changes look good to me, but I want to make sure @mscherer 's comments get addressed as needed, too.

@bproffitt bproffitt merged commit c132ae2 into RedHatOfficial:dev Jul 23, 2025
4 checks passed
imgbot bot pushed a commit to ConnectionMaster/RedHatOfficial.github.io that referenced this pull request Jul 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants