Skip to content

Commit

Permalink
add documentation files
Browse files Browse the repository at this point in the history
  • Loading branch information
DeborahVolpe committed Jun 3, 2024
1 parent 1b8b97f commit c77a921
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@
class CDAStyle(UnsrtStyle):
"""Custom style for including PDF links."""

def format_url(self, _e: Entry) -> HRef:
@staticmethod
def format_url( _e: Entry) -> HRef:
"""Format URL field as a link to the PDF."""
url = field("url", raw=True)
return href()[url, "[PDF]"]
Expand Down
2 changes: 1 addition & 1 deletion docs/refs.bib
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ @MISC{volpe2024towards
YEAR = {2024},
EPRINT = {},
EPRINTTYPE = {},
}
}

0 comments on commit c77a921

Please sign in to comment.