Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .github/copilot-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ rm -rf public resources .hugo_build.lock && npm run dev
**Build passes locally but fails in CI?** Check:
- Node version (18.16.1 on Netlify, verify locally)
- pnpm version (>= 8.10.0)
- Hugo version in `package.json` → `otherDependencies.hugo`
- Hugo version in `package.json` → `dependencies.hugo-extended`
- All dependencies installed: `npm install`

**CSS/JS not updating?** Clear asset cache:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validate_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
node-version: '20'

- name: Install dependencies
run: npm install
Expand Down
5 changes: 0 additions & 5 deletions config/_default/hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,6 @@ copyRight = "Copyright (c) 2023-2026 OpenCHAMI"
filename = "sitemap.xml"
priority = 0.5

[caches]
[caches.getjson]
dir = ":cacheDir/:project"
maxAge = -1 # "30m"

[taxonomies]
contributor = "contributors"
category = "categories"
Expand Down
35 changes: 20 additions & 15 deletions config/_default/module.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# mounts
## archetypes
[[mounts]]
source = "node_modules/@hyas/doks-core/archetypes"
source = "node_modules/@thulite/doks-core/archetypes"
target = "archetypes"

[[mounts]]
Expand All @@ -10,21 +10,25 @@

## assets
[[mounts]]
source = "node_modules/@hyas/core/assets"
source = "node_modules/@thulite/core/assets"
target = "assets"
# excludeFiles = ["scss/app.scss", "js/app.js"]

[[mounts]]
source = "node_modules/@hyas/images/assets"
source = "node_modules/@thulite/doks-core/assets"
target = "assets"

[[mounts]]
source = "node_modules/@hyas/doks-core/assets"
source = "node_modules/@tabler/icons/icons"
target = "assets/svgs/tabler-icons"

[[mounts]]
source = "node_modules/@thulite/images/assets"
target = "assets"

[[mounts]]
source = "node_modules/@tabler/icons/icons"
target = "assets/svgs/tabler-icons"
source = "hugo_stats.json"
target = "assets/watching/hugo_stats.json"

[[mounts]]
source = "assets"
Expand All @@ -37,7 +41,7 @@

## data
[[mounts]]
source = "node_modules/@hyas/doks-core/data"
source = "node_modules/@thulite/doks-core/data"
target = "data"

[[mounts]]
Expand All @@ -46,7 +50,7 @@

## i18n
[[mounts]]
source = "node_modules/@hyas/doks-core/i18n"
source = "node_modules/@thulite/doks-core/i18n"
target = "i18n"

[[mounts]]
Expand All @@ -55,32 +59,33 @@

## layouts
[[mounts]]
source = "node_modules/@hyas/core/layouts"
source = "layouts"
target = "layouts"

[[mounts]]
source = "node_modules/@hyas/seo/layouts"
excludeFiles = ['home.html']
source = "node_modules/@thulite/doks-core/layouts"
target = "layouts"

[[mounts]]
source = "node_modules/@hyas/images/layouts"
source = "node_modules/@thulite/core/layouts"
target = "layouts"

[[mounts]]
source = "node_modules/@hyas/doks-core/layouts"
source = "node_modules/@thulite/seo/layouts"
target = "layouts"

[[mounts]]
source = "node_modules/@hyas/inline-svg/layouts"
source = "node_modules/@thulite/images/layouts"
target = "layouts"

[[mounts]]
source = "layouts"
source = "node_modules/@thulite/inline-svg/layouts"
target = "layouts"

## static
[[mounts]]
source = "node_modules/@hyas/doks-core/static"
source = "node_modules/@thulite/doks-core/static"
target = "static"

[[mounts]]
Expand Down
14 changes: 7 additions & 7 deletions config/_default/params.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ mainSections = ["docs", "events"]
github = "openchami"


# Doks (@hyas/doks-core)
# Doks (@thulite/doks-core)
[doks]
# Color mode
colorMode = "auto" # auto (default), light or dark
Expand Down Expand Up @@ -101,9 +101,9 @@ mainSections = ["docs", "events"]
errorLevel = 'ignore' # ignore (default), warning, or error (fails the build)
highlightBroken = false # true or false (default)

# Images (@hyas/images)
[hyas_images]
[hyas_images.defaults]
# Images (@thulite/images)
[thulite_images]
[thulite_images.defaults]
decoding = "async" # sync, async, or auto (default)
fetchpriority = "auto" # high, low, or auto (default)
loading = "lazy" # eager or lazy (default)
Expand All @@ -112,11 +112,11 @@ mainSections = ["docs", "events"]
process = "" # "fill 1600x900" or "fill 2100x900" for example
lqip = "16x webp q20" # "16x webp q20" or "21x webp q20" for example

