Skip to content

Commit 2a5e528

Browse files
Fixed warnings with software list when building locally (#980)
* Fixed warnings with software list when building locally * Swapped to to src
1 parent dd5b01f commit 2a5e528

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,8 @@ def copy_sw_file(app, exception):
126126
src = '/tmp/software_list_group.json'
127127
dest = os.path.join(app.builder.outdir, 'software/software_list/', 'software_list_group.json')
128128

129-
shutil.copy(src, dest)
129+
if os.path.exists(src):
130+
shutil.copy(src, dest)
130131

131132
def setup(app):
132133
'''Function to setup sphinx customizations.'''

software/software_list/index.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ the most recent scan, but has been seen previously in the last 60 days. A
1515
module with the tag ``e4s`` gets its Spack build recipe from the Extreme-Scale
1616
Scientific Software Stack (E4S).
1717

18-
|
1918
.. _Module Usage Example:
2019

2120
**Module Usage Example**

0 commit comments

Comments
 (0)