From 33bc7eabb37532bc9e48eeabebfccc7974504f11 Mon Sep 17 00:00:00 2001 From: Florent Rougon Date: Sat, 9 Dec 2017 13:49:20 +0100 Subject: [PATCH] README.add-ons: use explicit node typing in the sample metadata file and more spacing The explicit typing shouldn't change anything for the parsing code in flightgear/src/Add-ons/AddonManager.cxx, because for each field, this code knows the correct type and explicitly asks for it (and only once), but external code might include addon-metadata.xml in some prop tree, and then the explicit typing is likely to give better results. --- Docs/README.add-ons | 36 ++++++++++++++++++++++++++---------- 1 file changed, 26 insertions(+), 10 deletions(-) diff --git a/Docs/README.add-ons b/Docs/README.add-ons index 5cd47d277..227fb4ec1 100644 --- a/Docs/README.add-ons +++ b/Docs/README.add-ons @@ -104,16 +104,32 @@ hypothetical add-on called “Flying Turtle” distributed by Joe User: 1 - user.joe.FlyingTurtle - Flying Turtle - 1.0.0rc2 - Allow flying with new foobar powers. - This add-on enables something really great involving turtles... - 2017.4.0 - none - https://example.com/quux - https://example.com/quux/download - https://example.com/quux/support + user.joe.FlyingTurtle + Flying Turtle + 1.0.0rc2 + + + Allow flying with new foobar powers. + + + + This add-on enables something really great involving turtles... + + + 2017.4.0 + none + + + https://example.com/quux + + + + https://example.com/quux/download + + + + https://example.com/quux/support +