-
Notifications
You must be signed in to change notification settings - Fork 15
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
Cleanup gh-pages after recent nav changes #181
Comments
Pages exist that link to some of these docs that are still published (despite not being in the nav anymore). - name: authorino
import_url: 'https://github.com/kuadrant/authorino?edit_uri=/blob/main/&branch=main'
imports:
- /docs/user-guides/observability.md I got this error on main:
I suspect there may be other dangling files like this if you clean up other imports for other repos. The root of the problem here is that there's an expectation (a reasonable one) that all pages served on the docs site should also be in the nav somewhere. Unfortunately, the mkdocs multirepo nav_repo config imports all files that match the import file list/globs, regardless of if they are used or not. One option to find all dangling pages and put some guardrails in place for future is to explicitly list every file in the |
I can take a look at this, see if we can't add some automation to detect such dangling. Wouldn't necessarily make it a PR blocker, but it would be good if we could detect, so we can hone imports (ideally, moving away from globs - the nav is explicit, we'd ideally mirror that for file imports) |
@david-martin working on a draft: #188 |
https://github.com/Kuadrant/authorino/pull/513/files#r1920158568
We still have a bunch of old docs published that will resolve on dev, despite them no longer being in the nav for
main
/ dev. For example:https://docs.kuadrant.io/dev/authorino-operator/#installing-via-olm
^ no longer in the nav, so is an orphan doc. We probably need to go through gh-pages and clean these up manually, otherwise they'll go stale
The text was updated successfully, but these errors were encountered: