diff options
author | Omar Polo <op@omarpolo.com> | 2022-01-28 13:34:15 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2022-01-28 13:34:15 +0000 |
commit | 1b626eae837ad61f2cd56fbd310ab9397b522c3a (patch) | |
tree | 0522203b5a4163852e35281bd43d9517da5840e7 /site | |
parent | 151af94ebac619594e1f4599e395b8946cb47d32 (diff) |
define TREE to shorten some url a bit
for the time being keep the https:// url, gmnigit renames file without
extension to .txt (i.e. Dockerfile -> Dockerfile.txt) so linking via
gemini is broken :/
Diffstat (limited to 'site')
-rw-r--r-- | site/Makefile | 3 | ||||
-rw-r--r-- | site/contrib.gmi | 12 |
2 files changed, 8 insertions, 7 deletions
diff --git a/site/Makefile b/site/Makefile index 7431a63..3bb10cc 100644 --- a/site/Makefile +++ b/site/Makefile @@ -17,7 +17,8 @@ REPOLOGY_URL = https://repology.org/project/gmid/versions SUBST = ./subst GITHUB=https://github.com/omar-polo/gmid \ VERS=1.7.5 \ CURV=1.7 \ - NEXTV=1.8 + NEXTV=1.8 \ + TREE=https://git.omarpolo.com/gmid/tree SUBST_GEM = ${SUBST} MANEXT=txt EXT=gmi REPOLOGY=${REPOLOGY_URL} SUBST_WWW = ${SUBST} MANEXT=html EXT=html REPOLOGY=${REPOLOGY_BANNER} diff --git a/site/contrib.gmi b/site/contrib.gmi index 59721e3..050c2d1 100644 --- a/site/contrib.gmi +++ b/site/contrib.gmi @@ -4,7 +4,7 @@ This directory is for additional contributed files which may be useful. ## Dockerfile -=> https://git.omarpolo.com/gmid/tree/contrib/Dockerfile contrib/Dockerfile +=> TREE/contrib/Dockerfile contrib/Dockerfile A sample Dockerfile. The resulting image is a classic alpine linux image with a statically linked gmid installed as /bin/gmid. Build the image with: @@ -24,13 +24,13 @@ and then run it with something along the lines of: ## gencert -=> https://git.omarpolo.com/gmid/tree/contrib/gencert contrib/gencert +=> TREE/contrib/gencert contrib/gencert contrib/gencert is a simple script to generate self-signed certificates. ## OpenBSD rc file -=> https://git.omarpolo.com/gmid/tree/contrib/gmid contrib/gmid +=> TREE/contrib/gmid contrib/gmid contrib/gmid is a sample service file for OpenBSD rc(8). To install it: @@ -42,7 +42,7 @@ then the usual ‘rcctl [start|stop|enable|restart] gmid’ are available. ## systemd unit file -=> https://git.omarpolo.com/gmid/tree/contrib/gmid.service contrib/gmid.service +=> TREE/contrib/gmid.service contrib/gmid.service A simple service file for systemd. To install it @@ -68,7 +68,7 @@ Some things to keep in mind: ## renew certificates automatically -=> https://git.omarpolo.com/gmid/tree/contrib/renew-certs contrib/renew-certs +=> TREE/contrib/renew-certs contrib/renew-certs NB: this script requires features that are currently available only in the master branch. @@ -78,7 +78,7 @@ Read the documentation with: perldoc renew-certs ## vim syntax files -=> https://git.omarpolo.com/gmid/tree/contrib/vim contrib/vim +=> TREE/contrib/vim contrib/vim contrib/vim contains a syntax highlighting for vim. To install it, just copy the files to ~/.vim or to /usr/share/vim/vimfiles, e.g.: |