diff --git a/Moose Development/Moose/AI/AI_A2A_Cap.lua b/Moose Development/Moose/AI/AI_A2A_Cap.lua index f71e955b2..d86c20bbe 100644 --- a/Moose Development/Moose/AI/AI_A2A_Cap.lua +++ b/Moose Development/Moose/AI/AI_A2A_Cap.lua @@ -82,7 +82,7 @@ -- that will define when the AI will engage with the detected airborne enemy targets. -- The range can be beyond or smaller than the range of the Patrol Zone. -- The range is applied at the position of the AI. --- Use the method @{AI_Air_Patrol#AI_AIR_PATROL.SetEngageRange}() to define that range. +-- Use the method @{#AI_A2A_CAP.SetEngageRange}() to define that range. -- -- ## 4. Set the Zone of Engagement -- diff --git a/Moose Development/Moose/AI/AI_A2G_SEAD.lua b/Moose Development/Moose/AI/AI_A2G_SEAD.lua index 7c977c7d1..17f9f86f5 100644 --- a/Moose Development/Moose/AI/AI_A2G_SEAD.lua +++ b/Moose Development/Moose/AI/AI_A2G_SEAD.lua @@ -43,7 +43,7 @@ -- that will define when the AI will engage with the detected airborne enemy targets. -- The range can be beyond or smaller than the range of the Patrol Zone. -- The range is applied at the position of the AI. --- Use the method @{AI_Air_Patrol#AI_AIR_PATROL.SetEngageRange}() to define that range. +-- Use the method @{#AI_AIR_PATROL.SetEngageRange}() to define that range. -- -- # Developer Note -- diff --git a/Moose Development/Moose/AI/AI_Air_Patrol.lua b/Moose Development/Moose/AI/AI_Air_Patrol.lua index 8b8de06ca..9950740a8 100644 --- a/Moose Development/Moose/AI/AI_Air_Patrol.lua +++ b/Moose Development/Moose/AI/AI_Air_Patrol.lua @@ -79,7 +79,7 @@ -- that will define when the AI will engage with the detected airborne enemy targets. -- The range can be beyond or smaller than the range of the Patrol Zone. -- The range is applied at the position of the AI. --- Use the method @{AI.AI_CAP#AI_AIR_PATROL.SetEngageRange}() to define that range. +-- Use the method @{#AI_AIR_PATROL.SetEngageRange}() to define that range. -- -- # Developer Note -- diff --git a/docker/build-docs/start.sh b/docker/build-docs/start.sh index 4773540be..0ebbe62f4 100644 --- a/docker/build-docs/start.sh +++ b/docker/build-docs/start.sh @@ -4,6 +4,7 @@ cd /moose/ mkdir -p build/tools mkdir -p build/doc +rm -f build/doc/* # Checkout luadocumentor cd /moose/build/tools @@ -18,7 +19,6 @@ lua luadocumentor.lua -d /moose/build/doc '/moose/Moose Development/Moose' # Copy generated files in the MOOSE_DOCS repo if it is already there if [ -d /moose/build/MOOSE_DOCS/Documentation ]; then - rm -rf /moose/build/MOOSE_DOCS/Documentation - mkdir -p /moose/build/MOOSE_DOCS/Documentation + rm -f /moose/build/MOOSE_DOCS/Documentation/* cp /moose/build/doc/* /moose/build/MOOSE_DOCS/Documentation/ fi