├── docs ├── _config.yml ├── CNAME ├── Gemfile ├── favicon.ico ├── jupinx-logo.png ├── 404.md ├── sphinx │ ├── _static │ │ └── theme_overrides.css │ ├── Makefile │ ├── sphinxcontrib-jupyter.rst │ ├── index.rst │ ├── quickstart.rst │ ├── jupinx.rst │ └── conf.py ├── index.md ├── windows.md ├── site.css ├── _layouts │ └── default.html └── tutorial.md ├── MANIFEST.in ├── jupinx ├── util │ ├── __init__.py │ └── template.py ├── cmd │ ├── __init__.py │ ├── build.py │ └── quickstart.py ├── templates │ └── quickstart │ │ ├── _static │ │ └── fill_demo1.png │ │ ├── master_doc.rst_t │ │ ├── demo_notebook.rst_t │ │ ├── Makefile_t │ │ └── conf.py_t ├── theme │ └── minimal │ │ ├── static │ │ ├── img │ │ │ └── code-block-fade.png │ │ ├── js │ │ │ └── base.js │ │ └── css │ │ │ └── base.css │ │ ├── README.md │ │ └── templates │ │ ├── error_report_template.html │ │ ├── html.tpl │ │ └── latex.tpl └── __init__.py ├── .gitignore ├── environment.yml ├── README.rst ├── .github └── workflows │ └── build.yml └── setup.py /docs/_config.yml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/CNAME: -------------------------------------------------------------------------------- 1 | jupinx.quantecon.org -------------------------------------------------------------------------------- /docs/Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | gem 'github-pages', group: :jekyll_plugins -------------------------------------------------------------------------------- /docs/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/QuantEcon/jupinx/master/docs/favicon.ico -------------------------------------------------------------------------------- /docs/jupinx-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/QuantEcon/jupinx/master/docs/jupinx-logo.png -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- 1 | include README.md 2 | recursive-include jupinx/templates * 3 | recursive-include jupinx/theme * -------------------------------------------------------------------------------- /docs/404.md: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | permalink: /404.html 4 | --- 5 | 6 | # 404 7 | Page not found :( 8 | -------------------------------------------------------------------------------- /jupinx/util/__init__.py: -------------------------------------------------------------------------------- 1 | """ 2 | jupinx.util 3 | ~~~~~~~~~~~ 4 | 5 | Utility functions for Jupinx. 6 | """ -------------------------------------------------------------------------------- /jupinx/cmd/__init__.py: -------------------------------------------------------------------------------- 1 | """ 2 | jupinx.cmd 3 | ~~~~~~~~~~ 4 | 5 | Modules for command line executables. 6 | """ -------------------------------------------------------------------------------- /jupinx/templates/quickstart/_static/fill_demo1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/QuantEcon/jupinx/master/jupinx/templates/quickstart/_static/fill_demo1.png -------------------------------------------------------------------------------- /jupinx/theme/minimal/static/img/code-block-fade.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/QuantEcon/jupinx/master/jupinx/theme/minimal/static/img/code-block-fade.png -------------------------------------------------------------------------------- /jupinx/theme/minimal/README.md: -------------------------------------------------------------------------------- 1 | # Minimal Theme 2 | 3 | This provides a minimal theme for sphinx-quickstart which will allow 4 | 5 | 1. `html`, and 6 | 2. `pdf` 7 | 8 | conversion. -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .cache/ 2 | .idea 3 | Jupinx.egg-info/ 4 | build/ 5 | dist/ 6 | 7 | docs/sphinx/_build/ 8 | docs/_site 9 | docs/Gemfile.lock 10 | 11 | jupinx/cmd/__pycache__/ 12 | jupinx/util/__pycache__/ 13 | jupinx/__pycache__/ 14 | 15 | .DS_Store -------------------------------------------------------------------------------- /environment.yml: -------------------------------------------------------------------------------- 1 | name: test-build 2 | channels: 3 | - default 4 | - conda-forge 5 | dependencies: 6 | - pip 7 | - python 8 | - jupyter 9 | - jupyterlab 10 | - nbconvert 11 | - pandoc 12 | - pandas 13 | - numba 14 | - numpy 15 | - matplotlib 16 | - networkx 17 | - sphinx=2.4.4 18 | - pip: 19 | - quantecon 20 | - joblib 21 | -------------------------------------------------------------------------------- /jupinx/__init__.py: -------------------------------------------------------------------------------- 1 | """ 2 | Jupinx 3 | ~~~~~~ 4 | 5 | The Jupinx documentation toolchain. 6 | """ 7 | 8 | import os 9 | import subprocess 10 | import warnings 11 | from os import path 12 | from subprocess import PIPE 13 | 14 | __version__ = '0.2.3' 15 | 16 | package_dir = path.abspath(path.dirname(__file__)) 17 | 18 | __display_version__ = __version__ # used for command line version 19 | -------------------------------------------------------------------------------- /docs/sphinx/_static/theme_overrides.css: -------------------------------------------------------------------------------- 1 | /* override table width restrictions */ 2 | @media screen and (min-width: 767px) { 3 | 4 | .wy-table-responsive table td { 5 | /* !important prevents the common CSS stylesheets from overriding 6 | this as on RTD they are loaded after this stylesheet */ 7 | white-space: normal !important; 8 | } 9 | 10 | .wy-table-responsive { 11 | overflow: visible !important; 12 | } 13 | } -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- 1 | jupinx 2 | ====== 3 | 4 | Jupyter + Sphinx Utilities and Tools 5 | 6 | Documentation and a Tutorial is available: https://jupinx.quantecon.org 7 | 8 | .. |status-docs| image:: https://readthedocs.org/projects/jupinx/badge/?version=latest 9 | :target: http://jupinx.readthedocs.io/en/latest/?badge=latest 10 | :alt: Documentation Status 11 | 12 | +---------------+ 13 | | |status-docs| | 14 | +---------------+ 15 | 16 | This software has been adapted from the sphinx documentation tools - http://www.sphinx-doc.org/ 17 | -------------------------------------------------------------------------------- /jupinx/templates/quickstart/master_doc.rst_t: -------------------------------------------------------------------------------- 1 | .. {{ project }} documentation master file, created by 2 | sphinx-quickstart on {{ now }}. 3 | You can adapt this file completely to your liking, but it should at least 4 | contain the root `toctree` directive. 5 | 6 | Welcome to {{ project }}'s documentation! 7 | ==========={{ project_underline }}================= 8 | 9 | .. toctree:: 10 | :maxdepth: {{ mastertocmaxdepth }} 11 | :caption: Contents: 12 | 13 | demo_notebook 14 | {{ mastertoctree }} 15 | 16 | Indices and tables 17 | ================== 18 | 19 | * :ref:`genindex` 20 | * :ref:`modindex` 21 | * :ref:`search` 22 | 23 | -------------------------------------------------------------------------------- /docs/sphinx/Makefile: -------------------------------------------------------------------------------- 1 | # Minimal makefile for Sphinx documentation 2 | # 3 | 4 | # You can set these variables from the command line. 5 | SPHINXOPTS = 6 | SPHINXBUILD = sphinx-build 7 | SPHINXPROJ = jupinx 8 | SOURCEDIR = . 9 | BUILDDIR = _build 10 | 11 | # Put it first so that "make" without argument is like "make help". 12 | help: 13 | @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) 14 | 15 | .PHONY: help Makefile 16 | 17 | # Catch-all target: route all unknown targets to Sphinx using the new 18 | # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). 19 | %: Makefile 20 | @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) -------------------------------------------------------------------------------- /jupinx/theme/minimal/templates/error_report_template.html: -------------------------------------------------------------------------------- 1 | 2 |
3 |Welcome to Jupinx, a build system for lectures.
116 | 117 |Jupinx is an open source tool for converting ReStructuredText 118 | source files into a website via Jupyter Notebooks.
119 | 120 |For one example of Jupinx in action, see these lectures.
121 | 122 |