Skip to content

Commit

Permalink
docs: add latex to docs and publish pdf if exists (#2321)
Browse files Browse the repository at this point in the history
  • Loading branch information
smatting authored Apr 26, 2022
1 parent 2a94f99 commit 5f667d7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/5-internal/wire-docs-pdf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
docs: add latex to docs and publish pdf if exists
1 change: 1 addition & 0 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ docker-push:
.PHONY: push
push:
aws s3 sync $(BUILDDIR)/html s3://origin-docs.wire.com/
[[ -f $(BUILDDIR)/latex/main.pdf ]] && aws cp $(BUILDDIR)/latex/main.pdf s3://origin-docs.wire.com/main.pdf || exit 0

.PHONY: dev-run
dev-run: clean
Expand Down
2 changes: 1 addition & 1 deletion docs/nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ in
pkgs.zip
pkgs.gnumake
pkgs.entr
# pkgs.texlive.combined.scheme-full
pkgs.texlive.combined.scheme-full

(pkgs.python3.withPackages (ps: with ps; [ sphinx recommonmark rst2pdf sphinx-autobuild sphinxcontrib-fulltoc sphinxcontrib-kroki sphinx-multiversion sphinx_rtd_theme ]))
];
Expand Down

0 comments on commit 5f667d7

Please sign in to comment.