From b4ac74c41911ee7771e88da91208c1eb16c4b752 Mon Sep 17 00:00:00 2001 From: "Y. Wang" Date: Thu, 11 Aug 2022 19:07:42 +0200 Subject: Reformat manual pages --- .../man/man3advtrains/speed_set_restriction.3advtrains.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'assets/manual/man/man3advtrains/speed_set_restriction.3advtrains.md') diff --git a/assets/manual/man/man3advtrains/speed_set_restriction.3advtrains.md b/assets/manual/man/man3advtrains/speed_set_restriction.3advtrains.md index 1df5358..1a3bd80 100644 --- a/assets/manual/man/man3advtrains/speed_set_restriction.3advtrains.md +++ b/assets/manual/man/man3advtrains/speed_set_restriction.3advtrains.md @@ -1,17 +1,20 @@ -% SPEED_SET_RESTRICTION(3ADVTRAINS) | Advtrains Developer's Manual +--- +title: 'speed_set_restriction(3advtrains)' +manual: 'Advtrains Developer''s Manual' +--- -# NAME +# Name `set_restriction`, `merge_aspect` - Apply speed limits to trains -# SYNOPSIS +# Synopsis * `set_restriction(train, type, val)` * `merge_aspect(train, asp)` -# DESCRIPTION +# Description `set_restriction()` sets the speed restriction of the given type of the given train to `val` and updates train object correspondingly. `merge_aspect()` sets the speed restriction of the given train based on the value of the signal aspect. -# RETURN VALUE +# Return Value `set_restriction()` and `merge_aspect()` do not return any value. -- cgit v1.2.3