Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 3 commits into from
Jun 15, 2022
Merged

Conversation

Tahul
Copy link
Contributor

@Tahul Tahul commented Jun 15, 2022

❓ 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
Copy link

netlify bot commented Jun 15, 2022

βœ… Deploy Preview for nuxt-content ready!

Name Link
πŸ”¨ Latest commit 5907c4c
πŸ” Latest deploy log https://app.netlify.com/sites/nuxt-content/deploys/62aa09a449af1400093ba554
😎 Deploy Preview https://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.

Copy link
Member

@farnabaz farnabaz left a comment

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 main Jun 15, 2022
@Tahul Tahul deleted the feat/dir-navigation branch June 15, 2022 17:09
@farnabaz farnabaz mentioned this pull request Aug 12, 2022
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.

2 participants