overrides

This commit is contained in:
Judah Caruso 2026-01-28 20:15:59 -07:00
parent 4fbc344b1d
commit f36f8b799d
3 changed files with 59 additions and 0 deletions

55
docs/main.go Normal file
View file

@ -0,0 +1,55 @@
<html>
<head>
<title>File Precedence</title>
<style>
body {
padding: 1em 0 2em 0;
max-width: 750px;
font-size: 115%;
line-height: 1.4;
margin: 0 auto;
}
h1, h2 {
font-weight: bold;
margin-bottom: 0px;
border-bottom: 1px solid;
}
p {
text-align: justify;
}
pre {
padding-left: 20px;
}
pre code {
white-space: pre-wrap;
}
table {
border-collapse: collapse;
width: 100%;
margin-top: 1em;
margin-bottom: 1em;
}
table caption {
padding: 0.5em;
text-align: left;
caption-side: top;
background-color: #eee;
}
th, td {
text-align: left;
border: none;
padding: 0.5rem;
}
thead th {
border-bottom: 2px solid #ddd;
font-weight: bold;
}
tbody tr {
border-bottom: 1px solid #eee;
}
</style>
</head>
<body>
<h1>File Precedence</h1><p>See, this file took precedence over the real <code>main.go</code> file in the repository.</p>
</body>
</html>

3
docs/main.riv Normal file
View file

@ -0,0 +1,3 @@
FILE PRECEDENCE
See, this file took precedence over the real `main.go` file in the repository.

View file

@ -1,4 +1,5 @@
//go:generate go run git.brut.systems/judah/rivit2html@latest docs/index.riv
//go:generate go run git.brut.systems/judah/rivit2html@latest docs/main.riv docs/main.go
package main
import (