Skip to content

Commit

Permalink
Merge pull request #1241 from CityOfZion/CU-86dtaf4yf
Browse files Browse the repository at this point in the history
CU-86dtaf4yf - Fix Sphinx documentation generation
  • Loading branch information
meevee98 authored Apr 23, 2024
2 parents 18749c1 + ef91ce4 commit 10b77de
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/make-pdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,15 @@
if os.path.isdir(latex_build_dir):
shutil.rmtree(latex_build_dir)

print('\nChecking for MikTex updates...')
checkMiktexCmd = "miktex packages check-update"
os.system(checkMiktexCmd)

print('\nChecking for MikTex packages integrity...')
verifyMiktexCmd = "miktex packages verify"
os.system(verifyMiktexCmd)
print()

ext = '.bat' if sys.platform.startswith('win') else ''
os.system(f'{docs_dir}{os.sep}make{ext} latex')

Expand Down

0 comments on commit 10b77de

Please sign in to comment.