forked from mpusz/mp-units
Measurement example added
This commit is contained in:
@@ -74,6 +74,7 @@ add_custom_command(OUTPUT "${SPHINX_INDEX_FILE}"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/examples.rst"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/examples/hello_units.rst"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/examples/avg_speed.rst"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/examples/measurement.rst"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/faq.rst"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/framework.rst"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/framework/basic_concepts.rst"
|
||||
|
@@ -6,3 +6,4 @@ Examples
|
||||
|
||||
examples/hello_units
|
||||
examples/avg_speed
|
||||
examples/measurement
|
||||
|
7
docs/examples/measurement.rst
Normal file
7
docs/examples/measurement.rst
Normal file
@@ -0,0 +1,7 @@
|
||||
measurement
|
||||
===========
|
||||
|
||||
.. literalinclude:: ../../example/measurement.cpp
|
||||
:caption: measurement.cpp
|
||||
:start-at: #include
|
||||
:linenos:
|
Reference in New Issue
Block a user