# Inline SVG (@hyas/inline-svg)
[inline_svg]
# Inline SVG (@thulite/inline-svg)
[thulite_svg]
iconSetDir = "tabler-icons" # "tabler-icons" (default)

# SEO (@hyas/seo)
# SEO (@thulite/seo)
[seo]
[seo.title]
separator = " | "
Expand Down
65 changes: 29 additions & 36 deletions config/postcss.config.js
Original file line number Diff line number Diff line change
@@ -1,44 +1,35 @@
const autoprefixer = require('autoprefixer');
const purgecss = require('@fullhuman/postcss-purgecss');
const whitelister = require('purgecss-whitelister');
import autoprefixer from 'autoprefixer';
import purgeCSSPlugin from '@fullhuman/postcss-purgecss';

module.exports = {
plugins: [
autoprefixer(),
purgecss({
content: [ './hugo_stats.json' ],
extractors: [
{
extractor: (content) => {
const els = JSON.parse(content).htmlElements;
return els.tags.concat(els.classes, els.ids);
},
extensions: ['json'],
},
],
dynamicAttributes: [
const purgecss = purgeCSSPlugin({
content: ['./hugo_stats.json'],
defaultExtractor: (content) => {
const els = JSON.parse(content).htmlElements;
return [...(els.tags || []), ...(els.classes || []), ...(els.ids || [])];
},
dynamicAttributes: [
'aria-expanded',
'data-bs-popper',
'data-bs-target',
'data-bs-theme',
'data-dark-mode',
'data-global-alert',
'data-pane', // tabs.js
'data-pane', // tabs.js
'data-popper-placement',
'data-sizes',
'data-toggle-tab', // tabs.js
'data-toggle-tab', // tabs.js
'id',
'size',
'type',
],
safelist: [
'type'
],
safelist: [
'active',
'btn-clipboard', // clipboards.js
'clipboard', // clipboards.js
'btn-clipboard', // clipboards.js
'clipboard', // clipboards.js
'disabled',
'hidden',
'modal-backdrop', // search-modal.js
'selected', // search-modal.js
'modal-backdrop', // search-modal.js
'selected', // search-modal.js
'show',
'img-fluid',
'blur-up',
Expand All @@ -56,13 +47,15 @@ module.exports = {
'hiding',
'page-item',
'page-link',
...whitelister([
'./assets/scss/**/*.scss',
'./node_modules/@hyas/doks-core/assets/scss/components/_code.scss',
'./node_modules/@hyas/doks-core/assets/scss/components/_expressive-code.scss',
'./node_modules/@hyas/doks-core/assets/scss/common/_syntax.scss',
]),
],
}),
'not-content',
'copy',
'btn-copy',
]
});

export default {
plugins: [
autoprefixer(),
...(process.env.HUGO_ENVIRONMENT === "production" ? [purgecss] : []),
],
}
};
2 changes: 1 addition & 1 deletion content/about-us/about-us.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "About Us"
date: 2025-04-010T12:00:00Z # Adjust as needed
date: 2025-04-10T12:00:00Z # Adjust as needed
draft: false
---

Expand Down
2 changes: 1 addition & 1 deletion content/events/Summits/2024/Annapolis/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ seo:

OpenCHAMI developers will gather in Annapolis MD at The Westin on April 9th and 10th for our first in-person gathering specifically for developers. Accommodations will be made to involve remote participation as well. Over two days, we'll set aside time to review where our software stands today and host workshops dedicated to User Interfaces, Developer Experience, Software Quality Standards, and Testing Requirements. We encourage anyone with an interest in these subjects to [fill out our free registration form](https://forms.office.com/g/3zPmc3WUTr) to receive further logistical and agenda updates. OpenCHAMI is not charging any registration or attendance fee.

A room block will be available at the Westin Annapolis at a government per diem rate. We will share the booking link with anyone that [fills out the form]((https://forms.office.com/g/3zPmc3WUTr)).
A room block will be available at the Westin Annapolis at a government per diem rate. We will share the booking link with anyone that [fills out the form](https://forms.office.com/g/3zPmc3WUTr).

Please register by March 15th by clicking here. This will help us get a head count for in person vs virtual and be able to accommodate any dietary, mobility restrictions etc.

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading
Loading