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

Fix rest_api spec being fetched from outdated link #85

Merged
merged 2 commits into from
Sep 10, 2024

Conversation

pedro-psb
Copy link
Member

On the time of the docs transitioning pulp-docs was using the legacy server as a source of the api.json, which were doomed to become outdated. This was mostly to keep CI working while the solution was being implemented.

Now that the api schemas for docs are being generated in pulp-docs repo, we can use that as the up-to-date source.

Closes: #84

"""
if repo_name == "pulpcore":
return "core"
# E.g: "pulp-ostree" -> "pulp_ostree" -> ("", "pulp_", "ostree")
Copy link
Member

Choose a reason for hiding this comment

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

Uhh, that's a bit of a dangerous assumption.
I guess the only way to "know" is to look into the template config of the plugin.
Does this run with all the plugins checked out side by side?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, it's possible to get from there, I'll do that.

@pedro-psb pedro-psb requested a review from mdellweg September 10, 2024 15:13
Copy link
Member

@mdellweg mdellweg left a comment

Choose a reason for hiding this comment

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

Thank you!

@pedro-psb pedro-psb merged commit 5ad6933 into pulp:main Sep 10, 2024
4 checks passed
@pedro-psb pedro-psb deleted the fix-restapi-fetch-url branch September 10, 2024 16:50
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.

Description for the "q" filter was not updated in the REST API docs
3 participants