Auto-publish on Fri 8 Aug 21:13:32 BST 2025

This commit is contained in:
2025-08-08 21:13:32 +01:00
parent 1fa7e85a58
commit 88263df422
20 changed files with 398 additions and 299 deletions

View File

@@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2025-08-08 Fri 18:26 -->
<!-- 2025-08-08 Fri 21:06 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Setup</title>
@@ -23,13 +23,13 @@
<a href="/contact.html">Contact</a>
</nav>
</div>
<div id="updated">Updated: 2025-08-08 Fri 18:26</div>
<div id="updated">Updated: 2025-08-08 Fri 20:25</div>
</div>
<div id="content" class="content">
<h1 class="title">Setup</h1>
<div id="outline-container-orga729cc8" class="outline-2">
<h2 id="orga729cc8">Introduction</h2>
<div class="outline-text-2" id="text-orga729cc8">
<div id="outline-container-org155ef79" class="outline-2">
<h2 id="org155ef79">Introduction</h2>
<div class="outline-text-2" id="text-org155ef79">
<p>
This page will highlight the <code>build-script.el</code> used to generate this website. This entire website is generated through org files using the command:
</p>
@@ -40,13 +40,17 @@ This page will highlight the <code>build-script.el</code> used to generate this
</div>
</div>
</div>
<div id="outline-container-org6bbc685" class="outline-2">
<h2 id="org6bbc685">The script</h2>
<div class="outline-text-2" id="text-org6bbc685">
<div id="outline-container-org7ee8845" class="outline-2">
<h2 id="org7ee8845">The script</h2>
<div class="outline-text-2" id="text-org7ee8845">
<p>
The script is as follows, at the start I have some metadata relating to the file, followed by package management,then the declaration of variables/functions and finally the <code>org-publish-project-alist</code> which handles nearly all of the project generation instructions.
</p>
<p>
<i>The following code snippet will probably change often, as I can never seem to stick to a single configuration 😀</i>
</p>
<div class="org-src-container">
<pre class="src src-emacs-lisp">
<span class="org-comment-delimiter">;;; </span><span class="org-comment">build-site.el --- Publish my website using org-publish -*- lexical-binding: t; -*-
@@ -402,9 +406,9 @@ Created with %c on &lt;a href=\"https://www.archlinux.org/\"&gt;Arch&lt;/a&gt; &
</div>
</div>
</div>
<div id="outline-container-org36c15bb" class="outline-2">
<h2 id="org36c15bb">Publish Script</h2>
<div class="outline-text-2" id="text-org36c15bb">
<div id="outline-container-org34b477e" class="outline-2">
<h2 id="org34b477e">Publish Script</h2>
<div class="outline-text-2" id="text-org34b477e">
<p>
As the project is hosted on Github, I have created a small script that is able to push changes to the remote repository, which Cloudflare will automatically detect and rebuild the website:
</p>