Theme for Quantecon lectures
Project description
quantecon-book-theme
A Jupyter Book Theme for QuantEcon Book Style Projects
Usage
To use this theme in Jupyter Book:
- Install the theme
pip install git+https://github.com/QuantEcon/quantecon-book-theme.git
- Add the theme to your
_config.yml
file:
sphinx:
config:
html_theme: quantecon_book_theme
Updating Fixtures for Tests
Updating test regression files on layout changes
It is advisable to update the test files for file regression checks when releavant layout files change.
For example, at present we have a sidebar file-regression check to validate html across tests.
The file which it compares against is tests/test_build/test_build_book.html
.
If updating the sidebar html, then one of the easier steps to update this test file is:
- Delete the file
tests/test_build/test_build_book.html
. - Run
pytest
in your command line, which will then generate a new file. Check if the file is at par with your expectations, contains elements which you added/modified.
Now future pytests will test against this file, and the subsequent tests should pass.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file quantecon-book-theme-0.1.5.tar.gz
.
File metadata
- Download URL: quantecon-book-theme-0.1.5.tar.gz
- Upload date:
- Size: 44.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200814 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a532b361bb984caac42680c7499284d8d63e557995a638943fd2641d8045132c |
|
MD5 | 9a817d7845c5a54edfdb29c0414a5d4e |
|
BLAKE2b-256 | ec4344e79a0e80b7af4833759cce4adfdcbefe9b995e11c6a8c661bbcc0a7317 |
Provenance
File details
Details for the file quantecon_book_theme-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: quantecon_book_theme-0.1.5-py3-none-any.whl
- Upload date:
- Size: 52.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200814 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22f521d00e112369d19abb0095e542b6060a2a4b05cc40dbbeca144346ad537d |
|
MD5 | 736044d1e9bb94d33892b05154590423 |
|
BLAKE2b-256 | b7ec426a4093a2065bba461a5ac2706d66d5549caa53f8cf69268d19fa2fd1c4 |