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

Remove fallback for modules/plugins in ansible/ansible that didn't work since ansible-base/Ansible 2.10 #42

Merged
merged 1 commit into from
Jul 4, 2023

Conversation

felixfontein
Copy link
Collaborator

Fixes the first part of #33. This case right now mainly prevents that some pages have an Edit on GitHub link. All plugin/module/role pages are covered by the if check_meta and 'github_url' in meta (ansibull-docs includes github_url in the page's meta if it can figure the URL out) and {% elif pagename.startswith('collections/') %} cases.

@oraNod
Copy link
Contributor

oraNod commented Jul 3, 2023

@felixfontein This looks like it works to me. I deployed to the test site: http://docs.testing.ansible.com/ansible/devel/index.html

According to the getting started page that @Andersson007 pointed out in #33 I can see the Edit on GitHub link:

image

Copy link
Contributor

@oraNod oraNod left a comment

Choose a reason for hiding this comment

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

LGTM

@felixfontein felixfontein merged commit ddecebb into ansible:devel Jul 4, 2023
@felixfontein felixfontein deleted the edit-on-gh branch July 4, 2023 19:13
@felixfontein
Copy link
Collaborator Author

@oraNod thanks for testing and reviewing this!

felixfontein added a commit to felixfontein/ansible-documentation that referenced this pull request Jul 4, 2023
…rk since ansible-base/Ansible 2.10. (ansible#42)

(cherry picked from commit ddecebb)
oraNod pushed a commit that referenced this pull request Jul 5, 2023
…rk since ansible-base/Ansible 2.10. (#42) (#49)

(cherry picked from commit ddecebb)
@Andersson007
Copy link
Contributor

@felixfontein thanks for fixing this! @oraNod thanks for reviewing!

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.

3 participants