Repository navigation
Allows to restrict included toc items by their level - #450
funkyfuture wants to merge 4 commits into
Conversation
Asserts that mkdoc's AnchorLink has a property named 'level'
|
Thanks for your PR. Three notes:
|
when i run do you have a hint what may cause that?
i'm not sure if there's a misunderstanding. this is not about excluding headings from a page's contents, but from the toc on the side. these are
this is anticipating that the feature will depend on a future release of |
|
Regarding the error, you are probably running a node version below 5. I understood what you wanted to do, but I won't merge something that depends on a future release of MkDocs that isn't even released. Furthermore, I want to keep things backward compatible, as many, many people are probably running 0.16.x right now. Sorry, but for me this PR doesn't sound like a good idea, so I cannot merge it. |
as i stated this is a proof-of-concept in regards to the linked pr and i don't expect it to be merged before the dependent is released. thus i appreciate the debate towards a solution. of course i can work with patched versions of |
|
Okay, but as this is a proof of concept which depends on a release of an upstream project that isn't even scheduled with a feature that isn't even merged, I would ask you to close it, because it is unclear how long it will float around here. You can re-open it later, when the feature is merged into MkDocs and then we can think about how we will tackle the problem. |
as they already slightly diversed, it seems useful to ensure the contents are identical.
|
okay. i amended some commits regarding the building you might want to cherry-pick. |
|
Thanks! |
|
I updated the contributing.md with a link to the build theme and symlinked the file in the docs to the top-level file - that was a good idea. The scripts are bound to change, will update them later. Closing this issue (for) now. |
asserts that mkdoc's AnchorLink has a property named 'level', see mkdocs/mkdocs#1272.
so, atm this is a proof-of-concept.