Skip to content

Commit

Permalink
Merge pull request #118 from ru-fu/sidebar-title
Browse files Browse the repository at this point in the history
make the sidebar title configurable
  • Loading branch information
ru-fu authored Oct 11, 2023
2 parents 50baf2b + f64ea62 commit f45199b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 5 additions & 0 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,11 @@
html_last_updated_fmt = ''
html_permalinks_icon = '¶'

if html_title == '':
html_theme_options = {
'sidebar_hide_name': True
}

############################################################
### Additional files
############################################################
Expand Down
6 changes: 4 additions & 2 deletions custom_conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@
project = 'Documentation starter pack'
author = 'Canonical Group Ltd'

# Uncomment if your product uses release numbers
# release = '1.0'
# The title you want to display for the documentation in the sidebar.
# You might want to include a version number here.
# To not display any title, set this option to an empty string.
html_title = project + ' documentation'

# The default value uses the current year as the copyright year.
#
Expand Down

0 comments on commit f45199b

Please sign in to comment.