Skip to content

Commit

Permalink
Add go-imports meta to man page html
Browse files Browse the repository at this point in the history
  • Loading branch information
Marko Mikulicic committed Jul 6, 2020
1 parent fdc4049 commit e2954f8
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
4 changes: 2 additions & 2 deletions man/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ FROM debian/snapshot:stable-20200514@sha256:9f279047515d9326c449625f733b98506e11
RUN apt-get update && apt-get install -y --no-install-recommends mandoc
RUN mkdir -p /app

COPY knot8.1 /
RUN mandoc -Thtml -Ostyle=/mandoc.css /knot8.1 >/app/index.html
COPY knot8.1 header.html footer.html /
RUN (cat /header.html; mandoc -Thtml -Ostyle=/mandoc.css -O fragment /knot8.1; cat /footer.html )>/app/index.html


FROM bitnami/nginx:1.18-debian-10@sha256:1a91023478eb0e97e4f0ff57a60d8b7c6d0b8dbdad798380c1bac8b43c63f0eb
Expand Down
2 changes: 2 additions & 0 deletions man/footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
</body>
</html>
9 changes: 9 additions & 0 deletions man/header.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<link rel="stylesheet" href="mandoc.css" type="text/css" media="all"/>
<meta name="go-import" content="knot8.io git https://github.com/mkmik/knot8">
<title>KNOT8(1)</title>
</head>
<body>

0 comments on commit e2954f8

Please sign in to comment.