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

Configuration for generating download notebooks for QuantEcon #11

Open
mmcky opened this issue Nov 11, 2020 · 1 comment
Open

Configuration for generating download notebooks for QuantEcon #11

mmcky opened this issue Nov 11, 2020 · 1 comment

Comments

@mmcky
Copy link
Contributor

mmcky commented Nov 11, 2020

# ----------------
# sphinx-tojupyter
# ----------------

tojupyter_static_file_path = ["source/_static", "_static"]
tojupyter_kernels = {
    "python3": {
        "kernelspec": {
            "display_name": "Python",
            "language": "python3",
            "name": "python3"
            },
        "file_extension": ".py",
    },
}
tojupyter_target_html = True
tojupyter_urlpath = "https://python-programming.quantecon.org/"
tojupyter_image_urlpath = "https://python-programming.quantecon.org/_static/"
tojupyter_lang_synonyms = ["ipython", "ipython3", "python"]
tojupyter_images_markdown = True
tojupyter_allow_html_only=True
@mmcky
Copy link
Contributor Author

mmcky commented Nov 20, 2020

for pdf

    tojupyter_kernels:
      python3:
        kernelspec:
          display_name: "Python"
          language: python3
          name: python3
        file_extension: ".py"
    tojupyter_images_markdown: true
    tojupyter_template_path: ../templates/
    tojupyter_latex_template: latex.tpl
    tojupyter_latex_template_book: latex_book.tpl

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

No branches or pull requests

1 participant