Skip to content

docs: add settings section for java#9126

Merged
jdx merged 2 commits intojdx:mainfrom
roele:issues/doc-java-settings
Apr 15, 2026
Merged

docs: add settings section for java#9126
jdx merged 2 commits intojdx:mainfrom
roele:issues/doc-java-settings

Conversation

@roele
Copy link
Copy Markdown
Contributor

@roele roele commented Apr 15, 2026

No description provided.

Copilot AI review requested due to automatic review settings April 15, 2026 16:35
@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented Apr 15, 2026

Greptile Summary

Adds a ## Settings section to the Java language documentation page, wiring up the shared Settings Vue component with child="java". The pattern and markup are identical to every other language doc (node, python, ruby, etc.), and the java.shorthand_vendor setting already exists in settings.toml, so the component will render meaningful content.

Confidence Score: 5/5

Safe to merge — minimal, purely additive documentation change with no logic impact.

Single-file docs change that follows the established pattern exactly; the referenced setting exists, and there are no code, logic, or security concerns.

No files require special attention.

Important Files Changed

Filename Overview
docs/lang/java.md Adds a ## Settings section using the standard Settings Vue component pattern, consistent with all other language docs; backed by the existing java.shorthand_vendor setting in settings.toml.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A["docs/lang/java.md\n## Settings section"] --> B["Settings child='java' :level='3'"]
    B --> C["components/settings.vue\nFilters by child='java'"]
    C --> D["settings.toml\njava.shorthand_vendor"]
Loading

Reviews (2): Last reviewed commit: "Merge branch 'main' into issues/doc-java..." | Re-trigger Greptile

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a consistent “Settings” section to the Java language documentation page so Java-specific mise settings can be rendered via the shared Settings component, matching other language docs.

Changes:

  • Add a new ## Settings section to docs/lang/java.md.
  • Embed the shared /components/settings.vue Settings component for child="java" with heading level 3.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request adds a new 'Settings' section to the Java documentation by integrating a Vue component. A review comment suggests moving the script setup block to the top of the file to align with VitePress best practices for better organization and maintainability.

Comment thread docs/lang/java.md
Comment on lines +141 to +143
<script setup>
import Settings from '/components/settings.vue';
</script>
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.

medium

In VitePress documentation, it is a common best practice to place <script setup> blocks at the top of the Markdown file. This keeps the component logic separate from the content and ensures that the raw Markdown file remains readable and maintainable as more content is added.

@jdx jdx enabled auto-merge (squash) April 15, 2026 22:49
@jdx jdx merged commit 250033b into jdx:main Apr 15, 2026
35 checks passed
@roele roele deleted the issues/doc-java-settings branch April 16, 2026 05:25
mise-en-dev added a commit that referenced this pull request Apr 16, 2026
### 🐛 Bug Fixes

- **(env)** use OS path separator for path-list env vars on Windows by
@richardthe3rd in [#9058](#9058)
- check all github token sources in 403 rate limit warning by @jdx in
[#9121](#9121)

### 📚 Documentation

- add settings section for java by @roele in
[#9126](#9126)

### 📦 Registry

- added podlet by @tony-sol in
[#9134](#9134)
- add maturin by @Bing-su in
[#9113](#9113)

### New Contributors

- @Bing-su made their first contribution in
[#9113](#9113)

## 📦 Aqua Registry Updates

#### Updated Packages (2)

- [`fwdcloudsec/granted`](https://github.com/fwdcloudsec/granted)
- [`watchexec/watchexec`](https://github.com/watchexec/watchexec)
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.

4 participants