Actions
Issue #7766
closeddocs for older versions of pulpcore overwrite latest docs
Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Plugin Template
Sprint:
Sprint 89
Quarter:
Q4-2020
Description
The docs publishing code needs to check if the docs being published are for a Y release that is not the latest. In this case the docs should only be published under the 3.Y directory and not at the root.
Actions
Don't publish docs to the root if not the latest version
This patch updates the script that publishes docs to pulpproject.org. The version of the docs being published is compared to the version of the package on PyPI. If the latest version of the package on PyPI is equal to the version of the docs being published, the site root is updated with the docs. Otherwise the docs are published to 3.y and 3.y.z directories.
re: #7766 https://pulp.plan.io/issues/7766