Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<select>
{{#each nodes}}
<option translate="no" value="{{url}}"{{#if isCurrentVersion}} selected disabled{{/if}}>
{{version}}
{{version}}{{#if retired}} (retired){{/if}}
</option>
{{/each}}
</select>
Expand Down

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions lib/ex_doc.ex
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,8 @@ defmodule ExDoc do
* `versionNodes` - an array of `{"version":"vNUMBER", "url":url}` listing
all documented versions and their URLs. ExDoc will automatically match
the version of the package with the one in the array to mark as current.
Nodes may also include `"latest": true` to mark the latest version and
`"retired": true` to mark retired versions.
"""
@ex_doc_version Mix.Project.config()[:version]

Expand Down
Loading