Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mantid
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mantidproject
mantid
Commits
cedc8326
Commit
cedc8326
authored
6 years ago
by
Gigg, Martyn Anthony
Browse files
Options
Downloads
Patches
Plain Diff
Fix DOI link in release notes generator
parent
189df421
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/release_generator/release.py
+3
-3
3 additions, 3 deletions
tools/release_generator/release.py
with
3 additions
and
3 deletions
tools/release_generator/release.py
+
3
−
3
View file @
cedc8326
...
@@ -47,8 +47,8 @@ Citation
...
@@ -47,8 +47,8 @@ Citation
Please cite any usage of Mantid as follows: **TODO update with current version doi**
Please cite any usage of Mantid as follows: **TODO update with current version doi**
- *Mantid {version}: Manipulation and Analysis Toolkit for Instrument Data.; Mantid Project*. `doi: 10.5286/SOFTWARE/MANTID{version}
- *Mantid {version}: Manipulation and Analysis Toolkit for Instrument Data.; Mantid Project*. `doi: 10.5286/SOFTWARE/MANTID{version
_maj_min
}
<http://dx.doi.org/10.5286/SOFTWARE/MANTID{version}>`_
<http://dx.doi.org/10.5286/SOFTWARE/MANTID{version
_maj_min
}>`_
- Arnold, O. et al. *Mantid-Data Analysis and Visualization Package for Neutron Scattering and mu-SR Experiments.* Nuclear Instruments
- Arnold, O. et al. *Mantid-Data Analysis and Visualization Package for Neutron Scattering and mu-SR Experiments.* Nuclear Instruments
and Methods in Physics Research Section A: Accelerators, Spectrometers, Detectors and Associated Equipment 764 (2014): 156-166
and Methods in Physics Research Section A: Accelerators, Spectrometers, Detectors and Associated Equipment 764 (2014): 156-166
...
@@ -285,7 +285,7 @@ if __name__ == '__main__':
...
@@ -285,7 +285,7 @@ if __name__ == '__main__':
release_link
=
'
\n
:ref:`Release {0} <{1}>`
'
.
format
(
args
.
release
[
1
:],
args
.
release
)
release_link
=
'
\n
:ref:`Release {0} <{1}>`
'
.
format
(
args
.
release
[
1
:],
args
.
release
)
for
filename
in
DOCS
.
keys
():
for
filename
in
DOCS
.
keys
():
contents
=
DOCS
[
filename
].
format
(
milestone
=
args
.
milestone
,
version
=
args
.
release
[
1
:])
contents
=
DOCS
[
filename
].
format
(
milestone
=
args
.
milestone
,
version
=
args
.
release
[
1
:]
,
version_maj_min
=
args
.
release
[
1
:
-
2
]
)
filename
=
os
.
path
.
join
(
release_root
,
filename
)
filename
=
os
.
path
.
join
(
release_root
,
filename
)
print
(
'
making
'
,
filename
)
print
(
'
making
'
,
filename
)
with
open
(
filename
,
'
w
'
)
as
handle
:
with
open
(
filename
,
'
w
'
)
as
handle
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment