Documentation site for the Red Hat Communities of Practice: contribution guidelines, CoP-specific content, CI patterns, and a repository map.
- Live site
- Stack
-
Jekyll 4 on Ruby 4, deployed to GitHub Pages via Actions
| Path | Purpose |
|---|---|
|
Home page |
|
Index of CoP Git repositories ( |
|
Contribution guidelines (fork/PR workflow) |
|
CoP-specific documentation |
|
Continuous integration guides for redhat-cop repos |
|
Screenshots and other static images |
|
Site config, plugins, and navigation |
|
Build, test, and deploy workflow |
Content is Markdown (.md). This README.adoc is for developers working on the repo itself and is not published to the site.
-
Ruby 4.0+ (see
.ruby-version)On macOS, do not use the system Ruby under
/usr/bin. Install Homebrew Ruby and put it first on yourPATH:brew install ruby echo 'export PATH="/opt/homebrew/opt/ruby/bin:$PATH"' >> ~/.zshrc source ~/.zshrc ruby -v # should show 4.x
-
Bundler
gem install bundler
git clone git@github.com:redhat-cop/redhat-cop.github.io.git
cd redhat-cop.github.io
bundle install
bundle exec jekyll serveOpen http://localhost:4000. Stop the server with Ctrl+C.
Useful options:
bundle exec jekyll serve --livereload # auto-reload on file changes
bundle exec jekyll serve --host 0.0.0.0 # reachable on the local network-
Create a branch from
main. -
Edit or add Markdown under the paths listed in Repository layout above.
-
Preview with
bundle exec jekyll serve. -
Open a pull request against
main.
New pages pick up the default page layout from _config.yml unless you set another layout (for example layout: home on the homepage).
For contributing to other redhat-cop repositories, follow the published guidelines: Contribution Guidelines.
jekyll serve writes http://localhost:4000 into _site, which fails HTML-Proofer’s HTTPS check. Build in production mode first:
JEKYLL_ENV=production bundle exec jekyll build
bundle exec htmlproofer --disable-external ./_siteTo check a _site produced by jekyll serve without rebuilding:
bundle exec htmlproofer --disable-external --no-enforce-https ./_siteCI builds and runs HTML-Proofer on every pull request. Pushes to main also deploy to GitHub Pages.
One-time admin setup (repository Settings → Pages):
-
Under Build and deployment → Source, choose GitHub Actions.
See SECURITY.md. Report vulnerabilities to the @redhat-cop-sre team.