Skip to content
Permalink
Browse files

remove unnecessary files, modifies the clean option when generating help

  • Loading branch information...
sdpython committed Jul 27, 2014
1 parent 461a88b commit e7012417162c9513b209c3aba09350dfb00a5d8a
Showing with 6 additions and 350 deletions.
  1. +0 −153 _doc/sphinxdoc/Makefile
  2. +0 −190 _doc/sphinxdoc/make.bat
  3. +6 −7 src/pyquickhelper/helpgen/sphinx_main.py

This file was deleted.

This file was deleted.

@@ -192,14 +192,7 @@ def generate_help_sphinx ( project_var_name,
if not os.path.exists (docpath) :
raise FileNotFoundError(docpath)

if sys.platform == "win32" :
make = os.path.join(docpath, "make.bat")
if not os.path.exists(make) : raise FileNotFoundError(make)

os.chdir (docpath)
if clean :
cmd = "make.bat clean".split ()
run_cmd (cmd, wait = True)

cmds=[]
lays = []
@@ -212,6 +205,12 @@ def generate_help_sphinx ( project_var_name,
if lay == "pdf":
lay = "latex"

if clean :
cmd = r"for /d %%i in ({0}\*) do rmdir /q /s %%i".format(build)
run_cmd (cmd, wait = True)
cmd = r"del /q /s {0}\*".format(build)
run_cmd (cmd, wait = True)

over = [ " -D {0}={1}".format(k,v) for k,v in override.items() ]
over = "".join(over)

0 comments on commit e701241

Please sign in to comment.
You can’t perform that action at this time.