Skip to content

feat(navigation): allow _dir.yml to filter navigation - #1261

Merged
Tahul merged 3 commits into
mainfrom
feat/dir-navigation
Jun 15, 2022
Merged

feat(navigation): allow _dir.yml to filter navigation#1261
Tahul merged 3 commits into
mainfrom
feat/dir-navigation

Conversation

@Tahul

Copy link
Copy Markdown
Contributor

❓ Type of change

  • 👌 Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)

📚 Description

The _dir.yml has no control over navigation, it only inherits picked fields.

Added the support for navigation: false in _dir.yml.

I think it should be consistent with Front Matter features.

I also improved the navigation documentation page a lot, and fixed ReadMore component that was missing from docs but used in multiple pages.

📝 Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@netlify

netlifyBot commented Jun 15, 2022

Copy link
Copy Markdown

Deploy Preview for nuxt-content ready!

NameLink
🔨 Latest commit5907c4c
🔍 Latest deploy loghttps://app.netlify.com/sites/nuxt-content/deploys/62aa09a449af1400093ba554
😎 Deploy Previewhttps://deploy-preview-1261--nuxt-content.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 site settings.

@farnabazfarnabaz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM 👍

@Tahul
Tahul merged commit fa45652 into mainJun 15, 2022
@Tahul
Tahul deleted the feat/dir-navigation branch June 15, 2022 17:09
@farnabazfarnabaz mentioned this pull request Aug 12, 2022
Sign up for freeto 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

@Tahul@farnabaz