summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2025-06-29 18:10:47 +0700
committerShulhan <ms@kilabit.info>2025-06-29 18:10:47 +0700
commit1f8f8801c48b75084f80e1614177480824572a07 (patch)
treee7c9567bca35cf2285e3ec702fcc69ab457872f5
parent1209f0f62dcb8809c11a833cfce99c1c1b8a39d6 (diff)
downloadkilabit.info-1f8f8801c48b75084f80e1614177480824572a07.tar.xz
all: add asciidoctor-go as git submodule as part of project
The _project directory contains the program that we wrote and publish. The _content/project directory contains symlink to the project documentation.
-rw-r--r--.gitmodules4
l---------_content/project/asciidoctor-go1
-rw-r--r--_content/project/index.adoc7
-rw-r--r--_content/template.gohtml7
m---------_project/src/asciidoctor-go0
5 files changed, 15 insertions, 4 deletions
diff --git a/.gitmodules b/.gitmodules
new file mode 100644
index 0000000..668b7d6
--- /dev/null
+++ b/.gitmodules
@@ -0,0 +1,4 @@
+[submodule "_project/src/asciidoctor-go"]
+ path = _project/src/asciidoctor-go
+ url = git@git.sr.ht:~shulhan/asciidoctor-go
+ branch = main
diff --git a/_content/project/asciidoctor-go b/_content/project/asciidoctor-go
new file mode 120000
index 0000000..db18150
--- /dev/null
+++ b/_content/project/asciidoctor-go
@@ -0,0 +1 @@
+../../_project/src/asciidoctor-go/_doc \ No newline at end of file
diff --git a/_content/project/index.adoc b/_content/project/index.adoc
index 65de8fa..428624a 100644
--- a/_content/project/index.adoc
+++ b/_content/project/index.adoc
@@ -1,8 +1,9 @@
Most of my personal projects is open source and available on my
-https://github.com/shuLhan[Github^]
+https://github.com/shuLhan[GitHub^]
and
-https://sr.ht/~shulhan[Sourcehut^].
+https://sr.ht/~shulhan[SourceHut^]
+pages.
=== asciidoctor-go
@@ -10,7 +11,7 @@ The asciidoctor-go is the Go module to parse the
https://asciidoctor.org/docs/what-is-asciidoc[AsciiDoc markup^]
and convert it into HTML5.
-https://sr.ht/~shulhan/asciidoctor-go/[Project page^]
+link:/project/asciidoctor-go/[Project page^]
=== awwan
diff --git a/_content/template.gohtml b/_content/template.gohtml
index 72140a5..ddd163a 100644
--- a/_content/template.gohtml
+++ b/_content/template.gohtml
@@ -29,6 +29,8 @@
Mastodon
</a>
|
+ <a href="/project/"> Projects </a>
+ |
<a href="https://sr.ht/~shulhan" target="_blank"> SourceHut </a>
</div>
</div>
@@ -41,7 +43,7 @@
<div class="footer">
<div>
- Copyright 2007-2024, Shulhan &lt;ms&#64;kilabit.info&gt;. All rights
+ Copyright 2007-2025, Shulhan &lt;ms&#64;kilabit.info&gt;. All rights
reserved.
</div>
<div>
@@ -51,3 +53,6 @@
</div>
</body>
</html>
+<!--
+vim: filetype=html :
+-->
diff --git a/_project/src/asciidoctor-go b/_project/src/asciidoctor-go
new file mode 160000
+Subproject 01256b3d68a37f44541d74cba195ffbcdbb3e6d