Satish Balay avatar Satish Balay committed 2838261

*** empty log message ***

Comments (0)

Files changed (1)

maint/update-docs.py

 #!/usr/bin/env python1.5
 #!/bin/env python1.5
-# $Id: update-docs.py,v 1.4 2000/03/27 19:43:35 balay Exp balay $ 
+# $Id: update-docs.py,v 1.5 2000/10/09 15:28:41 balay Exp balay $ 
 #
 # update-docs.py DOCS_DIR
 import os
 
     outbuf = '<html>\n<body BGCOLOR="FFFFFF">\n' + header + '\n' + body + '</body>\n</html>\n'
 
-    #fix http://www-unix.mcs.anl.gov/petsc/docs
-    w = re.compile(r'http://www-unix.mcs.anl.gov/petsc/docs/')
+    #fix http://www-unix.mcs.anl.gov/petsc/petsc-current/docs
+    w = re.compile(r'http://www-unix.mcs.anl.gov/petsc/petsc-current/docs/')
     outbuf = w.sub('',outbuf)
 
-    #fix http://www-unix.mcs.anl.gov/petsc/include (for petscversion.h)
-    w = re.compile(r'http://www-unix.mcs.anl.gov/petsc/include/')
+    #fix http://www-unix.mcs.anl.gov/petsc/petsc-current/include (for petscversion.h)
+    w = re.compile(r'http://www-unix.mcs.anl.gov/petsc/petsc-current/include/')
     outbuf = w.sub('',outbuf)
 
     # now revert all the links to the splitmanuals back to the website
     w = re.compile(r'splitmanual/')
-    outbuf = w.sub('http://www-unix.mcs.anl.gov/petsc/docs/splitmanual/',outbuf)
+    outbuf = w.sub('http://www-unix.mcs.anl.gov/petsc/petsc-current/docs/splitmanual/',outbuf)
     
     # Now overwrite the original file 
     outfilename = filename
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.