Skip to content

Commit

Permalink
docs: add pdf copyright
Browse files Browse the repository at this point in the history
  • Loading branch information
natesales committed Feb 24, 2022
1 parent d6ed5dd commit 9803055
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ curl -s https://raw.githubusercontent.com/natesales/pathvector-portal/main/READM
sed -i 's/# Pathvector Peering Portal/# Peering Portal/' docs/docs/portal.md

# Generate PDF documentation
echo Generating PDF

commit=$(git rev-list --tags --max-count=1)
version=$(git describe --tags "$commit" | cut -c2-)
Expand All @@ -47,6 +48,8 @@ for f in docs/docs/installation.md docs/docs/cli.md docs/docs/configuration.md;
sed '1 { /^---/ { :a N; /\n---/! ba; d} }' >> release_full.md < $f
done

echo "Copyright © 2022 Nate Sales" >> release_full.md

pandoc release_full.md \
-f gfm \
-V linkcolor:blue \
Expand Down

0 comments on commit 9803055

Please sign in to comment.