-
-
Notifications
You must be signed in to change notification settings - Fork 10
Add explicit flag to remove files not listed in navigation file #21
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
base: master
Are you sure you want to change the base?
Conversation
if not result: | ||
result = nav_parser.resolve_yaml_nav(nav_data) | ||
return result or [] | ||
def _resolve_directories_in_nav( |
There was a problem hiding this comment.
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.
2f8112c
to
6fa9577
Compare
Signed-off-by: Evan Flynn <evan.flynn@apex.ai>
6fa9577
to
d2bafac
Compare
Signed-off-by: Evan Flynn <evan.flynn@apex.ai>
98789fd
to
46a948a
Compare
@oprypin any way to move this forward? |
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}") |
There was a problem hiding this comment.
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.
Closes #20