]> Shamusworld >> Repos - ardour-manual/blobdiff - build.py
Updated processor box and plugin manager pages; added images.
[ardour-manual] / build.py
index 980ececb386e34dcb061ccae953e4dbfeb40e7f2..10c047597a534ca9980a76d8c787928052b961b8 100755 (executable)
--- a/build.py
+++ b/build.py
@@ -322,11 +322,6 @@ if os.access(siteDir, os.F_OK):
 
 shutil.copytree('./source', siteDir)
 
-# Yeah, need to make a symlink in include/ too :-P
-# [this will go away when the rewrite happens]
-if (os.access('include/_manual', os.F_OK) == False):
-       os.symlink('../_manual/', 'include/_manual')
-
 
 # Read the template, and fix the stuff that's fixed for all pages
 temp = open('page-template.txt')
@@ -471,10 +466,8 @@ for header in fileStruct:
        page = page.replace('{% prevnext %}', prevnext)
        page = page.replace('{{ content }}', content + more)
 
-       # Create the directory for the index.html file to go into
-       # (we use makedirs, because we have to in order to accomadate the 'uri'
-       # keyword
-#      os.mkdir(siteDir + header['filename'], 0o775)
+       # Create the directory for the index.html file to go into (we use makedirs,
+       # because we have to in order to accomodate the 'uri' keyword)
        os.makedirs(siteDir + header['filename'], 0o775, exist_ok=True)
 
        # Finally, write the file!