From 153901e03ef0634590f4a82ad0b4968d6ed07ef9 Mon Sep 17 00:00:00 2001 From: Yunkai <62042559+cuiyunkai@users.noreply.github.com> Date: Fri, 27 May 2022 00:54:58 -0700 Subject: [PATCH] Change some wording in the documentation. Change configurable to composable. Emphasize that a complex type can be created by composing types that have already been defined. --- docs/source/schema/basic_syntax.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/source/schema/basic_syntax.rst b/docs/source/schema/basic_syntax.rst index 388a48a..f0e5141 100644 --- a/docs/source/schema/basic_syntax.rst +++ b/docs/source/schema/basic_syntax.rst @@ -17,8 +17,7 @@ Portex provides the basic key ``type``. Its value means the type of data and pre string. The bulitin supported types can be found in :doc:`/schema/primitive_types` and :doc:`/schema/complex_types/index`. -The most important feature of Portex is that the type is configurable, different types has different -parameters. +The most important feature of Portex is that types are composable, complex types can be assembled with other types that have already been definited. For example, the :doc:`/schema/complex_types/enum` type has parameters ``values`` to indicate the possible values of the enum.