Skip to content

Commit

Permalink
set version number everywhere. avoid self closing HTML tag. set exter…
Browse files Browse the repository at this point in the history
…nal_link from conf.py.
  • Loading branch information
schettino72 committed May 8, 2021
1 parent fc2c1ff commit 775fd89
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
6 changes: 0 additions & 6 deletions docs/source/_templates/util/extlinks.html

This file was deleted.

14 changes: 10 additions & 4 deletions docs/source/conf.py
Expand Up @@ -20,20 +20,20 @@
# -- Project information -----------------------------------------------------

project = 'sphinx_press_theme'
copyright = '2018, Eduardo Naufel Schettino'
copyright = '2018-present, Eduardo Naufel Schettino'
author = 'Eduardo Naufel Schettino'

# The short X.Y version
version = ''
version = '0.6'
# The full version, including alpha/beta/rc tags
release = '0.5.1'
release = '0.6.1'


# -- General configuration ---------------------------------------------------

# If your documentation needs a minimal Sphinx version, state it here.
#
needs_sphinx = '2.0'
needs_sphinx = '3.0'

# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
Expand Down Expand Up @@ -102,6 +102,12 @@
#
# html_sidebars = {'**': ['util/sidetoc.html']}

html_theme_options = {
"external_links": [
("Github", "https://github.com/schettino72/sphinx_press_theme"),
],
}


# -- Options for HTMLHelp output ---------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion sphinx_press_theme/__init__.py
Expand Up @@ -5,7 +5,7 @@
from sphinx import addnodes
from sphinx.util.osutil import relative_uri

__version__ = (0, 4, 0)
__version__ = (0, 6, 1)


class SimpleTocTreeCollector(EnvironmentCollector):
Expand Down
2 changes: 1 addition & 1 deletion sphinx_press_theme/util/extlinks.html
Expand Up @@ -4,7 +4,7 @@
<div class="nav-item">
<a href="{{ url }}"
class="nav-link external">
{{ label }} <outboundlink/>
{{ label }} <outboundlink></outboundlink>
</a>
</div>
{% endfor %}
Expand Down

0 comments on commit 775fd89

Please sign in to comment.