Skip to content

Commit

Permalink
templating tests
Browse files Browse the repository at this point in the history
  • Loading branch information
situx committed Dec 5, 2023
1 parent 0bc922e commit b700244
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docgeneration.py
Original file line number Diff line number Diff line change
Expand Up @@ -455,9 +455,9 @@ def generateOntDocForNameSpace(self, prefixnamespace,dataformat="HTML"):
.replace("{{classtreefolderpath}}",corpusid + "_classtree.js").replace("{{baseurlhtml}}", "").replace("{{nonnslink}}","").replace("{{scriptfolderpath}}", corpusid + "_search.js").replace("{{exports}}",templates["nongeoexports"]).replace("{{versionurl}}",DocConfig.versionurl).replace("{{version}}",DocConfig.version).replace("{{bibtex}}","").replace("{{proprelationpath}}","proprelations.js")
sparqlhtml+=templates["sparqltemplate"]
sparqlhtml+=self.replaceStandardVariables(templates["footer"],"","0","false").replace("{{license}}",curlicense).replace("{{exports}}",templates["nongeoexports"]).replace("{{bibtex}}","")
with open( outpath+"sparql.html", 'w', encoding='utf-8') as f:
f.write(sparqlhtml)
f.close()
with open( outpath+"sparql.html", 'w', encoding='utf-8') as f:
f.write(sparqlhtml)
f.close()
if len(iiifmanifestpaths["default"])>0:
IIIFAPIExporter.generateIIIFCollections(self.outpath,self.deploypath,iiifmanifestpaths["default"],prefixnamespace)
if len(featurecollectionspaths)>0 and self.ckan:
Expand Down

0 comments on commit b700244

Please sign in to comment.