feat: add target to bibxml-ids (#5148)
This commit is contained in:
parent
182158b5c0
commit
9ea8523e85
|
@ -1207,5 +1207,5 @@ def bibxml_for_draft(doc, rev=None):
|
|||
if name.startswith('rfc'): # bibxml3 does not speak of RFCs
|
||||
raise Http404()
|
||||
|
||||
return render_to_string('doc/bibxml.xml', {'name':name, 'doc':doc, 'doc_bibtype':'I-D'})
|
||||
return render_to_string('doc/bibxml.xml', {'name':name, 'doc':doc, 'doc_bibtype':'I-D', 'settings':settings})
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<reference anchor="{{doc_bibtype}}.{{name|slice:"6:"}}">
|
||||
<reference anchor="{{doc_bibtype}}.{{name|slice:"6:"}}" target="{{ settings.IDTRACKER_BASE_URL }}{% url "ietf.doc.views_doc.document_html" name=doc.name rev=doc.rev %}">
|
||||
<front>
|
||||
<title>{{doc.title}}</title>{% for author in doc.documentauthor_set.all %}
|
||||
<author initials="{{ author.person.initials }}" surname="{{ author.person.last_name }}" fullname="{{ author.person.name }}">
|
||||
|
|
Loading…
Reference in a new issue