From 72340defe40c3809650fad747a68364e8902dd93 Mon Sep 17 00:00:00 2001 From: Jonathan Coates Date: Wed, 6 Jan 2021 17:42:13 +0000 Subject: [PATCH] Update illuaminate - Fix doc library-path - Only style
 code blocks as executable. Skip  ones.
 - Document the default parameters in gps. Yes, we should do it
   everywhere, but one has to start somewhere!
---
 illuaminate.sexp                                     | 12 ++++++------
 .../data/computercraft/lua/rom/apis/gps.lua          |  6 +++---
 src/web/styles.css                                   |  2 +-
 3 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/illuaminate.sexp b/illuaminate.sexp
index d37cc401d..0d6850bde 100644
--- a/illuaminate.sexp
+++ b/illuaminate.sexp
@@ -31,13 +31,13 @@
     /doc/stub/
     /build/docs/luaJavadoc/
 
-    /src/main/resources/*/computercraft/lua/rom/apis
-    /src/main/resources/*/computercraft/lua/rom/apis/command
-    /src/main/resources/*/computercraft/lua/rom/apis/turtle
+    /src/main/resources/*/computercraft/lua/rom/apis/
+    /src/main/resources/*/computercraft/lua/rom/apis/command/
+    /src/main/resources/*/computercraft/lua/rom/apis/turtle/
 
-    /src/main/resources/*/computercraft/lua/rom/modules/main
-    /src/main/resources/*/computercraft/lua/rom/modules/command
-    /src/main/resources/*/computercraft/lua/rom/modules/turtle))
+    /src/main/resources/*/computercraft/lua/rom/modules/main/
+    /src/main/resources/*/computercraft/lua/rom/modules/command/
+    /src/main/resources/*/computercraft/lua/rom/modules/turtle/))
 
 (at /
   (linters
diff --git a/src/main/resources/data/computercraft/lua/rom/apis/gps.lua b/src/main/resources/data/computercraft/lua/rom/apis/gps.lua
index 3be8906a5..8cbc63a78 100644
--- a/src/main/resources/data/computercraft/lua/rom/apis/gps.lua
+++ b/src/main/resources/data/computercraft/lua/rom/apis/gps.lua
@@ -83,9 +83,9 @@ end
 
 --- Tries to retrieve the computer or turtles own location.
 --
--- @tparam[opt] number timeout The maximum time taken to establish our
--- position. Defaults to 2 seconds if not specified.
--- @tparam[opt] boolean debug Print debugging messages
+-- @tparam[opt=2] number timeout The maximum time in seconds taken to establish our
+-- position.
+-- @tparam[opt=false] boolean debug Print debugging messages
 -- @treturn[1] number This computer's `x` position.
 -- @treturn[1] number This computer's `y` position.
 -- @treturn[1] number This computer's `z` position.
diff --git a/src/web/styles.css b/src/web/styles.css
index e60e670ee..966453812 100644
--- a/src/web/styles.css
+++ b/src/web/styles.css
@@ -13,7 +13,7 @@ table.pretty-table th {
     background-color: #f0f0f0;
 }
 
-.highlight.highlight-lua {
+pre.highlight.highlight-lua {
     position: relative;
     background: #eee;
     padding: 2px;