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

ENH: Upgrade quantecon-book-theme==0.7.0 #299

Closed
wants to merge 2 commits into from
Closed

ENH: Upgrade quantecon-book-theme==0.7.0 #299

wants to merge 2 commits into from

Conversation

mmcky
Copy link
Contributor

@mmcky mmcky commented Dec 13, 2023

This PR upgrades quantecon-book-theme==0.7.0 which gives us:

  1. author control on main page (including links)
  2. newly enabled margin notes support

Copy link

@github-actions github-actions bot temporarily deployed to pull request December 13, 2023 04:40 Inactive
@mmcky
Copy link
Contributor Author

mmcky commented Dec 13, 2023

@jstac -- we now have the ability to place author information on the front page and control the font size via _config.yml (thanks @AakashGfude). These are now also clickable links that can take you to an author page etc.

https://657935bc66c8e751b11f8a41--epic-agnesi-957267.netlify.app/intro.html

@HumphreyYang we will be able to use the latest release theme to add in the author information for the new lecture repositories.

@HumphreyYang
Copy link
Collaborator

@jstac -- we now have the ability to place author information on the front page and control the font size via _config.yml (thanks @AakashGfude). These are now also clickable links that can take you to an author page etc.

https://657935bc66c8e751b11f8a41--epic-agnesi-957267.netlify.app/intro.html

@HumphreyYang we will be able to use the latest release theme to add in the author information for the new lecture repositories.

Many thanks @mmcky and @AakashGfude. I will test them out once it is released.

@mmcky
Copy link
Contributor Author

mmcky commented Dec 13, 2023

Many thanks @mmcky and @AakashGfude. I will test them out once it is released.

@HumphreyYang it has been released to PyPI and is v0.7.0

You will need to add the following to the _config.yml

      authors:  
         - name: Thomas J. Sargent
           url: http://www.tomsargent.com/
         - name: John Stachurski
           url: https://johnstachurski.net/

under html_theme_options

See https://github.com/QuantEcon/lecture-python-programming.myst/pull/299/files for reference.

Let me know if you'd prefer I add this information to the source repositories or target the new lecture repositories with additional config.

@HumphreyYang
Copy link
Collaborator

Let me know if you'd prefer I add this information to the source repositories or target the new lecture repositories with additional config.

Many thanks @mmcky, please keep the old repositories if possible as it is as I have updated the mapping code to incorporate these changes : )

@HumphreyYang
Copy link
Collaborator

Let me know if you'd prefer I add this information to the source repositories or target the new lecture repositories with additional config.

Many thanks @mmcky, please keep the old repositories if possible as it is as I have updated the mapping code to incorporate these changes : )

Please find one of the output here:
https://quantecon.github.io/lecture-dle/intro.html

@mmcky
Copy link
Contributor Author

mmcky commented Dec 14, 2023

Closing as not required. The new lecture series will incorporate the latest theme.

@mmcky mmcky closed this Dec 14, 2023
@mmcky mmcky deleted the qebt-0.7.0 branch December 14, 2023 03:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants