Skip to content

Commit

Permalink
Fix path on versions
Browse files Browse the repository at this point in the history
  • Loading branch information
pierallard committed Jul 5, 2016
1 parent 2c4d9cd commit de8b8ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions _themes/akeneo_rtd/versions.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@
<dl>
<dt>Versions</dt>
{% for version in versions %}
<dd><a href="{{ version|e }}/index.html">{{ version|e }}</a></dd>
<dd><a href="/{{ version|e }}/index.html">{{ version|e }}</a></dd>
{% endfor %}
</dl>
</div>
</div>

6 changes: 3 additions & 3 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,18 +58,18 @@
# built documents.
#
# The short X.Y version.
version = 'latest'
version = 'master'
html_context = {
# Warning: These versions will be deleted on documenation deploy.
'versions': ['latest', '1.5', '1.4', '1.3'],
'versions': ['master', '1.5', '1.4', '1.3'],
'css_files': [
'https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.css',
'_static/css/akeneo.css',
],
'display_github': True,
'github_user': 'akeneo',
'github_repo': 'pim-docs',
'github_version': ('master' if version == 'latest' else version)+'/',
'github_version': version+'/',
'source_suffix': '.rst',
}
# The full version, including alpha/beta/rc tags.
Expand Down

0 comments on commit de8b8ee

Please sign in to comment.