Skip to content

Commit

Permalink
Update NXDL structure graphics for #474
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterC-DLS committed Mar 29, 2021
1 parent d41a5c7 commit 41d7ba5
Show file tree
Hide file tree
Showing 19 changed files with 6 additions and 5 deletions.
Binary file removed manual/source/img/nxdl/nxdl_attribute.jpg
Binary file not shown.
Binary file added manual/source/img/nxdl/nxdl_attribute.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed manual/source/img/nxdl/nxdl_definition.jpg
Binary file not shown.
Binary file added manual/source/img/nxdl/nxdl_definition.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed manual/source/img/nxdl/nxdl_dimensions.jpg
Binary file not shown.
Binary file added manual/source/img/nxdl/nxdl_dimensions.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed manual/source/img/nxdl/nxdl_doc.jpg
Binary file not shown.
Binary file added manual/source/img/nxdl/nxdl_doc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed manual/source/img/nxdl/nxdl_enumeration.jpg
Binary file not shown.
Binary file added manual/source/img/nxdl/nxdl_enumeration.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed manual/source/img/nxdl/nxdl_field.jpg
Binary file not shown.
Binary file added manual/source/img/nxdl/nxdl_field.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed manual/source/img/nxdl/nxdl_group.jpg
Binary file not shown.
Binary file added manual/source/img/nxdl/nxdl_group.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed manual/source/img/nxdl/nxdl_link.jpg
Binary file not shown.
Binary file added manual/source/img/nxdl/nxdl_link.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed manual/source/img/nxdl/nxdl_symbols.jpg
Binary file not shown.
Binary file added manual/source/img/nxdl/nxdl_symbols.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 6 additions & 5 deletions utils/nxdl_desc2rst.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,13 +411,14 @@ def addFigure(name, indentLevel=0):
Graphical representation of the NXDL ``%s`` element
.. Images of NXDL structure are generated from nxdl.xsd source
using the oXygen XML Editor. Open the nxdl.xsd file and choose the
"Design" tab. Identify the structure to be documented and expand
as needed to show the detail. Right click and select "Save as Image ..."
Set the name: "nxdl_%s.jpg" and move the file into the correct location using
using the Eclipse XML Schema Editor (Web Tools Platform). Open the nxdl.xsd file and choose the
"Design" tab. Identify the structure to be documented and double-click to expand
as needed to show the detail. Use the XSD > "Export Diagram as Image ..." menu item (also available
as button in top toolbar).
Set the name: "nxdl_%s.png" and move the file into the correct location using
your operating system's commands. Commit the revision to version control.
'''
imageFile = 'img/nxdl/nxdl_%s.jpg' % name
imageFile = 'img/nxdl/nxdl_%s.png' % name
figure_id = 'fig.nxdl_%s' % name
if not os.path.exists(os.path.abspath(imageFile)):
return
Expand Down

0 comments on commit 41d7ba5

Please sign in to comment.