Skip to content

Commit

Permalink
Merge pull request #701 from nexusformat/datatype-consistency-307
Browse files Browse the repository at this point in the history
Clarify documentation to fix #307
  • Loading branch information
prjemian authored Jan 23, 2020
2 parents 3331a31 + d888548 commit bb6be52
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion manual/source/datarules.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ described by the following :index:`rules <rules; naming>`:

.. _RegExpName:

.. rubric:: Regular expression pattern for NXDL group and field names
.. rubric:: Regular expression pattern for NeXus group and field names

It is recommended that all group and field names
contain only these characters:
Expand Down
12 changes: 6 additions & 6 deletions manual/source/nxdl-types.rst
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
===================================
NXDL: Data Types and Units
===================================
==========================
NXDL Field Types and Units
==========================

.. index::
see: type; data type
! single: data type

.. _nxdl-types:

Data Types allowed in NXDL specifications
#########################################
Field Types allowed in NXDL specifications
##########################################

Data types for use in NXDL
Field types for use in NXDL
describe the expected type of data for a NeXus field. These terms are very
broad. More specific terms are used in actual NeXus data files that describe
size and array dimensions. In addition to the types in the following table, the
Expand Down
2 changes: 1 addition & 1 deletion nxdl.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -922,7 +922,7 @@
Type of the attribute.
For ``group`` specifications, the class name.
For ``field`` or ``attribute`` specifications,
the NXDL data type.
the NXDL field type.
</xs:documentation>
</xs:annotation>
</xs:attribute>
Expand Down
16 changes: 8 additions & 8 deletions utils/nxdl_desc2rst.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python

'''
Read the the NeXus NXDL types specification and find
Read the NXDL field types specification and find
all the valid data types. Write a restructured
text (.rst) document for use in the NeXus manual in
the NXDL chapter.
Expand Down Expand Up @@ -137,9 +137,9 @@
}

ELEMENT_PREAMBLE = '''
===============================
NXDL Elements and Data Types
===============================
=============================
NXDL Elements and Field Types
=============================
The documentation in this section has been obtained directly
from the NXDL Schema file: *nxdl.xsd*.
Expand Down Expand Up @@ -168,18 +168,18 @@
.. _NXDL.elements:
NXDL Elements
=================
=============
'''

DATATYPE_PREAMBLE = '''
.. _NXDL.data.types.internal:
NXDL Data Types (internal)
============================
NXDL Field Types (internal)
===========================
Data types that define the NXDL language are described here.
Field types that define the NXDL language are described here.
These data types are defined in the XSD Schema (``nxdl.xsd``)
and are used in various parts of the Schema to define common structures
or to simplify a complicated entry. While the data types are not intended for
Expand Down

0 comments on commit bb6be52

Please sign in to comment.