Skip to content
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

Move ref docs menus to manageiq-documentation branches #913

Merged
merged 1 commit into from
Oct 21, 2020

Conversation

@Fryguy Fryguy changed the title [WIP] Move ref docs menus to manageiq-documentation branches Move ref docs menus to manageiq-documentation branches Oct 20, 2020
Miq.menus_dir.glob("ref_menu_*.yml").sort.map(&:to_s).tap do |menus|
latest = menus.index { |m| m.include?("ref_menu_latest.yml") }
menus << menus.delete_at(latest) if latest
end
Copy link
Member Author

Choose a reason for hiding this comment

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

This part is needed to deal with someone doing bin/miq serve directly but without building the docs. Previously the menu files would exist and this would be fine, but now they won't exist unless one builds the docs first.

@Fryguy
Copy link
Member Author

Fryguy commented Oct 20, 2020

This PR will be red until the dependent PRs are merged...Unfortunately, since it's multiple branches, I can't do any kind of cross-repo thing with it.

@chessbyte chessbyte merged commit bc0d6a7 into ManageIQ:master Oct 21, 2020
@Fryguy Fryguy deleted the move_menus_to_docs_repo branch December 4, 2020 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants