Skip to content

Clarify that hidden API endpoints are automatically noindexed#4575

Open
devin-ai-integration[bot] wants to merge 2 commits intomainfrom
fern/clarify-hidden-noindex
Open

Clarify that hidden API endpoints are automatically noindexed#4575
devin-ai-integration[bot] wants to merge 2 commits intomainfrom
fern/clarify-hidden-noindex

Conversation

@devin-ai-integration
Copy link
Contributor

@devin-ai-integration devin-ai-integration bot commented Mar 26, 2026

Summary

Updates documentation to clarify that API endpoints set to hidden: true in docs.yml are automatically excluded from search engine indexing — no separate noindex configuration is needed. This was unclear from existing docs and surfaced as a customer question.

Changes:

  • customize-api-ref.mdx: Updated the "Hiding endpoints" description to mention automatic noindex behavior.
  • hiding-content.mdx: Added a new "Hiding an API endpoint" section (between "Hiding a page" and "Hiding a section or version") with a YAML example and a link to the full endpoint-hiding configuration.
  • changelog/2026-03-26.mdx: Added changelog entry for this documentation improvement.

Updates since last revision

  • Addressed Vale style suggestions: removed "separately" adverb and "now" time-relative term across all three files.

Review & Testing Checklist for Human

  • Verify the auto-noindex claim is accurate: The core assertion — that hidden: true on an endpoint automatically applies noindex — was confirmed in Slack by Jon but should be verified against actual product behavior before merging.
  • Check that links resolve correctly: The new section links to /learn/docs/api-references/customize-api-ref#hiding-endpoints and the changelog links to /learn/docs/customization/hiding-content#hiding-an-api-endpoint. Verify both anchors work in the preview.
  • Preview the pages visually: Confirm the new "Hiding an API endpoint" section reads well in context between "Hiding a page" and "Hiding a section or version".

Notes

  • The change originated from a customer question (Dan Hanson) where "Ask AI" couldn't confirm whether noindex worked on API ref pages. Jon confirmed hidden endpoints automatically get noindex.

Link to Devin session: https://app.devin.ai/sessions/83e8f9119bef4f98970e93ad4edd669d

Co-Authored-By: bot_apk <apk@cognition.ai>
@devin-ai-integration devin-ai-integration bot requested a review from devalog as a code owner March 26, 2026 19:15
@devin-ai-integration
Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@fern-api
Copy link
Contributor

fern-api bot commented Mar 26, 2026

Requested by: jon
Slack thread: View conversation

### Hiding endpoints

You can hide an endpoint from the API Reference by setting `hidden` to `true`. The endpoint will still be accessible at its URL.
You can hide an endpoint from the API Reference by setting `hidden` to `true`. The endpoint will still be accessible at its URL but is automatically excluded from search engine indexing (`noindex`), so you don't need to set `noindex` separately.
Copy link
Contributor

Choose a reason for hiding this comment

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

📝 [vale] reported by reviewdog 🐶
[FernStyles.Adverbs] Remove 'separately' if it's not important to the meaning of the statement.


## Hidden API endpoints are automatically noindexed

API endpoints set to `hidden: true` in `docs.yml` are now documented as automatically excluded from search engine indexing. You don't need to separately configure `noindex` for hidden endpoints — hiding an endpoint removes it from both the sidebar and search results.
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ [vale] reported by reviewdog 🐶
[FernStyles.Current] Avoid time-relative terms like 'now' that become outdated


## Hidden API endpoints are automatically noindexed

API endpoints set to `hidden: true` in `docs.yml` are now documented as automatically excluded from search engine indexing. You don't need to separately configure `noindex` for hidden endpoints — hiding an endpoint removes it from both the sidebar and search results.
Copy link
Contributor

Choose a reason for hiding this comment

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

📝 [vale] reported by reviewdog 🐶
[FernStyles.Adverbs] Remove 'separately' if it's not important to the meaning of the statement.


## Hiding an API endpoint

You can hide individual API endpoints from the sidebar by setting `hidden: true` in the endpoint's layout configuration in `docs.yml`. Hidden endpoints are automatically excluded from search engine indexing — there's no need to separately set `noindex: true`.
Copy link
Contributor

Choose a reason for hiding this comment

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

📝 [vale] reported by reviewdog 🐶
[FernStyles.Adverbs] Remove 'separately' if it's not important to the meaning of the statement.

@github-actions
Copy link
Contributor

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