From 68966ea668802d5a7bada4a4a05e12b89cbd5434 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Fri, 3 May 2024 22:35:35 +0000 Subject: [PATCH] Fix for issue that suddenly appeared for reasons I can't determine in which the corp docs hosted site stopped working with the same manual build I've always been using as it started to try to find the links from the root of the site instead if relatively in the docs folder. Adding the site_url seems to have fixed this issue and doesn't break a local install copy of the docs from within AyaNova so this seems to be resolved. --- docs/8.0/ayanova/mkdocs.yml | 3 ++- makedocs.bat | 24 +++++++++++++++++++++--- 2 files changed, 23 insertions(+), 4 deletions(-) diff --git a/docs/8.0/ayanova/mkdocs.yml b/docs/8.0/ayanova/mkdocs.yml index 0c964c8d..e5ca34b4 100644 --- a/docs/8.0/ayanova/mkdocs.yml +++ b/docs/8.0/ayanova/mkdocs.yml @@ -6,8 +6,9 @@ theme: logo: "img/logo.svg" site_name: AyaNova manual site_dir: "../../../server/AyaNova/wwwroot/docs" +site_url: https://ayanova.com/docs/ strict: true -copyright: Copyright © 2022-2024 Ground Zero Tech-Works Inc. REV-2024-05-03 +copyright: Copyright © 2022-2024 Ground Zero Tech-Works Inc. REV-2024-05-03-c extra: generator: false # Extensions diff --git a/makedocs.bat b/makedocs.bat index 20cf87a7..2bf24153 100644 --- a/makedocs.bat +++ b/makedocs.bat @@ -1,6 +1,24 @@ +@REM cd c:\data\code\raven\docs\8.0\ayanova +@REM mkdocs build -s +@REM cd c:\data\code\raven\docs\8.0\customer +@REM mkdocs build -s +@REM cd ..\..\.. +@REM pause +@echo ****************** CLEAN ALL OUTPUT FOLDERS ********** +rmdir c:\data\code\raven\server\AyaNova\wwwroot /s/q +mkdir c:\data\code\raven\server\AyaNova\wwwroot +rmdir C:\data\code\raven\dist\installers /s/q +mkdir C:\data\code\raven\dist\installers + + +@echo ******************** BUILD MAIN DOCS ****************************** cd c:\data\code\raven\docs\8.0\ayanova -mkdocs build -s +mkdocs build + + +@echo ******************** BUILD CUSTOMER DOCS ****************************** cd c:\data\code\raven\docs\8.0\customer -mkdocs build -s +mkdocs build + cd ..\..\.. -pause +pause \ No newline at end of file