Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switches to the new docs_italia_theme as default #120

Merged
merged 1 commit into from
Aug 7, 2018
Merged

Conversation

pdavide
Copy link
Member

@pdavide pdavide commented Aug 2, 2018

  • adds branch reference to install the new theme package
  • renames docs-italia-theme to docs_italia_theme
  • adds docs_italia_theme as default extension

fixes #51

- adds branch reference to install the new theme package
- renames docs-italia-theme to docs_italia_theme
- adds docs_italia_theme as default extension
@pdavide pdavide requested a review from xrmx August 2, 2018 16:42
@@ -148,5 +148,6 @@ else:
# Add custom RTD extension
if 'extensions' in globals():
extensions.append("readthedocs_ext.readthedocs")
extensions.append("docs_italia_theme")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Am not sure you need to add the theme as an extension, does this fix something?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need it because this theme is not only a collection of static templates and assets but include also many features added as extensions in its __init__.py. If we don't add the theme as an extension they don't work.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok then

@xrmx xrmx merged commit 49c3b37 into italia-2.3.13 Aug 7, 2018
@xrmx xrmx deleted the switch-theme branch August 22, 2018 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Nuovo nome del package python per il tema Docs Italia
2 participants