mirror of
https://github.com/rm-dr/daisy
synced 2025-07-01 06:33:34 -07:00
Documentation
This commit is contained in:
@ -1,3 +1,12 @@
|
||||
# This file defines all constants daisy knows about.
|
||||
# Each is an entry in the `constant` array.
|
||||
#
|
||||
# Parameters:
|
||||
# enum_name: capitalized string. Name of this constant's enum.
|
||||
# strings: string or string array. What strings will be parsed as this constant.
|
||||
# The first entry in this array tells daisy how to print this constant.
|
||||
# value: value of this constant. Will be evaluated just like user input.
|
||||
# unit: true if this constant represents a "fake unit"
|
||||
|
||||
[[constant]]
|
||||
enum_name = "Pi"
|
||||
|
@ -1,5 +1,6 @@
|
||||
# This file defines all units daisy knows about.
|
||||
# Each unit is an entry in the `unit` array.
|
||||
# Some "units" are constants (mph, for example). They are defined in the "constants" file.
|
||||
#
|
||||
#
|
||||
# Basic properties:
|
||||
|
Reference in New Issue
Block a user