Skip to main content

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:

  1. Install the theme

pip install git+https://github.com/QuantEcon/quantecon-book-theme.git

  1. 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:

  1. Delete the file tests/test_build/test_build_book.html.
  2. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

quantecon-book-theme-0.1.6.tar.gz (44.7 kB view details)

Uploaded Source

Built Distribution

quantecon_book_theme-0.1.6-py3-none-any.whl (52.4 kB view details)

Uploaded Python 3

File details

Details for the file quantecon-book-theme-0.1.6.tar.gz.

File metadata

  • Download URL: quantecon-book-theme-0.1.6.tar.gz
  • Upload date:
  • Size: 44.7 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

Hashes for quantecon-book-theme-0.1.6.tar.gz
Algorithm Hash digest
SHA256 b5b6fc89ab2e82ab471768c28156139ce1f98fe7cd4a1c2611854797ed094344
MD5 f1952aba4df73c013e7ad82be9d64f9b
BLAKE2b-256 f553335dfed4dbbfab1de723d1a1c753fb922620443d5cfffefd1ebbd8177f26

See more details on using hashes here.

Provenance

File details

Details for the file quantecon_book_theme-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: quantecon_book_theme-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 52.4 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

Hashes for quantecon_book_theme-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 615eace9381e2e26d8a80a2e453f143d259f17978297caa6bd91ee42951c1085
MD5 7976ac88a7f7dbd6bacf252564ebc6ba
BLAKE2b-256 abd3f79e90449800164c6a893023853cfa700c2ce3ab61aabdf3db9ea67e7f56

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page