-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathznai.rb
More file actions
18 lines (15 loc) · 744 Bytes
/
znai.rb
File metadata and controls
18 lines (15 loc) · 744 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
class Znai < Formula
desc "Build functional, maintainable, beautiful User Guides with Znai. Instant pages navigation. Local search. Multiple integrations to work with Python, Java, OpenAPI, etc. Transform \"getting started\" sections into slideshow for your workshops. Enterprise Docs Hub."
homepage "https://github.com/testingisdocumenting/znai"
url "https://repo.maven.apache.org/maven2/org/testingisdocumenting/znai/znai-dist/1.76/znai-dist-1.76-znai.zip"
sha256 "f85b8010e102fc927c5448743b6215c495f125904791d3ea35168c557fd1808c"
version "1.76"
depends_on "java"
def install
inreplace ["znai"] do |s|
s.gsub! /\$CWD\/lib\/\*/,"#{libexec}/lib/*"
end
bin.install "znai"
libexec.install Dir["*"]
end
end