Skip to content

Commit

Permalink
Merge pull request #286 from UffizziCloud/feature/281_fix_man_pages_f…
Browse files Browse the repository at this point in the history
…or_binaries

Feature/281 fix man pages for binaries
  • Loading branch information
moklidia authored Jul 31, 2023
2 parents c500b98 + edf8fd8 commit bd9812c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
1 change: 0 additions & 1 deletion .github/workflows/create-github-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ on:
push:
tags:
- 'v*.*.*'

env:
RELEASE_VERSION: ${{ github.ref_name }}
LINUX_BIN_PATH: uffizzi-${{ github.ref_name }}-linux-x86_64
Expand Down
3 changes: 0 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ RUN apk --update add --no-cache \
ruby-json \
openssl \
groff \
mandoc \
man-pages \
bash \
vim

Expand All @@ -35,7 +33,6 @@ RUN bundle exec rake install
FROM ruby:3.0.3 AS shell

RUN apt-get update && apt-get install -y \
man-db \
vim \
bash \
&& rm -rf /var/lib/apt/lists/*
Expand Down
4 changes: 2 additions & 2 deletions lib/uffizzi/cli/common.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ module Uffizzi
class Cli::Common
class << self
def show_manual(command_name)
manual_doc_path = File.join(Uffizzi.root, "man/#{command_name}")
manual_doc_path = File.join(Uffizzi.root, "man/#{command_name}.ronn")

Open3.pipeline("man #{manual_doc_path}")
Uffizzi.ui.say(File.read(manual_doc_path))
end
end
end
Expand Down

0 comments on commit bd9812c

Please sign in to comment.