Skip to content

Commit

Permalink
Merge pull request #385 from GoogleChromeLabs/kizjkre/gsoc-24/gh-page…
Browse files Browse the repository at this point in the history
…s-fix

Add style and realtime sine reference to live suite build
  • Loading branch information
mjwilson-google authored Jul 22, 2024
2 parents 2d19312 + 727c2e5 commit 0161cce
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions .eleventy.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,23 +26,23 @@ module.exports = function(eleventyConfig) {

// See .eleventyignore for files to ignore.
eleventyConfig.setUseGitIgnore(false);

// To enable YAML files in `_data`.
eleventyConfig.addDataExtension('yaml', contents => yaml.load(contents));

// To handle relative paths and basic navigation via breadcrumbs.
eleventyConfig.addPlugin(navigationPlugin);
eleventyConfig.addFilter('relativePath', (fromPage, toUrl) => {
return path.relative(fromPage.url, toUrl);
});
});

if (process.env.ELEVENTY_ENV !== 'production') {
eleventyConfig.setBrowserSyncConfig({});
}

eleventyConfig.addWatchTarget('src/**/*.js');
eleventyConfig.addWatchTarget('src/styles/styles.css');

// Passthrough files via these glob patterns.
[
'src/library/**.js',
Expand Down Expand Up @@ -73,8 +73,10 @@ module.exports = function(eleventyConfig) {
'src/sounds/hyper-reality/**/*.wav',
'src/sounds/impulse-responses/**/*.wav',
'src/sounds/loops/**/*.wav',
'src/tests/**/*.css',
'src/tests/**/*.html',
'src/tests/**/*.js',
'src/tests/**/*.json',
'src/robots.txt',
'src/README.md',
'src/sitemap.xml',
Expand Down
2 changes: 1 addition & 1 deletion src/_data/build_info.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"version":"3.2.0","revision":"cb35e25","lastUpdated":"2024-05-17","copyrightYear":2024}
{"version":"3.2.0","revision":"f2acc10","lastUpdated":"2024-07-20","copyrightYear":2024}

0 comments on commit 0161cce

Please sign in to comment.