Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,19 @@ jobs:
- name: Install sphinxcontrib-tomyst
shell: bash -l {0}
run: |
git clone https://github.com/mmcky/sphinxcontrib-tomyst
git clone https://github.com/QuantEcon/sphinxcontrib-tomyst
cd sphinxcontrib-tomyst && python setup.py install
- name: Install quantecon-book-theme
shell: bash -l {0}
run: |
git clone https://github.com/QuantEcon/quantecon-book-theme
cd quantecon-book-theme
git checkout qe-theme
python setup.py install
- name: Install Dependencies
shell: bash -l {0}
run: |
pip install sphinx-book-theme myst-nb
pip install myst-nb
- name: Display Conda Environment Versions
shell: bash -l {0}
run: conda list
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
_build/
_build/
.DS_Store
__pycache__
4 changes: 2 additions & 2 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = 'sphinx_book_theme'
html_theme = 'quantecon_book_theme'

# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
Expand Down Expand Up @@ -160,7 +160,7 @@
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
html_static_path = ['source/rst/_static']

# Add any extra paths that contain custom files (such as robots.txt or
# .htaccess) here, relative to this directory. These files are copied
Expand Down
1 change: 1 addition & 0 deletions source/rst/_static/powered-by-NumFOCUS-orange.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/rst/_static/py-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/rst/_static/qe-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/rst/_static/sloan_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions source/rst/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ index_toc
</div>
<div class="web-version">
<a href="/index_toc.html">
<span class="thumb"><img src="/_static/img/py-logo.png"></span>
<span class="thumb"><img src="/_static/py-logo.png"></span>
<h2>Web Version</h2>
<p>The recommended way to read the lectures</p>
</a>
</div>
</div>
<ul class="sponsor">
<li><a href="http://www.sloan.org/" title="Alfred P. Sloan Foundation"><img src="/_static/sloan_logo.png" alt="Sponsored by the Alfred P. Sloan Foundation"></a></li>
<li><a href="https://quantecon.org/"><img src="/_static/img/qe-logo.png" width="150"></a></li>
<li><a href="https://quantecon.org/"><img src="/_static/qe-logo.png" width="150"></a></li>
</ul>
</div>
<div class="home-alternatives">
Expand Down
2 changes: 1 addition & 1 deletion source/rst/index_toc.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ kernelspec:

(toc)=
```{raw} html
<p id="numfocus_badge" style="float:right;margin:0 0 0 2rem;"><a href="https://www.numfocus.org/"><img src="/_static/img/powered-by-NumFOCUS-orange.svg" alt="Powered by NumFOCUS logo"></a></p>
<p id="numfocus_badge" style="float:right;margin:0 0 0 2rem;"><a href="https://www.numfocus.org/"><img src="/_static/powered-by-NumFOCUS-orange.svg" alt="Powered by NumFOCUS logo"></a></p>
```

```{only} html
Expand Down