diff --git a/.github/workflows/site.yml b/.github/workflows/site.yml index 87f2021f978..3f7946caf03 100644 --- a/.github/workflows/site.yml +++ b/.github/workflows/site.yml @@ -34,6 +34,8 @@ jobs: bundler-cache: true - name: Setup Jekyll run: 'gem install bundler jekyll kramdown-parser-gfm webrick' + - name: Setup assets + run: 'cd docs/site/assets && npm ci && npm run build' - name: Build cldr.pages.dev run: 'cd docs/site && jekyll build' - name: Pre-install Wrangler diff --git a/docs/site/.gitignore b/docs/site/.gitignore new file mode 100644 index 00000000000..9fbbb2c6f27 --- /dev/null +++ b/docs/site/.gitignore @@ -0,0 +1,2 @@ +/node_modules +/assets/json diff --git a/docs/site/_config.yml b/docs/site/_config.yml index ab7eabda587..65571896a21 100644 --- a/docs/site/_config.yml +++ b/docs/site/_config.yml @@ -19,3 +19,6 @@ defaults: values: layout: page +include: + - node_modules + diff --git a/docs/site/_layouts/page.html b/docs/site/_layouts/page.html index adff46349b0..34abe8b81c8 100644 --- a/docs/site/_layouts/page.html +++ b/docs/site/_layouts/page.html @@ -14,23 +14,25 @@
- + + +