Skip to content

Commit fb06975

Browse files
added missing variables (#24)
* added missing variables * updated CHANGELOG * Update README.rst * Update README.rst Co-authored-by: Josh Izaac <[email protected]> * Update xanadu_sphinx_theme/theme.conf Co-authored-by: Josh Izaac <[email protected]> * Update .github/CHANGELOG.md Co-authored-by: Josh Izaac <[email protected]> * Update README.rst Co-authored-by: Josh Izaac <[email protected]> * Update README.rst Co-authored-by: Josh Izaac <[email protected]> * Update xanadu_sphinx_theme/theme.conf Co-authored-by: Josh Izaac <[email protected]> * updated version for release Co-authored-by: Josh Izaac <[email protected]>
1 parent 3555445 commit fb06975

File tree

4 files changed

+19
-3
lines changed

4 files changed

+19
-3
lines changed

.github/CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,19 @@
22

33
### Bug fixes
44

5+
* Added missing variables: `github_repo` and `gallery_dirs` to address the View on GitHub link not working for demos.
6+
[#24](https://github.com/XanaduAI/xanadu-sphinx-theme/pull/24)
7+
58
* Fixed a bug where author bio photos would appear squished. [#25](https://github.com/XanaduAI/xanadu-sphinx-theme/pull/25)
69

710
### Contributors
811

912
This release contains contributions from (in alphabetical order):
1013

14+
[Lucas Silbernagel](https://github.com/LucasSilbernagel)
1115
[Josh Izaac](https://github.com/josh146).
1216

13-
## Release 0.3.1 (current release)
17+
## Release 0.3.1
1418

1519
### Improvements
1620

README.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ Once installed, simply add or modify the following variables of your Sphinx
6161
6262
"navbar_home_link": "https://example.com",
6363
64+
"github_repo": "",
6465
"navbar_left_links": [
6566
{
6667
"name": "Tutorials",
@@ -119,6 +120,11 @@ the ``html_theme_options`` dictionary in your ``conf.py`` file.
119120

120121
``google_analytics_tracking_id``
121122
Google Analytics tracking ID to enable website analytics.
123+
124+
``github_repo``
125+
The GitHub organization and repository associated with the documentation. E.g.,
126+
for a GitHub repository https://github.com/Organization/repo, this should be
127+
``"github_repo": "Organization/repo"``.
122128

123129
Navigation Bar
124130
--------------
@@ -392,4 +398,4 @@ License
392398
The Xanadu Sphinx Theme is **free** and **open source**, released under the
393399
`Apache License, Version 2.0 <https://www.apache.org/licenses/LICENSE-2.0>`_.
394400

395-
.. license-end-inclusion-marker-do-not-remove
401+
.. license-end-inclusion-marker-do-not-remove

xanadu_sphinx_theme/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
using the following format: <major>.<minor>.<patch>[-<pre-release>].
44
"""
55

6-
__version__ = "0.4.0-dev"
6+
__version__ = "0.3.2"

xanadu_sphinx_theme/theme.conf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@ google_analytics_tracking_id =
5353
# List of extra copyright notices to place in the footer.
5454
extra_copyrights =
5555

56+
# GitHub organization and repository name of associated GitHub repo.
57+
# Used to ensure that 'View on GitHub' buttons work.
58+
github_repo =
59+
# Path where to save gallery generated examples
60+
gallery_dirs =
61+
5662
# Specify the title and description of the About section in the footer
5763
footer_about =
5864
# Provide lists of links to display in the footer

0 commit comments

Comments
 (0)