tweaks to cross-referenced code/rfc html pages

- show commit hash, with a link to the commit
- highlight if this is the dev or released version page
- sort the rfc's, the list in rfc/index.txt has the major rfc's at the topic, but this nuance is lost in the html page
This commit is contained in:
Mechiel Lukkien
2023-11-13 14:12:40 +01:00
parent e24e1bee19
commit bcb80c3598
2 changed files with 25 additions and 7 deletions

View File

@ -7,4 +7,4 @@ link:
go run -tags link link.go -- ../*.go ../*/*.go
xr:
go run xr.go -- xr-dev $$(git tag | tail -n1) ../*.go ../*/*.go
go run xr.go -- xr-dev $$(git rev-parse --short HEAD) $$(git tag | tail -n1) ../*.go ../*/*.go