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

Updated Archive Script #9073

Merged
merged 1 commit into from
Jul 17, 2019
Merged

Updated Archive Script #9073

merged 1 commit into from
Jul 17, 2019

Conversation

ollypom
Copy link
Contributor

@ollypom ollypom commented Jul 16, 2019

Proposed changes

@allysmith424 I was doing a bit of testing on the Archive script and noticed it wasn't working correctly.

The script is meant to "clean out" the content in folders that are not part of an archive release. I.e. Docker Hub which is live content. However somewhere along the line the script stopped working.

This is whats meant to happen:

image

Which is the case in https://docs.docker.com/v17.06/docker-hub/ however this currently isn't happening, so all the Docker hub content is still in the archive image i.e. https://docs.docker.com/v18.03/docker-hub/.

Affected archive images 17.12, 18.03 which probably should be retrospectively cleaned up.

This makes more sense why we have to manually remove the entries from the ToC after your run the archive script, the content should be deleted! But its not today, hence why index.md is still being served rather than index.html after we clean up the ToC.

Unreleased project version (optional)

Related issues (optional)

@ollypom ollypom requested a review from allysmith424 July 16, 2019 21:03
@GordonTheTurtle
Copy link

Deploy preview for docsdocker ready!

Built with commit 8121f4e

https://deploy-preview-9073--docsdocker.netlify.com

Copy link
Contributor

@allysmith424 allysmith424 left a comment

Choose a reason for hiding this comment

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

Looks good -- nice work Olly

@allysmith424 allysmith424 merged commit 0af22ea into docker:master Jul 17, 2019
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