82b12a5fae1c82dffe13401e09749849d116e724 lrnassar Fri Dec 5 17:27:44 2025 -0800 Making major changes to the markdown /docs/ directory since we are going to keep adding to it. Starting with adding more heirarchy, also had to update the makefile and staticPage.lua to reference the correct root path for the CSS. Also had to update all of the relative links in the pages so far in order to make them absolute paths for easier implementation. Lastly, adding the new hubBasics page which is the first in the new hubs subdir. Refs #28347 diff --git docs/staticPage.lua docs/staticPage.lua index 34a4ba7859f..01bd9f45fcd 100644 --- docs/staticPage.lua +++ docs/staticPage.lua @@ -113,31 +113,31 @@ -- print("vars") -- tprint(variables) -- print("meta") -- tprint(metadata) if metadata["title"] then add("<!DOCTYPE HTML>") add("<!-- DO NOT EDIT THE HTDOCS VERSION OF THIS FILE. THIS FILE IS AUTOMATICALLY") add(" GENERATED FROM A MARKDOWN FILE IN kent/src/product. MAKE ANY EDITS TO") add(" THIS PAGE THERE, THEN RUN MAKE in kent/src/product/mirrorDocs, AND FOLLOW THE") add(" INSTRUCTIONS TO COMMIT THIS PAGE INTO git.") add(" Please read the file kent/src/product/Note-To-QA.txt for details.") add(" -->") add("<!--#set var=\"TITLE\" value=\"" .. metadata["title"] .. "\" -->") - add("<!--#set var=\"ROOT\" value=\"..\" -->") + add("<!--#set var=\"ROOT\" value=\"" .. (variables["ROOT"] or metadata["ROOT"] or "..") .. "\" -->") add("") add("<!-- Relative paths to support mirror sites with non-standard GB docs install -->") add("<!--#include virtual=\"$ROOT/inc/gbPageStart.html\" -->") add("<link rel=\"stylesheet\" href=\"<!--#echo var=\"ROOT\" -->/style/bootstrap-3-3-7.min.css\">") add("") add("<h1>" .. metadata["title"] .. "</h1>") else add("<h1>No title defined in document, first line must be % mytitle </h1>") end for i, h in ipairs(headers) do idStr = simplifyId(h) add("<h6><a href='#" .. idStr .. "'>" .. h .. "</a></h6>") end -- ucsc change end