Skip to content
This repository has been archived by the owner on Jul 22, 2023. It is now read-only.

Commit

Permalink
add pdf output
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpython committed Apr 4, 2015
1 parent bc4c724 commit 84696f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions build_setup_help_on_windows.bat
Expand Up @@ -80,4 +80,5 @@ echo #######################################################
:copyfiles:
if not exist dist\html mkdir dist\html
xcopy /E /C /I /Y _doc\sphinxdoc\build\html dist\html
if exist _doc\sphinxdoc\build\latex xcopy /E /C /I /Y _doc\sphinxdoc\build\latex\*.pdf dist\html
if %errorlevel% neq 0 exit /b %errorlevel%
3 changes: 2 additions & 1 deletion setup.py
Expand Up @@ -174,7 +174,8 @@ def import_pyquickhelper():
fLOG(OutputPrint=True)
project_name = os.path.split(
os.path.split(os.path.abspath(__file__))[0])[-1]
generate_help_sphinx(project_name, module_name=project_var_name)
generate_help_sphinx(project_name, module_name=project_var_name,
layout=["pdf", "html"])

elif "unittests" in sys.argv:

Expand Down

0 comments on commit 84696f5

Please sign in to comment.