Test
+ +Nothing to see here.
+ +diff --git a/content/patterns/code/test.md b/content/patterns/code/test.md new file mode 100644 index 0000000..251e63a --- /dev/null +++ b/content/patterns/code/test.md @@ -0,0 +1,5 @@ ++++ +title = "Test" ++++ + +Nothing to see here. diff --git a/docs/index.html b/docs/index.html index 8503478..49ab9bf 100644 --- a/docs/index.html +++ b/docs/index.html @@ -165,6 +165,13 @@ +
Documentation for the Infusion pattern library builder. This documentation is constructed using the builder itself.
+npm install
in the root of that codebase.
setup
commandThere’s another command, setup
, which you need to run to create an initial build and make sure git is aware of the public
folder it generates.
There’s another command, setup
, which you need to run to create an initial build and make sure git is aware of the /docs
folder it generates.
npm run setup
@@ -317,7 +328,7 @@ theme = "infusion"
title
is, naturally, Infusion :-)title
is, naturally, Infusion :-)<em>
and <strong>
.Infusion creates a /docs
folder containing the latest version of your library whenever you run npm run build
or do a git commit
. This folder can be made the source for your Github Pages site by selecting it under Settings → Github Pages → Source in the web interface.
Infusion creates a /docs
folder containing the latest version of your library whenever you do an npm run build
or a git commit
. This folder can be made the source for your Github Pages site by selecting it under Settings → Github Pages → Source in the web interface.
Then, whenever you push to master, you will also be updating the site found at your Github Pages URL, in the format [your user name].github.io/[your library repo name]
. You’ll also need to add this URL to your config.toml
file. See {{ pattern “Library setup” }} for more information.
Then, whenever you push to master, you will also be updating the site found at your Github Pages URL.
+ +This URL will be in the following format:
+ +[your user name].github.io/[your library repo name]`
+
+
+You’ll also need to add it to your config.toml
file. See
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Library setup
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ for more information.
diff --git a/docs/sitemap.xml b/docs/sitemap.xml
index 27a73c0..2ba1699 100644
--- a/docs/sitemap.xml
+++ b/docs/sitemap.xml
@@ -78,6 +78,10 @@
0
+
+ https://heydon.github.io/infusion/patterns/code/test/
+
+
https://heydon.github.io/infusion/patterns/code/writing-inline-demos/
diff --git a/package.json b/package.json
index 4e91354..960130c 100644
--- a/package.json
+++ b/package.json
@@ -7,7 +7,7 @@
"test": "echo \"Error: no test specified\" && exit 1",
"serve": "hugo server",
"clean": "rm -rf content && mkdir content && mkdir content/patterns && hugo new patterns/pattern.md && hugo new _index.md",
- "build": "hugo"
+ "build": "hugo && git add -A"
},
"pre-commit": [
"build"