X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=build.py;h=10c047597a534ca9980a76d8c787928052b961b8;hb=9d0b0c6d46189523b75a8342b3534fd57adab4ea;hp=980ececb386e34dcb061ccae953e4dbfeb40e7f2;hpb=f1607b3d2534e99ad5b8e1f38cd0296a891412c2;p=ardour-manual diff --git a/build.py b/build.py index 980ecec..10c0475 100755 --- 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!