Skip to content

feat: Add new documentation pages for basic concepts, service managem… - #14

Merged
KUASWoodyLIN merged 1 commit into
mainfrom
13-add-documentation-structure
Nov 26, 2025
Merged

KUASWoodyLIN merged 1 commit into
mainfrom
13-add-documentation-structure

Conversation

@KUASWoodyLIN

Copy link
Copy Markdown
Contributor

…ent, getting started, and scope, and update sidebar navigation.

…ent, getting started, and scope, and update sidebar navigation.
Copilot AI review requested due to automatic review settings November 26, 2025 06:28
@KUASWoodyLIN
KUASWoodyLIN requested a review from iasthc as a code owner November 26, 2025 06:28
@KUASWoodyLIN KUASWoodyLIN linked an issue Nov 26, 2025 that may be closed by this pull request
@gemini-code-assist

Copy link
Copy Markdown

Summary of Changes

Hello @KUASWoodyLIN, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request significantly expands the documentation for the OtterScale platform by adding numerous new pages. The goal is to provide users with clear, structured guides on how to get started, understand core concepts, and effectively manage various services and infrastructure components within OtterScale. This enhancement aims to improve user onboarding and overall platform usability by making information more accessible.

Highlights

  • New Documentation Pages: Introduced a comprehensive set of new documentation pages covering basic concepts, service management, getting started guides, and scope management for the OtterScale platform.
  • Sidebar Navigation Update: The astro.config.mjs file has been updated to integrate these new documentation sections into the sidebar navigation, making them easily accessible.
  • Basic Concepts: Added detailed documentation for fundamental infrastructure components such as Configuration, Machines, and Networking.
  • Service Management: New pages describe how to manage Applications, Compute (VMs), Large Language Models (LLMs), application-specific Settings, and various Storage types.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution. ↩

@KUASWoodyLIN
KUASWoodyLIN merged commit 827f372 into main Nov 26, 2025
5 checks passed

@gemini-code-assist gemini-code-assist 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.

Code Review

This pull request adds several new documentation pages for basic concepts, services, getting started, and scopes. It also updates the sidebar navigation to include these new sections. The changes are a good step towards building out the documentation. I've found a couple of issues: one is a broken link in the 'Get Started' page, and the other is related to internationalization in the sidebar configuration where Chinese labels are used in the default configuration. My review includes suggestions to fix these.

Once you are set up, you can proceed to:
- [Manage Scopes](/scope)
- [Explore Basic Features](/basic/machines)
- [Deploy Applications](/application/applications)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

high

The link to 'Deploy Applications' appears to be broken. Based on the project's file structure and sidebar configuration, the correct path should be /service/applications, not /application/applications.

Suggested change
- [Deploy Applications](/application/applications)
- [Deploy Applications](/service/applications)

Comment thread astro.config.mjs
Comment on lines +46 to 53
{
label: '基礎',
autogenerate: { directory: 'basic' }
},
{
label: '服務',
autogenerate: { directory: 'service' }
},

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

The sidebar labels '基礎' and '服務' are in Traditional Chinese, but they are in the root configuration which applies to all locales, including the default English locale. For better internationalization and consistency, these labels should be in English in the root configuration. You can then provide translations in the zh-hant locale configuration.

Suggested change
{
label: '基礎',
autogenerate: { directory: 'basic' }
},
{
label: '服務',
autogenerate: { directory: 'service' }
},
{
label: 'Basic',
autogenerate: { directory: 'basic' }
},
{
label: 'Service',
autogenerate: { directory: 'service' }
},

Copilot AI 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.

Pull request overview

This PR adds comprehensive documentation pages for OtterScale, covering getting started guides, scope management, basic infrastructure concepts, and service management features. The changes establish the foundational documentation structure with detailed descriptions of platform capabilities.

Key changes:

  • Added getting started guide and scope management documentation
  • Created documentation for basic infrastructure features (machines, networking, configuration)
  • Added service-specific documentation pages (applications, compute, models, storage, settings)

Reviewed changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/content/docs/get-started.md Introduces new users to OtterScale with prerequisites and next steps navigation
src/content/docs/scope.md Documents scope management for organizing resources and controlling access
src/content/docs/basic/machines.md Documents machine management including adding and monitoring infrastructure
src/content/docs/basic/networking.md Documents network configuration for interfaces, DNS, and firewall
src/content/docs/basic/configuration.md Documents global system settings and user management
src/content/docs/service/applications.md Documents application workload management including deployments and secrets
src/content/docs/service/compute.md Documents VM creation and management procedures
src/content/docs/service/models.md Documents LLM model deployment and management
src/content/docs/service/storage.md Documents storage management including OSDs, pools, and object storage
src/content/docs/service/settings.md Documents application-specific settings and access control
astro.config.mjs Updates sidebar navigation to include new documentation structure

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

Comment thread astro.config.mjs
Comment on lines +47 to +51
label: '基礎',
autogenerate: { directory: 'basic' }
},
{
label: '服務',

Copilot AI Nov 26, 2025

Copy link

Choose a reason for hiding this comment

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

The sidebar uses Chinese labels ('基礎' and '服務') while the rest of the configuration uses English labels ('Get Started', 'Scope'). This creates inconsistency in the navigation. Consider using English labels ('Basic' and 'Service') to maintain consistency, or provide localized sidebars if multi-language support is intended.

Suggested change
label: '基礎',
autogenerate: { directory: 'basic' }
},
{
label: '服務',
label: 'Basic',
autogenerate: { directory: 'basic' }
},
{
label: 'Service',

Copilot uses AI. Check for mistakes.
Once you are set up, you can proceed to:
- [Manage Scopes](/scope)
- [Explore Basic Features](/basic/machines)
- [Deploy Applications](/application/applications)

Copilot AI Nov 26, 2025

Copy link

Choose a reason for hiding this comment

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

The link path /application/applications is incorrect. Based on the file structure, this should be /service/applications since the applications.md file is located in the service directory, not an application directory.

Suggested change
- [Deploy Applications](/application/applications)
- [Deploy Applications](/service/applications)

Copilot uses AI. Check for mistakes.
@KUASWoodyLIN
KUASWoodyLIN deleted the 13-add-documentation-structure branch November 28, 2025 07:47
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.

Add Documentation Structure

2 participants