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(config)!: single source of truth for merged config #794

Merged
merged 4 commits into from Jan 27, 2023

Conversation

Tahul
Copy link
Contributor

@Tahul Tahul commented Jan 27, 2023

This PRs drops useCurrentNavigation in favored of an improved version of useDocus.

It also properly fixes the inheritance issue we have over some configuration fields.

We can now configure: titleTemplate, main, header, footer, aside keys from any level including (in order of priority, lowest to highest):

  • useAppConfig()
  • _dir.yml
  • page.md

@nuxt-studio
Copy link

nuxt-studio bot commented Jan 27, 2023

Deploy Preview for docus ready!

Name Link
🔨 Latest commit 0d49eb3
😎 Deploy Preview https://docus.dev?preview=1acc2eec01f97d38cd9fdd41a57bc48a2c009df18dc5bd7bd48542ce78301074

@nuxt-studio-dev
Copy link

Live Preview ready!

Name Edit Preview Latest Commit
docus Edit on Studio ↗︎ View Live Preview e7023f9

@vercel
Copy link

vercel bot commented Jan 27, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
docus ✅ Ready (Inspect) Visit Preview Jan 27, 2023 at 5:26PM (UTC)

@Tahul Tahul merged commit df761a7 into main Jan 27, 2023
@Tahul Tahul deleted the feat/config-rework branch January 27, 2023 17:40
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.

None yet

1 participant