Skip to content

Conversation

flynneva
Copy link

Closes #20

@flynneva
Copy link
Author

@oprypin took a shot at implementing #20's feature request. Let me know if you have any questions!

if not result:
result = nav_parser.resolve_yaml_nav(nav_data)
return result or []
def _resolve_directories_in_nav(
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@oprypin these changes were just to expose the nav_parser to the plugin by making this a method of the plugin.

@flynneva flynneva force-pushed the 20-remove-files-if-excluded branch 2 times, most recently from 2f8112c to 6fa9577 Compare March 29, 2023 18:04
Signed-off-by: Evan Flynn <evan.flynn@apex.ai>
@flynneva flynneva force-pushed the 20-remove-files-if-excluded branch from 6fa9577 to d2bafac Compare March 29, 2023 22:05
Signed-off-by: Evan Flynn <evan.flynn@apex.ai>
@flynneva flynneva force-pushed the 20-remove-files-if-excluded branch from 98789fd to 46a948a Compare May 9, 2023 19:29
@reteps
Copy link

reteps commented Mar 6, 2025

@oprypin any way to move this forward?

@reteps
Copy link

reteps commented Mar 7, 2025

I would be happy to re-implement this PR too!

or f not in files.documentation_pages()
):
return True
log.warning(f"File excluded from navigation file: {f.src_uri}")
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@flynneva Can you have this not emit a warning? This would fail strict doc builds.

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.

what if we want to exclude md files from being built by mkdocs if they are not listed in literate-nav file?

4 participants