website-v2
website-v2 copied to clipboard
fix: revert back `/2.x`
Update @docus/core version to allow Semvers in content files name.
This update will ignore pattern /^(\d+)(\.\d+)*(\.x)?$/. File which match this pattern will same same slug as file name.
1/index.md --> /1
1.1/index.md -> /1.1
1.x/index.md --> /1.x
1.2.x/index.md --> /1.2.x
Awesome! Do you mind to update content/ directory and remove redirect rules in static/_redirects?
There is small issue in AsideNavigation component. Navigation shows a back button in Docs home page.
@farnabaz Sorry I didn't react. Do you want me to update the Aside (remove/update this back link), in order to proceed further?
@smarroufin It would be great if you can take a look at it and fix the behavior 🙏
I haven't seen any Docus website with this back button working. In which case does it show? :shrug: If it was just me, I'd simply remove it.
@Tahul might remember the logic/reason of this back button?
@smarroufin @farnabaz Would you please help to resolve conflicts and merging this? 🙏
✔️ Deploy Preview for nuxt ready!
🔨 Explore the source changes: 1e38b732aec56f9d63389f740bbb2f5f07e20419
🔍 Inspect the deploy log: https://app.netlify.com/sites/nuxt/deploys/617993c6cac6250008b1262d
😎 Browse the preview: https://deploy-preview-1870--nuxt.netlify.app
@pi0 @farnabaz Discussed with Tahul, should not be needed anymore, plus we don't want it displayed. So I disabled it.
I don't know if it's related by I don't see the Version 2.15 in the left sidebar in the preview (https://deploy-preview-1870--nuxt.netlify.app)

Weird one. Might be due to the docus/core resolution :shrug: The issue is that github releases are not found, so there is no last release.
useFetch(async () => {
const { body } = await $docus.data('github-releases')
if (body?.releases?.length) {
lastRelease.value = body.releases[0].name
}
})
Oh that might be due of the environment variables not available for the preview url!