-
Notifications
You must be signed in to change notification settings - Fork 9
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
Blog and navigation issue #3
Comments
A blog isn't directly supported by Docable yet (though it's certainly something I'll add eventually - there's a lot of little features like that, searching, anchor linking, code block copying, etc. that still need work - guess I should add some issues for those). That said, Statiq is flexible enough that adding it yourself is pretty trivial using the archives feature. When you get right down to it, this one file from CleanBlog is doing most of the heavy lifting. That looks like a folder you tell it, finds all the posts, and then generates pages of them. You can add other features like tag-based archives by borrowing other files from CleanBlog until a blog is directly in Docable. Granted, they might need a little tweaking (I.e. the CleanBlog archive references some settings that you won't have in Docable like "PostSources"). Alternatively, now that you know it's in the plans, you could move forward and back-burner the blog bits until they officially land in Docable.
That's interesting, and might be a bug (?). Given the file layout I would have expected a "Backend" and "Infrastructure" item, not the "Architecture" one. Is there anything that might be "promoting" the Here's the partial that generates that part of the navigation: https://github.com/statiqdev/Docable/blob/main/input/Shared/_RightNavigation.cshtml - I'd be curious to see what you get if you overwrite that by adding it in the same |
I went ahead and opened #4 to track blogging support. |
My apologies, it turned out I hade a copy of the architecture.md file in my root input folder, probably from playing around before I started to add in the input folders from my wyam site. |
Oh good - glad this one wasn't something strange! And thanks a lot for opening those other issues, keep them coming :) |
Hey, it's me again (from the Samson repo) :-)
As I understand it this is the theme to use once Statiq.Docs is ready to generate documentation from C# xml comments?
Blog?
I now have a site where I can navigate my structure of markdown input files, but in my Wyam site I also have the blog (entered via link in the top level navigation). Can I achieve that here (preferrably without building another site with the CleanBlog theme...)?
Navigation issue
Also, I have this input structure:
But for the "backend" folder both "Backend" and "Architecture" comes out in top navigation. The top level files under infrastructure does not show in top navigation. I have no files where ShowInNavigation is set to false.
Why is "Architecture" rendered in top navigation?
The text was updated successfully, but these errors were encountered: