- Give <h[123]> a margin-bottom equal to <p> and a larger margin-top.
This sets them apart from the previous section but not the section they are
leading.
- Give the article list on category index pages alternating backgrounds, and
remove the on-hover background color.
- Various minor tweaks.
- Make the homepage an interactive page to generate an installation script.
- Move the other content into their individual pages.
- Add Repology badges for all individual package managers.
- Homepage revamp:
- Rewrite the homepage in a linear format of sections, with every other
section styled with full-width gray background.
- The first section is a short intro, with big buttons for "download" and
"learn".
- Create a new "case studies" page to house the explainers for the examples.
- Site-wide styles:
- Restyle code blocks and ttyshots, using a more subtle gray border box
instead of gray background.
- Support headers for code blocks and ttyshots, in a style that vaguely
resembles title bars of desktop windows. In Markdown sources, additional
content after the language tag becomes the header.
- Reorganize the global stylesheet and template, including using 2 spaces for
indentation and putting dark mode color rules next to the light mode rules.
- Change debug hotkey to toggle dark mode to Shift-D.
- Ttyshots:
- Handle trailing spaces in more places in the ttyshot tool - there seems to
be more of them in the latest tmux version.
- Base the ttyshot tool's parser on pkg/transcript.
- Support per-ttyshot cols and rows.
- Rename x.elvts and x.ttyshot.html to x-ttyshot.elvts and x-ttyshot.html.
- Change the syntax from "@ttyshot filename" to code block with a special
"ttyshot" language tag to work better with the header syntax.
The code for passing -buildmode=pie in buildall.sh didn't actually work -
"go env GOOS GOARCH" outputs two lines, while the grep pattern expects one line.
The buildall.elv script implements this correctly, and as a result this exposes
the fact that passing -buildmode=pie requires some extra work for
reproducibility - among other things, it causes the binaries to be dynamically
linked.
Just disable it for now to get reproducibility. We're not losing anything as
that was the (unintended) old behavior of buildall.sh anyway.
The first argument should point to a Go package.
Also change the pattern for sha256sum files to include all files ending in
.sha256sum, now that the archives have also been made reproducible.
The way -buildmode=pie is passed to Go has changed between buildall.sh and
buildall.elv (the former uses GOFLAGS, the latter adds it directly to the
command line), so the binaries are not fully reproducible between the two. Using
the same script should fix that.
Code blocks don't work well in godoc for variables because they render the same
as the "var Name = Value" blocks themselves, resulting in a confusing look.
Also make the instructions in PACKAGING.md even briefer, now that the full
instruction is available as a continuous prose in the godoc for pkg/buildinfo.
This construct is only used in two places - grouping numerical comparison
commands together and grouping string comparison commands together. However,
grouping them together makes it impossible to look up their individual elvdocs,
for example using "doc:show '<'", so abandon this half-baked grouping mechanism.
In future a more general mechanism to group symbols together may be introduced.
Document != and !=s as if they only take two arguments, addressing #1767. The
actual change will be done in a separate commit.
The Name field now contains the qualified name, with the "$" prefix for variables.
The Content field no longer contains the usage text for functions. That is now
stored in a separate Fn field, and the FullContent method now returns what used
to be the Content field.