aboutsummaryrefslogtreecommitdiff
path: root/assets/manual/man/man3advtrains
diff options
context:
space:
mode:
authorY. Wang <yw05@forksworld.de>2022-08-14 17:31:48 +0200
committerY. Wang <yw05@forksworld.de>2022-08-14 17:31:48 +0200
commit3d003bc0874ea168c24bac26d3d090579cadf255 (patch)
treea3b1f28152c729ac4b5971d682e4b2c4f324c58c /assets/manual/man/man3advtrains
parentbe846f801db24c2d7eadaaaa3b89ebb193ab5144 (diff)
downloadadvtrains-3d003bc0874ea168c24bac26d3d090579cadf255.tar.gz
advtrains-3d003bc0874ea168c24bac26d3d090579cadf255.tar.bz2
advtrains-3d003bc0874ea168c24bac26d3d090579cadf255.zip
Auto-generate title information from metadata
Diffstat (limited to 'assets/manual/man/man3advtrains')
-rw-r--r--assets/manual/man/man3advtrains/rwt_add.3advtrains.md10
-rw-r--r--assets/manual/man/man3advtrains/rwt_copy.3advtrains.md12
-rw-r--r--assets/manual/man/man3advtrains/rwt_last_rpt.3advtrains.md11
-rw-r--r--assets/manual/man/man3advtrains/rwt_now.3advtrains.md8
-rw-r--r--assets/manual/man/man3advtrains/speed_lessp.3advtrains.md15
-rw-r--r--assets/manual/man/man3advtrains/speed_set_restriction.3advtrains.md9
6 files changed, 41 insertions, 24 deletions
diff --git a/assets/manual/man/man3advtrains/rwt_add.3advtrains.md b/assets/manual/man/man3advtrains/rwt_add.3advtrains.md
index de4cf37..5243b3e 100644
--- a/assets/manual/man/man3advtrains/rwt_add.3advtrains.md
+++ b/assets/manual/man/man3advtrains/rwt_add.3advtrains.md
@@ -1,11 +1,13 @@
---
-title: 'rwt_add(3advtrains)'
+titles:
+- rwt_add
+- rwt_diff
+- rwt_sub
+section: 3advtrains
manual: 'Advtrains Developer''s Manual'
+shortdesc: add or subtract railway time objects
---
-# Name
-`add`, `diff`, `sub` - Add or subtract railway time objects
-
# Synopsis
* `add(t1, t2)`
diff --git a/assets/manual/man/man3advtrains/rwt_copy.3advtrains.md b/assets/manual/man/man3advtrains/rwt_copy.3advtrains.md
index 1d2ba28..5a49048 100644
--- a/assets/manual/man/man3advtrains/rwt_copy.3advtrains.md
+++ b/assets/manual/man/man3advtrains/rwt_copy.3advtrains.md
@@ -1,11 +1,15 @@
---
-title: 'rwt_copy(3advtrains)'
+titles:
+- rwt_copy
+- rwt_new
+- rwt_to_table
+- rwt_to_secs
+- rwt_to_string
+section: 3advtrains
manual: 'Advtrains Developer''s Manual'
+shortdesc: create and copy railway time objects
---
-# Name
-`copy`, `new`, `to_table`, `to_secs`, `to_string` - Create and copy railway time objects
-
# Synopsis
* `copy(obj)`
diff --git a/assets/manual/man/man3advtrains/rwt_last_rpt.3advtrains.md b/assets/manual/man/man3advtrains/rwt_last_rpt.3advtrains.md
index db5bad5..b5149e7 100644
--- a/assets/manual/man/man3advtrains/rwt_last_rpt.3advtrains.md
+++ b/assets/manual/man/man3advtrains/rwt_last_rpt.3advtrains.md
@@ -1,11 +1,14 @@
---
-title: 'rwt_last_rpt(3advtrains)'
+titles:
+- rwt_last_rpt
+- rwt_next_rpt
+- rwt_time_from_last_rpt
+- rwt_time_to_next_rpt
+section: 3advtrains
manual: 'Advtrains Developer''s Manual'
+shortdesc: calculate time for repeating events
---
-# Name
-`last_rpt`, `next_rpt`, `time_from_last_rpt`, `time_to_next_rpt` - Calculate time for repeating events
-
# Synopsis
* `last_rpt(time, interval, offset)`
diff --git a/assets/manual/man/man3advtrains/rwt_now.3advtrains.md b/assets/manual/man/man3advtrains/rwt_now.3advtrains.md
index 0f52258..7eb3650 100644
--- a/assets/manual/man/man3advtrains/rwt_now.3advtrains.md
+++ b/assets/manual/man/man3advtrains/rwt_now.3advtrains.md
@@ -1,10 +1,10 @@
---
-title: 'rwt_now(3advtrains)'
+titles:
+- rwt_now
+section: 3advtrains
manual: 'Advtrains Developer''s Manual'
+shortdesc: get the current railway time
---
-# Name
-`now` - Get the current railway time
-
# Description
`now()` returns the current railway time as a table.
diff --git a/assets/manual/man/man3advtrains/speed_lessp.3advtrains.md b/assets/manual/man/man3advtrains/speed_lessp.3advtrains.md
index af1319f..61c37b2 100644
--- a/assets/manual/man/man3advtrains/speed_lessp.3advtrains.md
+++ b/assets/manual/man/man3advtrains/speed_lessp.3advtrains.md
@@ -1,11 +1,18 @@
---
-title: 'speed_lessp(3advtrains)'
+titles:
+- speed_lessp
+- speed_greaterp
+- speed_equalp
+- speed_not_lessp
+- speed_not_greaterp
+- speed_not_equalp
+- speed_min
+- speed_max
+section: 3advtrains
manual: 'Advtrains Developer''s Manual'
+shortdesc: compare speed limits
---
-# Name
-`lessp`, `greaterp`, `equalp`, `not_lessp`, `not_greaterp`, `not_equalp`, `min`, `max` - Speed limit comparison functions
-
# Synopsis
* `lessp(a, b)`
diff --git a/assets/manual/man/man3advtrains/speed_set_restriction.3advtrains.md b/assets/manual/man/man3advtrains/speed_set_restriction.3advtrains.md
index 1a3bd80..619cf3f 100644
--- a/assets/manual/man/man3advtrains/speed_set_restriction.3advtrains.md
+++ b/assets/manual/man/man3advtrains/speed_set_restriction.3advtrains.md
@@ -1,11 +1,12 @@
---
-title: 'speed_set_restriction(3advtrains)'
+titles:
+- speed_set_restriction
+- speed_merge_aspect
+section: 3advtrains
manual: 'Advtrains Developer''s Manual'
+shortdesc: apply speed limits to trains
---
-# Name
-`set_restriction`, `merge_aspect` - Apply speed limits to trains
-
# Synopsis
* `set_restriction(train, type, val)`