From 2fc0f53b5d0cca70167d0351905633ee6cc574ea Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Thu, 1 Aug 2024 03:01:37 +0200 Subject: [PATCH] Update overview.html & add ANSI theme.css symlink --- ansi/src/main/javadoc/overview.html | 23 ++++++++++++++++++ ansi/src/main/javadoc/theme.css | 1 + base/src/main/javadoc/overview.html | 1 - graphics/glfw/src/main/javadoc/overview.html | 24 +++++++++++++++++++ .../opengl/src/main/javadoc/overview.html | 24 +++++++++++++++++++ graphics/src/main/javadoc/overview.html | 24 +++++++++++++++++++ .../vulkan/src/main/javadoc/overview.html | 24 +++++++++++++++++++ src/main/javadoc/overview.html | 2 +- src/main/javadoc/theme.css | 5 ++++ 9 files changed, 126 insertions(+), 2 deletions(-) create mode 100644 ansi/src/main/javadoc/overview.html create mode 120000 ansi/src/main/javadoc/theme.css create mode 100644 graphics/glfw/src/main/javadoc/overview.html create mode 100644 graphics/opengl/src/main/javadoc/overview.html create mode 100644 graphics/src/main/javadoc/overview.html create mode 100644 graphics/vulkan/src/main/javadoc/overview.html diff --git a/ansi/src/main/javadoc/overview.html b/ansi/src/main/javadoc/overview.html new file mode 100644 index 0000000..b557c7b --- /dev/null +++ b/ansi/src/main/javadoc/overview.html @@ -0,0 +1,23 @@ + + + +

Welcome to the sos!engine API documentation!
+ You are currently in the documentation for the ansi subsystem, allowing ANSI escape sequences to be used using Jansi.

+ diff --git a/ansi/src/main/javadoc/theme.css b/ansi/src/main/javadoc/theme.css new file mode 120000 index 0000000..681484a --- /dev/null +++ b/ansi/src/main/javadoc/theme.css @@ -0,0 +1 @@ +../../../../src/main/javadoc/theme.css \ No newline at end of file diff --git a/base/src/main/javadoc/overview.html b/base/src/main/javadoc/overview.html index d79ef2d..295f6bb 100644 --- a/base/src/main/javadoc/overview.html +++ b/base/src/main/javadoc/overview.html @@ -19,5 +19,4 @@

Welcome to the sos!engine API documentation!
You are currently in the documentation for the base subsystem, the core of the engine.

-

The most interesting parts for developers wanting to use the engine are:

diff --git a/graphics/glfw/src/main/javadoc/overview.html b/graphics/glfw/src/main/javadoc/overview.html new file mode 100644 index 0000000..071980d --- /dev/null +++ b/graphics/glfw/src/main/javadoc/overview.html @@ -0,0 +1,24 @@ + + + +

Welcome to the sos!engine API documentation!
+ You are currently in the documentation for the glfw subsystem, allowing Graphics APIs to easily implement window and monitor support.

+

This subsystem does not provide any utility for your application, as it's meant to be used by Graphics APIs and just implements interfaces and classes from the graphics subsystem.

+ diff --git a/graphics/opengl/src/main/javadoc/overview.html b/graphics/opengl/src/main/javadoc/overview.html new file mode 100644 index 0000000..9883bd5 --- /dev/null +++ b/graphics/opengl/src/main/javadoc/overview.html @@ -0,0 +1,24 @@ + + + +

Welcome to the sos!engine API documentation!
+ You are currently in the documentation for the opengl subsystem, allowing the OpenGL Graphics API to be used.

+

This subsystem does not provide any utility for your application, as it just implements interfaces and classes from the graphics subsystem.

+ diff --git a/graphics/src/main/javadoc/overview.html b/graphics/src/main/javadoc/overview.html new file mode 100644 index 0000000..2cbb49e --- /dev/null +++ b/graphics/src/main/javadoc/overview.html @@ -0,0 +1,24 @@ + + + +

Welcome to the sos!engine API documentation!
+ You are currently in the documentation for the graphics subsystem, which provides APIs for interfacing with Graphics APIs.

+

This subsystem largely does not provide any utility for your application, as it's interfaces and classes are meant to be implemented by Graphics APIs.

+ diff --git a/graphics/vulkan/src/main/javadoc/overview.html b/graphics/vulkan/src/main/javadoc/overview.html new file mode 100644 index 0000000..618963a --- /dev/null +++ b/graphics/vulkan/src/main/javadoc/overview.html @@ -0,0 +1,24 @@ + + + +

Welcome to the sos!engine API documentation!
+ You are currently in the documentation for the vulkan subsystem, allowing the Vulkan Graphics API to be used.

+

This subsystem does not provide any utility for your application, as it just implements interfaces and classes from the graphics subsystem.

+ diff --git a/src/main/javadoc/overview.html b/src/main/javadoc/overview.html index 23b474a..a307fa7 100644 --- a/src/main/javadoc/overview.html +++ b/src/main/javadoc/overview.html @@ -21,5 +21,5 @@ You are currently viewing the API documentation of the StarOpenSource Engine and it's official subsystems.

For a simplified documentation, see the sos!engine documentation.
- For the engine source code, visit sos!git.

+ For the engine source code, visit sos!git.

diff --git a/src/main/javadoc/theme.css b/src/main/javadoc/theme.css index 7b64a94..58cdbb4 100644 --- a/src/main/javadoc/theme.css +++ b/src/main/javadoc/theme.css @@ -1270,6 +1270,11 @@ pre.snippet .highlighted { background-color: var(--snippet-highlight-color); border-radius: 10%; } +/* + This stylesheet file makes the page appear dark. + Stolen from: + https://docs.oracle.com/en/java/javase/21/javadoc/programmers-guide-javadoc-css-themes.html + */ :root { --body-text-color: #e0e0e3; --block-text-color: #e6e7ef;