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.

Contributing Guide

The docs for the contributing guide of this repository: https://github.com/QuantEcon/quantecon-book-theme/blob/master/docs/contributing.md

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.2.6.tar.gz (24.9 kB view details)

Uploaded Source

Built Distribution

quantecon_book_theme-0.2.6-py3-none-any.whl (25.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: quantecon-book-theme-0.2.6.tar.gz
  • Upload date:
  • Size: 24.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.7.11

File hashes

Hashes for quantecon-book-theme-0.2.6.tar.gz
Algorithm Hash digest
SHA256 06aecc94fbb7190703f24b9416764b52652472be91cf91f4a9bb5bf13db3c8fc
MD5 6465f2b79e0f5c25afee83b6bc14b0a9
BLAKE2b-256 6f6bd1f26255309961d1da2b2393d6926934b591371cc841aacedf3827d4001c

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: quantecon_book_theme-0.2.6-py3-none-any.whl
  • Upload date:
  • Size: 25.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.7.11

File hashes

Hashes for quantecon_book_theme-0.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 97aba14b3c7b55f289c842c12f73c3d0573779fd2b8d14364934af5a9a4a52f3
MD5 01f3555e3dd500019f425fec2da919c7
BLAKE2b-256 84821879cea7e56d4864f1beaa88d6f0d8ce319efa0ca577c797d0e4416af8b5

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