-
Notifications
You must be signed in to change notification settings - Fork 893
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
Taxonomies don't work for docs-only site #716
Comments
We are also having this same issue. We wouldn't like to have a homepage to make it work. |
I'm planning on updating the mostlydocs site in the near term.. hoping to get at least #759 merged down into docsy first and then i'll look into issues like these too |
Ok so there's a couple of things going on here:
Example correct configuration for #disableKinds = ["taxonomy", "taxonomyTerm"]
[taxonomies]
tag = "tags"
category = "categories"
[params.taxonomy]
taxonomyCloud = ["tags", "categories"] once i figure out a good answer for supporting taxonomies generally i'll make a PR to update the template, but hopefully this puts you on the right track for now |
@gwatts Looking forward to how taxonomies are supported. Thank you! |
@mhincapie @honzik20 - Could you check out this PR and see if that helps you? gwatts/mostlydocs#3 |
@gwatts that pointed me in the right direction. Thank you so much 😄 . This is what worked for me in the
with the following config in the
|
Thanks @mhincapie - I've merged down the mostlydocs PR now; tags are up and running there by default now - @honzik20 if all looks good would you like to close this ticket out? |
Thanks for your work. |
Discussed in #698
Originally posted by honzik20 September 20, 2021
The mostly docs concept is great but it doesn't play nicely with taxonomies.
If my content is under en/, the terms pages don't list any topics - it seems they're not picking up the correct template. I suspect this has to do with the way the template cascades.
If I keep docs under en/docs, it works - but that means I need a homepage.
I've created a repo based on mostlyDocs with taxonomies enabled (and submodules updated) to replicate the issue: https://github.com/honzik20/mostlyDocs
The text was updated successfully, but these errors were encountered: