From ef91ce4c6eecc4153ba9de6e6b9343c2f814bef9 Mon Sep 17 00:00:00 2001 From: luc10921 Date: Tue, 23 Apr 2024 11:36:33 -0300 Subject: [PATCH] CU-86dtaf4yf - Fix Sphinx documentation generation --- docs/make-pdf.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/make-pdf.py b/docs/make-pdf.py index 1d28faaf3..a4f3f111b 100644 --- a/docs/make-pdf.py +++ b/docs/make-pdf.py @@ -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')