summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Letan <lthms@soap.coffee>2020-02-24 17:59:15 +0100
committerThomas Letan <lthms@soap.coffee>2020-02-24 17:59:41 +0100
commit1ea740e71a2ade9966cac85f90f139339e624045 (patch)
tree8416e7faef3e91a2889e7e76b3cc92c1d2fae1bd
parentRework users instructions for the equation plugin (diff)
More tweaking of too long code lines
-rw-r--r--Makefile3
-rw-r--r--site/cleopatra/Bootstrap.org7
-rw-r--r--site/cleopatra/Soupault.org22
-rw-r--r--site/cleopatra/Theme.org2
4 files changed, 18 insertions, 16 deletions
diff --git a/Makefile b/Makefile
index faac402..593e062 100644
--- a/Makefile
+++ b/Makefile
@@ -14,8 +14,7 @@ TANGLE := --batch --load="${ROOT}/scripts/tangle-org.el" \
default: init-log build
init-log:
- @echo "===========[CLEOPATRA BUILD LOG]===========" \
- > build.log
+ @rm -f build.log
.PHONY: init-log default build
diff --git a/site/cleopatra/Bootstrap.org b/site/cleopatra/Bootstrap.org
index 9ffbe77..2face0b 100644
--- a/site/cleopatra/Bootstrap.org
+++ b/site/cleopatra/Bootstrap.org
@@ -59,13 +59,13 @@ In a nutshell,
instance, the ~BLOCK_SRC~ headers for ~Makefile~ looks like
#+BEGIN_SRC org
- #+BEGIN_SRC makefile :tangle Makefile :noweb tangle
+#+BEGIN_SRC makefile :tangle Makefile :noweb yes
#+END_SRC
instead of, /e.g./,
#+BEGIN_SRC org
- #+BEGIN_SRC makefile :tangle ../../Makefile :noweb tangle
+#+BEGIN_SRC makefile :tangle ../../Makefile :noweb yes
#+END_SRC
- ~CLEODIR~ ::
@@ -150,8 +150,7 @@ dependency.
default: init-log build
init-log:
- @echo "===========[CLEOPATRA BUILD LOG]===========" \
- > build.log
+ @rm -f build.log
.PHONY: init-log default build
#+END_SRC
diff --git a/site/cleopatra/Soupault.org b/site/cleopatra/Soupault.org
index 396f421..c5e1062 100644
--- a/site/cleopatra/Soupault.org
+++ b/site/cleopatra/Soupault.org
@@ -257,7 +257,8 @@ function generate_json () {
echo "{"
echo " \"file\" : \"${file}\","
- echo " \"history\" : $(generate_history_json "${file}")"
+ echo " \"history\" :"
+ echo " $(generate_history_json "${file}")"
echo "}"
}
@@ -273,13 +274,16 @@ rm ${tmp_file}
<details class="history">
<summary>Revisions</summary>
<p>
- This revisions table has been automatically generated from
- <a href="<<repo>>">the
- <code>git</code> history of this website repository</a>,
- and the change descriptions may not always be as useful as
- they should. You can consult the source of this file
- in its current version
- <a href="<<repo>>/tree/{{file}}">here</a>.
+ This revisions table has been automatically generated
+ from <a href="<<repo>>">the <code>git</code> history
+ of this website repository</a>, and the change
+ descriptions may not always be as useful as they
+ should.
+ </p>
+
+ <p>
+ You can consult the source of this file in its current
+ version <a href="<<repo>>/tree/{{file}}">here</a>.
</p>
<table>
@@ -328,7 +332,7 @@ rm ${tmp_file}
[widgets.generate-history]
widget = "preprocess_element"
selector = "#history"
- command = "./scripts/history.sh \"templates/history.html\""
+ command = 'scripts/history.sh templates/history.html'
action = "replace_content"
#+END_SRC
diff --git a/site/cleopatra/Theme.org b/site/cleopatra/Theme.org
index 5a30588..acabf20 100644
--- a/site/cleopatra/Theme.org
+++ b/site/cleopatra/Theme.org
@@ -132,7 +132,7 @@ body#default
width: 125px
main
- max-width: 550px
+ max-width: 600px
margin: auto
padding: 0em 1em 1em 1em
font-size: 130%