Skip to content

Commit 6bf68bd

Browse files
Link the example repo from the readme and site
Add an example section pointing at github.com/lorevcs/lore-example. Switch the site linkifier to a generic url rule so lore-example is not mangled by the lore prefix. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 7f8d14f commit 6bf68bd

2 files changed

Lines changed: 9 additions & 4 deletions

File tree

README

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,12 @@ use
8585
lore materialize --ref 4b6f04 -o BRIEF.txt
8686

8787

88+
example
89+
a worked example: an agent builds a feature from intent alone.
90+
91+
https://github.com/lorevcs/lore-example
92+
93+
8894
storage
8995
everything sits under .lore, laid out like git:
9096

build-site.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ cat > "$out/_headers" <<'EOF'
1919
content-type: text/plain; charset=utf-8
2020
EOF
2121

22-
# the landing page is the README, escaped and dropped into a <pre>, with the
23-
# two urls linkified. same copy, same monospace look.
22+
# the landing page is the README, escaped and dropped into a <pre>, with any
23+
# urls linkified. same copy, same monospace look.
2424
{
2525
cat <<'EOF'
2626
<!doctype html>
@@ -55,8 +55,7 @@ EOF
5555
<main><pre>
5656
EOF
5757
sed -e 's/&/\&amp;/g' -e 's/</\&lt;/g' -e 's/>/\&gt;/g' \
58-
-e 's#https://lorevcs.com/install.sh#<a href="https://lorevcs.com/install.sh">https://lorevcs.com/install.sh</a>#g' \
59-
-e 's#https://github.com/lorevcs/lore#<a href="https://github.com/lorevcs/lore">https://github.com/lorevcs/lore</a>#g' \
58+
-e 's#\(https://[^ ]*\)#<a href="\1">\1</a>#g' \
6059
README
6160
cat <<'EOF'
6261
</pre></main>

0 commit comments

Comments
 (0)