Static site generator updates

Tucker McKnight <[email protected]> Sun, 13 Apr 2025 19:34:44 -0600
Newsgroups gmane.comp.version-control.darcs.user
Message-ID <CAE1hpOhqQtHp05PRTywmx9PMqNO24LyHO-PfCX=q3fgz3hKbpQ@mail.gmail.com>
--===============1129854888517906499==
Content-Type: multipart/alternative; boundary="0000000000002f33520632b30f02"

--0000000000002f33520632b30f02
Content-Type: text/plain; charset="UTF-8"

Hi everyone, thanks for the feedback on my last message about making a
static website for browsing a darcs repository. It was great to see that
other people are also interested in static websites.

I've pushed up a bunch of changes since then that I wanted to share. You
can see them in effect here:
https://repos.tuckerm.us/repos/eleventy-darcs/branches/main

Summary of the changes:

- Use Bootstrap UI library
- Branches, which are separate repos grouped under the same project name
- Ability to change between branches in the top nav
- Sidebar on the main page that shows recent patches
- An RSS feed of recent patches (got this idea from Jens' https://smeder.ee)
- Syntax highlighting on files and diff views
- Option to view diffs side-by-side or stacked on top of each other
- Light mode and dark mode

In the previous thread, Max mentioned darcs' unique ability to pull the
intersection of multiple repos. (Great explanation on his blog here:
https://blog.worldmaker.net/2008/aug/10/darcs-workflow-completely-distributed-pull-only-wo/)
I was going to implement something like that before posing another update
here, but I kind of got into these UI changes over the last couple of weeks
and wanted to share what I'd done so far. I think implementing some
configurable "rules for how to build/pull the repo" will be my next step.
Creating the concept of branches was a prerequisite for this, and it does
have that now.

I'm also looking forward to repackaging this as an 11ty plugin, so that
anyone with an 11ty blog can easily add this to their existing website.
(This project itself is currently a standalone 11ty website, but I think
all of it can be implemented as a plugin.) That was also part of my
decision for using Bootstrap -- anyone already using a customized Bootstrap
stylesheet for their site should be able to have this automatically fit the
look of their own site.

Thanks for taking a look! I'd love to hear any feedback and ideas you have.

-Tucker

--0000000000002f33520632b30f02
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hi everyone, thanks for the feedback on my last messa=
ge about making a static website for browsing a darcs repository. It was gr=
eat to see that other people are also interested in static websites.</div><=
div><br></div><div>I&#39;ve pushed up a bunch of changes since then that I =
wanted to share. You can see them in effect here: <a href=3D"https://repos.=
tuckerm.us/repos/eleventy-darcs/branches/main">https://repos.tuckerm.us/rep=
os/eleventy-darcs/branches/main</a></div><div><br></div><div>Summary of the=
 changes:</div><div><br></div><div>- Use Bootstrap UI library</div><div>- B=
ranches, which are separate repos grouped under the same project name<br></=
div><div>- Ability to change between branches in the top nav</div><div><div=
>- Sidebar on the main page that shows recent patches</div><div>- An RSS fe=
ed of recent patches (got this idea from Jens&#39; <a href=3D"https://smede=
r.ee">https://smeder.ee</a>)</div></div><div>- Syntax highlighting on files=
 and diff views</div><div>- Option to view diffs side-by-side or stacked on=
 top of each other</div><div>- Light mode and dark mode</div><div><br></div=
><div>In the previous thread, Max mentioned darcs&#39; unique ability to pu=
ll the intersection of multiple repos. (Great explanation on his blog here:=
 <a href=3D"https://blog.worldmaker.net/2008/aug/10/darcs-workflow-complete=
ly-distributed-pull-only-wo/">https://blog.worldmaker.net/2008/aug/10/darcs=
-workflow-completely-distributed-pull-only-wo/</a>) I was going to implemen=
t something like that before posing another update here, but I kind of got =
into these UI changes over the last couple of weeks and wanted to share wha=
t I&#39;d done so far. I think implementing some configurable &quot;rules f=
or how to build/pull the repo&quot; will be my next step. Creating the conc=
ept of branches was a prerequisite for this, and it does have that now.<br>=
</div><div><br></div><div>I&#39;m also looking forward to repackaging this =
as an 11ty plugin, so that anyone with an 11ty blog can easily add this to =
their existing website. (This project itself is currently a standalone 11ty=
 website, but I think all of it can be implemented as a plugin.) That was a=
lso part of my decision for using Bootstrap -- anyone already using a custo=
mized Bootstrap stylesheet for their site should be able to have this autom=
atically fit the look of their own site.</div><div><br></div><div>Thanks fo=
r taking a look! I&#39;d love to hear any feedback and ideas you have.</div=
><div><br></div><div>-Tucker<br></div></div>

--0000000000002f33520632b30f02--

--===============1129854888517906499==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
darcs-users mailing list
[email protected]
https://lists.darcs.net/mailman/listinfo/darcs-users

--===============1129854888517906499==--