Skip to content

update documentation links and improve homepage layout - #28

Merged
Arctis-Fireblight merged 2 commits into
Redot-Engine:masterfrom
Zynos-Logan:master
May 17, 2026
Merged

update documentation links and improve homepage layout#28
Arctis-Fireblight merged 2 commits into
Redot-Engine:masterfrom
Zynos-Logan:master

Conversation

@Zynos-Logan

@Zynos-Logan Zynos-Logan commented May 16, 2026

Copy link
Copy Markdown
Contributor

Added custom homepage and updated several links showing as warnings to missing files
image
image
image

Summary by CodeRabbit

  • New Features

    • Completely redesigned homepage with improved layout, hero section, quick links, and featured topics.
  • Documentation

    • Reorganized and corrected documentation links throughout the reference.
  • Chores

    • Pinned webpack dependency version and updated project configuration.

Review Change Stack

@coderabbitai

coderabbitai Bot commented May 16, 2026

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 1d5b6d28-8a8e-4eae-9951-d2028bbc1c12

📥 Commits

Reviewing files that changed from the base of the PR and between 1d85669 and 08fe70b.

📒 Files selected for processing (2)
  • docs/Classes/Signal.md
  • docs/tutorials/platform/android/javaclasswrapper_and_androidruntimeplugin.md
✅ Files skipped from review due to trivial changes (2)
  • docs/Classes/Signal.md
  • docs/tutorials/platform/android/javaclasswrapper_and_androidruntimeplugin.md

📝 Walkthrough

Walkthrough

This PR updates documentation links to reflect a path reorganization, improves minor documentation formatting, pins the webpack version for reproducible builds, and redesigns the homepage with new CSS styling and a static TypeScript implementation replacing dynamic Docusaurus context usage.

Changes

Documentation Maintenance

Layer / File(s) Summary
Class Reference Path Reorganization
docs/Classes/GDExtension.md, docs/Classes/GDExtensionManager.md, docs/Classes/JavaScriptBridge.md, docs/Classes/Node.md, docs/Classes/Object.md, docs/Classes/ResourceImporterTexture.md, docs/Classes/Variant.md, docs/Classes/Signal.md
Tutorial links in class reference files are updated to point to new documentation paths under Contributing/Development/ and scripting/gdextension/ instead of engine_details/ and scripting/cpp/.
Documentation Formatting, Guidance, and Remaining Links
docs/Classes/EditorSettings.md, docs/Contributing/Documentation/updating_the_class_reference.md, docs/tutorials/ui/bbcode_in_richtextlabel.md, docs/tutorials/platform/android/javaclasswrapper_and_androidruntimeplugin.md
Inline code formatting is applied to subsection headings, documentation guidance text is refined, and documentation link paths are corrected.

Project Configuration Updates

Layer / File(s) Summary
Dependency and Environment Setup
.gitignore, package.json
.gitignore is updated to ignore yarn.lock and package.json adds overrides and resolutions fields to pin webpack to version 5.94.0.

Homepage Redesign

Layer / File(s) Summary
Homepage CSS Styling and Layout
src/pages/index.module.css
Complete rewrite of homepage CSS module with radial/linear gradient backgrounds, hero section layout, quick links card grid, topic band, reference section styling, and responsive breakpoints at 996px and 640px that collapse grids to single-column.
Homepage Structure, Data, and Components
src/pages/index.tsx (imports, data, component)
Imports updated to use Docusaurus Link, Layout, and Heading directly; new QuickLink type and static quickLinks/featuredTopics data arrays defined; QuickLinkCard component introduced.
Homepage Page Rendering
src/pages/index.tsx (Home component)
Home component rewritten to render a static landing page with fixed layout title/description, hero section, quick links grid, featured topics, and reference navigation links.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Poem

🐰 A docs trail rewoven with paths anew,
CSS cascades paint heroes in view,
Data-driven cards dance in grids so bright,
Webpack locked steady, dependencies tight!

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the two main changes: updating documentation links across multiple files and redesigning the homepage layout with new CSS and JSX.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🧹 Nitpick comments (2)
src/pages/index.tsx (2)

150-153: ⚡ Quick win

Lazy-load the secondary reference image.

This image is below the fold; adding lazy loading and async decoding improves initial render performance.

Suggested fix
             <img
               src="/Getting Started/introduction/img/editor_intro_search_help.webp"
               alt="Redot editor help search panel"
