diff --git a/content/patterns/installation.md b/content/patterns/installation.md index 1cc962a..6cbb3bd 100644 --- a/content/patterns/installation.md +++ b/content/patterns/installation.md @@ -45,6 +45,8 @@ If the command line is not your thing, use Github's web interface to fork [gith If you do not have a version of the Github desktop client installed, follow the prompts after clicking **Open in Desktop**. {{% /note %}} +While you're in the Github interface, you might as well set up the publishing source for the live site. Choose the Master branch/docs option under **Settings → Github Pages → Source**. See {{% pattern "Serving" %}} for more details. + Once you have your local copy of the files, move to the root of that folder and in your terminal run an npm installation: {{}}npm install{{}} diff --git a/content/patterns/serving.md b/content/patterns/serving.md index 6152e53..70538fd 100644 --- a/content/patterns/serving.md +++ b/content/patterns/serving.md @@ -27,8 +27,8 @@ You'll also need to add this value to your `config.toml` file as the `baseURL`. baseURL = "https://thepaciellogroup.github.io/infusion/" ``` -{{% note %}} -If you created a new repo' manually (without forking) you will find the `docs` folder is not automatically setup as the publishing source. This folder can be made the source for your Github Pages site by selecting it under **Settings → Github Pages → Source** in the web interface. +### Set the publishing source + +You will find the `docs` folder is not automatically setup as the publishing source, even when forking the repo. In which case, you must set it under **Settings → Github Pages → Source** in the web interface. ![The publishing source dropdown menu on Github](/images/serve_from_docs.png) -{{% /note %}} diff --git a/docs/css/styles.css b/docs/css/styles.css index e2de866..30c5728 100644 --- a/docs/css/styles.css +++ b/docs/css/styles.css @@ -438,7 +438,7 @@ caption { border-left: 0.5rem solid; font-size: 0.85rem; } -.note svg { +.note .sign { height: 2.25rem; width: 2.25rem; } @@ -935,4 +935,8 @@ h1 svg { width: auto; top: 0; } + .note.warning { + border-left: 0.5rem solid; + background: none; + } } diff --git a/docs/patterns/coding/code-blocks/index.html b/docs/patterns/coding/code-blocks/index.html index 292282a..ed47caa 100644 --- a/docs/patterns/coding/code-blocks/index.html +++ b/docs/patterns/coding/code-blocks/index.html @@ -453,7 +453,7 @@ toggle.addEventListener('click', (e) => {