Skip to content

Commit

Permalink
Move data to deployed directory, move modules.json to data/
Browse files Browse the repository at this point in the history
  • Loading branch information
LeaVerou committed Oct 1, 2024
1 parent cc26e59 commit f4427de
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions _build/eleventy.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export default config => {
markdownTemplateEngine: "njk",
templateFormats: ["md", "njk"],
dir: {
data: "data",
output: ".",
},
};
Expand Down
File renamed without changes.
File renamed without changes.
3 changes: 1 addition & 2 deletions docs/spaces.njk
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: "docs.njk"
title: Supported Color Spaces
has_mavo: true
body_classes: cn-ignore
Expand Down Expand Up @@ -92,5 +91,5 @@ color.toString();</code></pre>
</article>
</div>
</section>
<pre class="cn-ignore" id="spaceData" mv-app="colorSpaceData" mv-storage="../get/modules.json"></pre>
<pre class="cn-ignore" id="spaceData" mv-app="colorSpaceData" mv-storage="../data/modules.json"></pre>
{% endraw %}
2 changes: 1 addition & 1 deletion get/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ or your local <code>node_modules/colorjs.io</code> if using npm.</p>
<p class="warning">This is a work in progress and doesn't fully work yet.
Right now it can generate import statements, but not an actual bundle.</p>
<section mv-app="colorBundler" mv-storage="modules.json" mv-plugins="markdown">
<section mv-app="colorBundler" mv-storage="../data/modules.json" mv-plugins="markdown">
<fieldset id="core">
<legend>Core modules</legend>
Expand Down

0 comments on commit f4427de

Please sign in to comment.