Skip to content

Commit

Permalink
Restore doc-name script.
Browse files Browse the repository at this point in the history
  • Loading branch information
kinyoklion committed Aug 29, 2023
1 parent d90c7d9 commit b8a725b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scripts/doc-name.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Given a path get the name for the documentation.
# ./scripts/doc-name.sh packages/sdk/server-node
# Produces something like:
# LaunchDarkly Server-Side SDK for Node.js (0.1.0)

set -e

node -p "let pj = require('./$1/package.json');\`\${pj.description} (\${pj.version})\`";

0 comments on commit b8a725b

Please sign in to comment.