# Delete docs for a release (Documenter.jl)

**URL:** <https://discourse.julialang.org/t/delete-docs-for-a-release-documenter-jl/13568>\
**Category:** Tooling\
**Tags:** documenter\
**Created:** [August 16, 2018, 1:39pm UTC](https://discourse.julialang.org/t/delete-docs-for-a-release-documenter-jl/13568 "2018-08-16T13:39:39Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![traktofon](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/traktofon/32/591_2.png) [@traktofon](https://discourse.julialang.org/u/traktofon)\
**Post date:** [August 16, 2018, 1:39pm UTC](https://discourse.julialang.org/t/delete-docs-for-a-release-documenter-jl/13568/1 "2018-08-16T13:39:39Z")

</div>

So I’ve updated my package for Julia 1.0, created a release, which passes Travis, but the Metadata PR (via attobot) somehow failed and I’m too stupid to understand why. So I have given up on this for now and deleted my release and tag. However Documenter.jl has built the documentation for the no-longer existing release and dutifully dumped it to my gh-pages branch. For consistency, is there a way to delete the documentation for this release?

---

<div class="post-metadata">

**Author:** ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)\
**Post date:** [August 16, 2018, 1:45pm UTC](https://discourse.julialang.org/t/delete-docs-for-a-release-documenter-jl/13568/2 "2018-08-16T13:45:59Z")

</div>

Remove the folder from `gh-pages` and remove the corresponding entry in the `gh-pages/versions.js` file.

---

<div class="post-metadata">

**Author:** ![traktofon](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/traktofon/32/591_2.png) [@traktofon](https://discourse.julialang.org/u/traktofon)\
**Post date:** [August 16, 2018, 2:13pm UTC](https://discourse.julialang.org/t/delete-docs-for-a-release-documenter-jl/13568/3 "2018-08-16T14:13:44Z")

</div>

I guess that works, thanks.

How about aliases like “latest” and “release-0.x” which pointed to the deleted release?

---

<div class="post-metadata">

**Author:** ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)\
**Post date:** [August 16, 2018, 2:14pm UTC](https://discourse.julialang.org/t/delete-docs-for-a-release-documenter-jl/13568/4 "2018-08-16T14:14:24Z")

</div>

Feel free to remove them too.

---

<div class="post-metadata">

**Author:** ![traktofon](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/traktofon/32/591_2.png) [@traktofon](https://discourse.julialang.org/u/traktofon)\
**Post date:** [August 16, 2018, 2:15pm UTC](https://discourse.julialang.org/t/delete-docs-for-a-release-documenter-jl/13568/5 "2018-08-16T14:15:20Z")

</div>

How could I make them point to the previous release? Is there a way to rerun Documenter on the older release so that the aliases would be regenerated?

---

<div class="post-metadata">

**Author:** ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)\
**Post date:** [August 16, 2018, 2:15pm UTC](https://discourse.julialang.org/t/delete-docs-for-a-release-documenter-jl/13568/6 "2018-08-16T14:15:59Z")

</div>

Yea, you can just re-trigger the relevant Travis run.

---

<div class="post-metadata">

**Author:** ![traktofon](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/traktofon/32/591_2.png) [@traktofon](https://discourse.julialang.org/u/traktofon)\
**Post date:** [August 16, 2018, 2:16pm UTC](https://discourse.julialang.org/t/delete-docs-for-a-release-documenter-jl/13568/7 "2018-08-16T14:16:52Z")

</div>

Thanks, I’ll give that a try.

---

<div class="post-metadata">

**Author:** ![traktofon](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/traktofon/32/591_2.png) [@traktofon](https://discourse.julialang.org/u/traktofon)\
**Post date:** [August 16, 2018, 2:33pm UTC](https://discourse.julialang.org/t/delete-docs-for-a-release-documenter-jl/13568/8 "2018-08-16T14:33:20Z")

</div>

Re-triggering Travis has re-created the “stable” and “release-0.x” aliases, but not the “latest”. I guess I’ll live without it for now…

---

<div class="post-metadata">

**Author:** ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)\
**Post date:** [August 16, 2018, 2:39pm UTC](https://discourse.julialang.org/t/delete-docs-for-a-release-documenter-jl/13568/9 "2018-08-16T14:39:52Z")

</div>

`latest` is build if run from e.g. `master`. You probably re-triggered a tag-build?

---

<div class="post-metadata">

**Author:** ![traktofon](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/traktofon/32/591_2.png) [@traktofon](https://discourse.julialang.org/u/traktofon)\
**Post date:** [August 16, 2018, 2:47pm UTC](https://discourse.julialang.org/t/delete-docs-for-a-release-documenter-jl/13568/10 "2018-08-16T14:47:29Z")

</div>

Yes. I’ll just live without it until next time I commit to master.  
Thanks for your help!
