From 596d200d926ed48725aee37e415b14f4b6ec62bd Mon Sep 17 00:00:00 2001 From: EvilFactory Date: Thu, 26 Sep 2024 18:32:05 -0300 Subject: [PATCH] Fixed links and other things --- api/lua/templates/landing.ltp | 2 ++ build_api_lua.sh | 6 +++--- manual/mkdocs.yml | 6 +++--- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/api/lua/templates/landing.ltp b/api/lua/templates/landing.ltp index 8f3c23e..49cac02 100644 --- a/api/lua/templates/landing.ltp +++ b/api/lua/templates/landing.ltp @@ -6,6 +6,8 @@

Welcome to the Lua For Barotrauma API Reference!

+

If you are looking for the manual, click here.

+

Links

Source Code
diff --git a/build_api_lua.sh b/build_api_lua.sh index 9723e05..ccb2db7 100755 --- a/build_api_lua.sh +++ b/build_api_lua.sh @@ -63,7 +63,7 @@ cd $API_DIR rm -rf $DIR/build/api/lua mkdir $DIR/build/api/lua -cp -r ./js/. $DIR/build/api/lua -cp -r ./css/. $DIR/build/api/lua +"$ldoc_path" . -"$ldoc_path" . \ No newline at end of file +cp -r ./js/. $DIR/build/api/lua +cp -r ./css/. $DIR/build/api/lua \ No newline at end of file diff --git a/manual/mkdocs.yml b/manual/mkdocs.yml index cb851ff..2e9e8f8 100644 --- a/manual/mkdocs.yml +++ b/manual/mkdocs.yml @@ -15,15 +15,15 @@ nav: - "Hooks": "lua/hooks.md" - "Patching": "lua/patching.md" - "Networking": "lua/networking.md" - - "Examples" : "https://github.com" - - "API Reference": "/api/lua/" + - "Examples" : "https://github.com/Luatrauma/Luatrauma.LuaExamples" + - "API Reference": "/Luatrauma.Docs/api/lua/" - CSharp: - Introduction: "cs/introduction.md" - "In-Memory CSharp Mods": "cs/setup-in-memory-csharp.md" - "Assembly CSharp Mods": "cs/setup-assembly-csharp.md" - Development: - "Using Harmony": "cs/development/harmony.md" - - "API Reference": "/api/cs/client/html" + - "API Reference": "/Luatrauma.Docs/api/cs/client/html" markdown_extensions: - pymdownx.highlight: anchor_linenums: true