Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
situx committed May 31, 2024
1 parent 0e17c2c commit a7e2293
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/sparqlunicorn_ontdoc/doc/docutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

from doc.docconfig import DocConfig
from datetime import date
from export.pages.bibpage import BibPage


class DocUtils:
Expand Down Expand Up @@ -393,13 +392,3 @@ def resolveOWLImports(graph):
except Exception as e:
print(e)
return graph


@staticmethod
def generateCitationLinkForURI(graph,uri):
bibtex=BibPage.resolveBibtexReference(graph.predicate_objects(URIRef(uri)),URIRef(uri),graph)
bibtex=bibtex[:bibtex.rfind('\n')]
bibtex+="\nurl=\""+str(uri)+"\","
bibtex+="\nnote=\"[Online; page generated "+str(datetime.today().strftime('%d-%m-%Y'))+"]\""
bibtex+="\n}"
return bibtex

0 comments on commit a7e2293

Please sign in to comment.