+              loading="lazy"
+              decoding="async"
             />
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/pages/index.tsx` around lines 150 - 153, The inline <img> used in
src/pages/index.tsx for the secondary reference ("Redot editor help search
panel") is below the fold and should be lazy-loaded; update the <img> element
(the tag rendering the "/Getting
Started/introduction/img/editor_intro_search_help.webp" asset) to include
loading="lazy" and decoding="async" (and optionally supply width and height
attributes if available) so the browser defers fetching/decoding until needed
and improves initial render performance.

111-113: ⚡ Quick win

Follow Docusaurus best practices for static asset URLs.

Lines 111 and 151 use absolute root-relative paths for images. While these work with the current baseUrl: '/' configuration, Docusaurus recommends using the useBaseUrl() hook for static assets to ensure portability across different deployment contexts and to properly handle URL encoding for paths containing spaces.

Suggested fix
 import type {ReactNode} from 'react';
 import Link from '`@docusaurus/Link`';
+import useBaseUrl from '`@docusaurus/useBaseUrl`';
 import Layout from '`@theme/Layout`';
 import Heading from '`@theme/Heading`';
@@
               <img
-                src="/Getting Started/introduction/img/editor_intro_workspace_3d.webp"
+                src={useBaseUrl('/Getting%20Started/introduction/img/editor_intro_workspace_3d.webp')}
                 alt="Redot editor showing a 3D workspace"
               />
@@
             <img
-              src="/Getting Started/introduction/img/editor_intro_search_help.webp"
+              src={useBaseUrl('/Getting%20Started/introduction/img/editor_intro_search_help.webp')}
               alt="Redot editor help search panel"
             />

Also applies to: 151-153

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/pages/index.tsx` around lines 111 - 113, Update the image src usage in
src/pages/index.tsx to use the Docusaurus hook useBaseUrl: import useBaseUrl
from '`@docusaurus/useBaseUrl`', call const img = useBaseUrl('/Getting
Started/introduction/img/editor_intro_workspace_3d.webp') (and similarly for the
other image path) and replace the hardcoded src strings with those hook results
so paths (including spaces) are correctly encoded and respect baseUrl; apply the
same change for the second image reference in the file.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/Classes/JavaClassWrapper.md`:
- Line 41: The documentation link contains a misspelling: change the filename
segment "andriod" to "android" in the markdown link
"../tutorials/platform/android/javaclasswrapper_and_andriodruntimeplugin.md" so
it becomes
"../tutorials/platform/android/javaclasswrapper_and_androidruntimeplugin.md"
(fix the token "andriod" to "android" in the link text).

In `@docs/Classes/Signal.md`:
- Line 206: The link in Signal.md uses a mismatched path "../Getting
Started/step_by_step/signals.md" which will break on case-sensitive filesystems;
update the href to the consistent lowercase, underscore path
"../getting_started/step_by_step/signals.md" (i.e., replace "Getting Started"
with "getting_started") so the "[Using Signals]" link resolves correctly.

---

Nitpick comments:
In `@src/pages/index.tsx`:
- Around line 150-153: The inline <img> used in src/pages/index.tsx for the
secondary reference ("Redot editor help search panel") is below the fold and
should be lazy-loaded; update the <img> element (the tag rendering the "/Getting
Started/introduction/img/editor_intro_search_help.webp" asset) to include
loading="lazy" and decoding="async" (and optionally supply width and height
attributes if available) so the browser defers fetching/decoding until needed
and improves initial render performance.
- Around line 111-113: Update the image src usage in src/pages/index.tsx to use
the Docusaurus hook useBaseUrl: import useBaseUrl from '`@docusaurus/useBaseUrl`',
call const img = useBaseUrl('/Getting
Started/introduction/img/editor_intro_workspace_3d.webp') (and similarly for the
other image path) and replace the hardcoded src strings with those hook results
so paths (including spaces) are correctly encoded and respect baseUrl; apply the
same change for the second image reference in the file.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 37e85e11-2334-4ca1-bcb4-63c5b1ec6f9c

📥 Commits

Reviewing files that changed from the base of the PR and between ec4b816 and 1d85669.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (16)
  • .gitignore
  • docs/Classes/EditorSettings.md
  • docs/Classes/GDExtension.md
  • docs/Classes/GDExtensionManager.md
  • docs/Classes/JavaClassWrapper.md
  • docs/Classes/JavaScriptBridge.md
  • docs/Classes/Node.md
  • docs/Classes/Object.md
  • docs/Classes/ResourceImporterTexture.md
  • docs/Classes/Signal.md
  • docs/Classes/Variant.md
  • docs/Contributing/Documentation/updating_the_class_reference.md
  • docs/tutorials/ui/bbcode_in_richtextlabel.md
  • package.json
  • src/pages/index.module.css
  • src/pages/index.tsx

Comment thread docs/Classes/JavaClassWrapper.md Outdated
Comment thread docs/Classes/Signal.md Outdated
## Tutorials

- [Using Signals](../getting_started/step_by_step/signals.md)
- [Using Signals](../Getting Started/step_by_step/signals.md)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Likely broken tutorial link path (Getting Started vs getting_started).

This path change likely breaks on case-sensitive environments and introduces a spaced directory name that doesn’t match the docs path pattern used elsewhere. Please restore the lowercase path.

Suggested fix
-- [Using Signals](../Getting Started/step_by_step/signals.md)
+- [Using Signals](../getting_started/step_by_step/signals.md)
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
- [Using Signals](../Getting Started/step_by_step/signals.md)
- [Using Signals](../getting_started/step_by_step/signals.md)
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/Classes/Signal.md` at line 206, The link in Signal.md uses a mismatched
path "../Getting Started/step_by_step/signals.md" which will break on
case-sensitive filesystems; update the href to the consistent lowercase,
underscore path "../getting_started/step_by_step/signals.md" (i.e., replace
"Getting Started" with "getting_started") so the "[Using Signals]" link resolves
correctly.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey, just as an FYI, everything in the /docs/Classes/ directory is generated, and any changes will be lost next time we sync the class DB changes with the engine.

To effect the output here, we need to address the XML files they are generated from here or by editing the script responsible for generating them.

@Arctis-Fireblight
Arctis-Fireblight merged commit dca9e18 into Redot-Engine:master May 17, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants