-
Notifications
You must be signed in to change notification settings - Fork 30
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
Add new mkdocs feature to suppress INFO output from nav; cleanup ai-testbed docs #246
Conversation
INFO - The following pages exist in the docs directory, but are not included in the "nav" configuration:
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.
LGTM 👍
There are/were tons of If a |
Sure Kyle,
Let me take a look at this.
Varuni
…________________________________
From: Kyle Gerard Felker ***@***.***>
Sent: Thursday, July 27, 2023 6:41 PM
To: argonne-lcf/user-guides ***@***.***>
Cc: Katti Sastry, Varuni ***@***.***>; Mention ***@***.***>
Subject: Re: [argonne-lcf/user-guides] Add new mkdocs feature to suppress INFO output from nav; cleanup ai-testbed docs (PR #246)
There are/were tons of .md and other files (scripts, YAML, pure HTML) that were scattered around the ai-testbed/ subfolder that were not navigable from other pages or from the sidebar. I have removed some, and moved others in unused/ subdirs to let main doc authors decide what to do with them. But we shouldnt let this repo get cluttered with dead/placeholder documentation and other files too often. @vksastry<https://github.com/vksastry> can you take a look?
If a .md file is not supposed to appear in the navigation sidebar, but is instead linked to by other docs, it is best to put it into a not_in_nav/ subdirectory to make it explicit that this choice is intentional.
—
Reply to this email directly, view it on GitHub<#246 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AVFQWJG3HG4TRWRF7GHUX4LXSL4CBANCNFSM6AAAAAAZFMMB64>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Closes #173. Upcoming release of Mkdocs 1.5.x adds new options,
exclude_docs, not_in_nav
that follow gitignore syntax. Will use this to suppress the many INFOs that get printed out:See mkdocs/mkdocs#3224 and mkdocs/mkdocs#1888
Related #162.
--strict
and PR hook?not_in_nav
; force doc writers (sbank, ai-testbed pages) to put such docs in specially named subdirectories.