Skip to content
Snippets Groups Projects
Commit 98dda679 authored by Martyn Gigg's avatar Martyn Gigg
Browse files

Update doi scripts

- New author name
- Minor bug fix after release notes were migrated to docs
parent 8b09fe5e
No related branches found
No related tags found
No related merge requests found
......@@ -119,6 +119,7 @@ _translations = {
'Michael Hart' : 'Hart, Michael',
'Lamar Moore' : 'Moore, Lamar',
'LamarMoore' : 'Moore, Lamar',
'Moore' : 'Moore, Lamar',
'Tom Perkins' : 'Perkins, Tom',
'Jan Burle' : 'Burle, Jan',
'Duc Le' : 'Le, Duc'
......
......@@ -352,8 +352,14 @@ def get_urls_for_doi(version_str, shortened_version_str,
else:
prev_destination = sphinx_rel_notes_url.format('nightly', 'v'+ prev_version_str)
elif minor == 6:
destination = sphinx_rel_notes_url.format('nightly', 'v'+ version_str)
prev_destination = sphinx_rel_notes_url.format('nightly', 'v'+ prev_version_str)
if patch >= 1:
destination = sphinx_rel_notes_url.format('v' + version_str, 'v'+ version_str)
else:
destination = sphinx_rel_notes_url.format('nightly', 'v'+ version_str)
if patch >= 2:
prev_destination = sphinx_rel_notes_url.format('v' + prev_version_str, 'v'+ prev_version_str)
else:
prev_destination = sphinx_rel_notes_url.format('nightly', 'v'+ prev_version_str)
else:
destination = wiki_rel_notes_url.format(shortened_version_str)
prev_destination = wiki_rel_notes_url.format(shortened_prev_version_str)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment