summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-11-29 11:24:10 +0100
committerxengineering <me@xengineering.eu>2024-11-29 11:24:10 +0100
commit082b42b256c6e791408134374ba2d807028707df (patch)
tree95d97687ccc16634106615378c54e65ef74d453d
parent0478c7ff651f25759dc240736ad5af048bd3106a (diff)
downloadwebsite-082b42b256c6e791408134374ba2d807028707df.tar
website-082b42b256c6e791408134374ba2d807028707df.tar.zst
website-082b42b256c6e791408134374ba2d807028707df.zip
Add commit to Go source tags
This makes sure always the correct source code revision is selected for links from the API doc to source code.
-rw-r--r--content/ceres2
-rw-r--r--content/optional-go2
-rw-r--r--content/soundbox2
-rw-r--r--content/soundbox-app2
-rw-r--r--content/soundbox-go2
5 files changed, 5 insertions, 5 deletions
diff --git a/content/ceres b/content/ceres
index 3099c6f..833c237 100644
--- a/content/ceres
+++ b/content/ceres
@@ -1,7 +1,7 @@
<html>
<head>
<meta name="go-import" content="xengineering.eu/ceres git https://cgit.xengineering.eu/ceres">
- <meta name="go-source" content="xengineering.eu/ceres https://cgit.xengineering.eu/ceres https://cgit.xengineering.eu/ceres/tree{/dir} https://cgit.xengineering.eu/ceres/tree/{file}#n{line}">
+ <meta name="go-source" content="xengineering.eu/ceres https://cgit.xengineering.eu/ceres https://cgit.xengineering.eu/ceres/tree{/dir}?h={commit} https://cgit.xengineering.eu/ceres/tree/{file}?h={commit}#n{line}">
</head>
<body>
</body>
diff --git a/content/optional-go b/content/optional-go
index 7d9316c..233d268 100644
--- a/content/optional-go
+++ b/content/optional-go
@@ -1,7 +1,7 @@
<html>
<head>
<meta name="go-import" content="xengineering.eu/optional-go git https://cgit.xengineering.eu/optional-go">
- <meta name="go-source" content="xengineering.eu/optional-go https://cgit.xengineering.eu/optional-go https://cgit.xengineering.eu/optional-go/tree{/dir} https://cgit.xengineering.eu/optional-go/tree/{file}#n{line}">
+ <meta name="go-source" content="xengineering.eu/optional-go https://cgit.xengineering.eu/optional-go https://cgit.xengineering.eu/optional-go/tree{/dir}?h={commit} https://cgit.xengineering.eu/optional-go/tree/{file}?h={commit}#n{line}">
</head>
<body>
</body>
diff --git a/content/soundbox b/content/soundbox
index e39dda6..a2db969 100644
--- a/content/soundbox
+++ b/content/soundbox
@@ -1,7 +1,7 @@
<html>
<head>
<meta name="go-import" content="xengineering.eu/soundbox git https://cgit.xengineering.eu/soundbox-go">
- <meta name="go-source" content="xengineering.eu/soundbox https://cgit.xengineering.eu/soundbox https://cgit.xengineering.eu/soundbox/tree{/dir} https://cgit.xengineering.eu/soundbox/tree/{file}#n{line}">
+ <meta name="go-source" content="xengineering.eu/soundbox https://cgit.xengineering.eu/soundbox https://cgit.xengineering.eu/soundbox/tree{/dir}?h={commit} https://cgit.xengineering.eu/soundbox/tree/{file}?h={commit}#n{line}">
</head>
<body>
</body>
diff --git a/content/soundbox-app b/content/soundbox-app
index cd9d2e8..c14510f 100644
--- a/content/soundbox-app
+++ b/content/soundbox-app
@@ -1,7 +1,7 @@
<html>
<head>
<meta name="go-import" content="xengineering.eu/soundbox-app git https://cgit.xengineering.eu/soundbox-app">
- <meta name="go-source" content="xengineering.eu/soundbox-app https://cgit.xengineering.eu/soundbox-app https://cgit.xengineering.eu/soundbox-app/tree{/dir} https://cgit.xengineering.eu/soundbox-app/tree/{file}#n{line}">
+ <meta name="go-source" content="xengineering.eu/soundbox-app https://cgit.xengineering.eu/soundbox-app https://cgit.xengineering.eu/soundbox-app/tree{/dir}?h={commit} https://cgit.xengineering.eu/soundbox-app/tree/{file}?h={commit}#n{line}">
</head>
<body>
</body>
diff --git a/content/soundbox-go b/content/soundbox-go
index 5129ce9..b3c62cc 100644
--- a/content/soundbox-go
+++ b/content/soundbox-go
@@ -1,7 +1,7 @@
<html>
<head>
<meta name="go-import" content="xengineering.eu/soundbox-go git https://cgit.xengineering.eu/soundbox-go">
- <meta name="go-source" content="xengineering.eu/soundbox-go https://cgit.xengineering.eu/soundbox-go https://cgit.xengineering.eu/soundbox-go/tree{/dir} https://cgit.xengineering.eu/soundbox-go/tree/{file}#n{line}">
+ <meta name="go-source" content="xengineering.eu/soundbox-go https://cgit.xengineering.eu/soundbox-go https://cgit.xengineering.eu/soundbox-go/tree{/dir}?h={commit} https://cgit.xengineering.eu/soundbox-go/tree/{file}?h={commit}#n{line}">
</head>
<body>
</body>