Skip to content

Added a page for documenting where to find the api docs#201

Open
bluekiwidev wants to merge 3 commits intopelican-dev:mainfrom
bluekiwidev:main
Open

Added a page for documenting where to find the api docs#201
bluekiwidev wants to merge 3 commits intopelican-dev:mainfrom
bluekiwidev:main

Conversation

@bluekiwidev
Copy link
Copy Markdown

@bluekiwidev bluekiwidev commented Apr 21, 2026

Was having trouble finding any documentation for the panel's api until I found it in the /docs/api endpoint. So I added it to the docs under the advanced tab to make it easier to figure out

Summary by CodeRabbit

Documentation

  • Added a new API documentation page providing guidance on accessing Pelican APIs, including authentication requirements and descriptions of available API types (Application API and Client API).

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 21, 2026

Deploy Preview for pelica ready!

Name Link
🔨 Latest commit 1046780
🔍 Latest deploy log https://app.netlify.com/projects/pelica/deploys/69e737537cedd200086ad9d2
😎 Deploy Preview https://deploy-preview-201--pelica.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 21, 2026

Warning

Rate limit exceeded

@bluekiwidev has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 26 minutes and 59 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 26 minutes and 59 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 7759dbe1-d298-43c7-a234-f54d6bde270a

📥 Commits

Reviewing files that changed from the base of the PR and between 8faa413 and 1046780.

📒 Files selected for processing (1)
  • docs/panel/advanced/api-docs.mdx
📝 Walkthrough

Walkthrough

A new API documentation page has been added to the documentation site with instructions for accessing Pelican API resources. The page includes usage examples, authentication requirements, and descriptions of available API types. The navigation sidebar has been updated to include this new documentation entry.

Changes

Cohort / File(s) Summary
New API Documentation
docs/panel/advanced/api-docs.mdx
Added new MDX page with Pelican API documentation overview, including authentication requirements, example URLs, and descriptions of Application and Client API types.
Documentation Navigation
sidebars.ts
Registered new API docs page in the Advanced sidebar category for navigation purposes.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 A new doc hops into view,
API paths, both old and new,
In sidebars it finds its place,
Helping users find their space!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The pull request title accurately describes the main change: adding a documentation page that guides users to the API documentation location.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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

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.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🧹 Nitpick comments (1)
docs/panel/advanced/api-docs.mdx (1)

19-20: Tighten wording to improve readability.

This section is clear, but phrasing is repetitive. A shorter version reads better in docs.

Suggested rewrite
-There are two types of API you can interact with. The first is the Application API. The application API is used more for adjusting the server configuration.
-The second is the client API. This API is more for interacting with the features that users normally interact with.
+There are two APIs you can interact with:
+- **Application API**: primarily for server configuration.
+- **Client API**: for user-facing features.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/panel/advanced/api-docs.mdx` around lines 19 - 20, The paragraph is
repetitive; replace the two sentences with a concise pair that names the two
APIs and their purposes: state that there are two APIs—the Application API (for
server/configuration changes) and the Client API (for user-facing features)—in a
single streamlined sentence or two, removing redundant phrases and normalizing
capitalization ("Application API" and "Client API") to improve readability in
docs/panel/advanced/api-docs.mdx.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@docs/panel/advanced/api-docs.mdx`:
- Line 6: Replace the inline triple-backtick usage around /docs/api in the
sentence "The docs for the Pelican API can be found by going to ```/docs/api```
on your panel address." with single backticks so the path is formatted as inline
code (i.e., change ```/docs/api``` to `/docs/api`) to produce valid MDX inline
code formatting.

---

Nitpick comments:
In `@docs/panel/advanced/api-docs.mdx`:
- Around line 19-20: The paragraph is repetitive; replace the two sentences with
a concise pair that names the two APIs and their purposes: state that there are
two APIs—the Application API (for server/configuration changes) and the Client
API (for user-facing features)—in a single streamlined sentence or two, removing
redundant phrases and normalizing capitalization ("Application API" and "Client
API") to improve readability in docs/panel/advanced/api-docs.mdx.
🪄 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: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 73f21494-d2d4-4985-94f9-dc90e5a9757e

📥 Commits

Reviewing files that changed from the base of the PR and between 4f2bd24 and 8faa413.

📒 Files selected for processing (2)
  • docs/panel/advanced/api-docs.mdx
  • sidebars.ts
📜 Review details
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
  • GitHub Check: Redirect rules
  • GitHub Check: Header rules
  • GitHub Check: Pages changed
🧰 Additional context used
🧠 Learnings (1)
📚 Learning: 2026-02-02T01:29:01.167Z
Learnt from: parkervcp
Repo: pelican-dev/docs PR: 186
File: docs/guides/disk-quotas/ext4-xfs.mdx:176-192
Timestamp: 2026-02-02T01:29:01.167Z
Learning: In the Pelican docs repo (pelican-dev/docs), trailing slashes on device paths (e.g., /dev/sdb/) in the disk quotas guidance should not be flagged. Accept both forms and ensure this exception is only applied to device path examples in documentation; maintain standard validation for other content.

Applied to files:

  • docs/panel/advanced/api-docs.mdx
🔇 Additional comments (1)
sidebars.ts (1)

34-34: Sidebar entry is correctly wired.

'panel/advanced/api-docs' is added in the right category and matches the new doc path.

Comment thread docs/panel/advanced/api-docs.mdx Outdated
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.

1 participant