-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1e9430d
commit b5c34f3
Showing
18 changed files
with
432 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
quantecon_book_theme/static/quantecon-book-theme.3ea8671341652364f3bf176c87181cd0.css
Large diffs are not rendered by default.
Oops, something went wrong.
10 changes: 10 additions & 0 deletions
10
quantecon_book_theme/static/quantecon-book-theme.493746e7da70e27bf4a73fc28047926a.js
Large diffs are not rendered by default.
Oops, something went wrong.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
[theme] | ||
inherit = pydata_sphinx_theme | ||
stylesheet = quantecon-book-theme.css | ||
|
||
[options] | ||
single_page = False | ||
expand_toc_sections = [] | ||
path_to_docs = | ||
repository_url = | ||
nb_repository_url = | ||
nb_branch = | ||
binderhub_url = | ||
repository_branch = | ||
launch_buttons = {} | ||
home_page_in_toc = False | ||
expand_sections = [] | ||
navbar_footer_text = | ||
extra_navbar = Theme by the <a href="https://quantecon.org/">QuantEcon</a> | ||
extra_footer = | ||
use_issues_button = False | ||
use_repository_button = False | ||
plugins_list = [] | ||
header_organisation_url = | ||
header_organisation = | ||
description = | ||
keywords = | ||
twitter = | ||
twitter_logo_url = | ||
og_logo_url = |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Note: this should only be changed in src/jinja/theme.conf.j2 | ||
[theme] | ||
inherit = pydata_sphinx_theme | ||
stylesheet = {{ "src/scss/quantecon-book-theme.scss" | compiled_name }} | ||
|
||
[options] | ||
single_page = False | ||
expand_toc_sections = [] | ||
path_to_docs = | ||
repository_url = | ||
nb_repository_url = | ||
nb_branch = | ||
binderhub_url = | ||
repository_branch = | ||
launch_buttons = {} | ||
home_page_in_toc = False | ||
expand_sections = [] | ||
navbar_footer_text = | ||
extra_navbar = Theme by the <a href="https://quantecon.org/">QuantEcon</a> | ||
extra_footer = | ||
use_issues_button = False | ||
use_repository_button = False | ||
plugins_list = [] | ||
header_organisation_url = | ||
header_organisation = | ||
description = | ||
keywords = | ||
twitter = | ||
twitter_logo_url = | ||
og_logo_url = |
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# To use tox, see https://tox.readthedocs.io | ||
# Simply pip or conda install tox | ||
# If you use conda, you may also want to install tox-conda | ||
# then run `tox` or `tox -- {pytest args}` | ||
# To run in parallel using `tox -p` (this does not appear to work for this repo) | ||
|
||
# To rebuild the tox environment, for example when dependencies change, use | ||
# `tox -r` | ||
|
||
# Note: if the following error is encountered: `ImportError while loading conftest` | ||
# then then deleting compiled files has been found to fix it: `find . -name \*.pyc -delete` | ||
|
||
[tox] | ||
envlist = py37-sphinx3 | ||
|
||
[testenv] | ||
usedevelop=true | ||
|
||
[testenv:py{36,37,38}-sphinx{2,3}] | ||
extras = testing | ||
deps = | ||
sphinx2: sphinx>=2,<3 | ||
sphinx3: sphinx>=3,<4 | ||
commands = pytest {posargs} | ||
|
||
[testenv:py{36,37,38}-pre-commit] | ||
extras = code_style | ||
commands = pre-commit run {posargs} | ||
|
||
[testenv:docs-{update,clean}] | ||
extras = | ||
sphinx | ||
live-dev | ||
whitelist_externals = rm | ||
commands = | ||
clean: rm -rf docs/_build | ||
web-compile --no-git-add | ||
sphinx-build -nW --keep-going -b {posargs:html} docs/ docs/_build/{posargs:html} | ||
|
||
[testenv:docs-live] | ||
extras = | ||
sphinx | ||
live-dev | ||
usedevelop = true | ||
commands = | ||
sphinx-autobuild \ | ||
--watch quantecon_book_theme \ | ||
--watch src \ | ||
--pre-build "web-compile --no-git-add" \ | ||
--re-ignore quantecon_book_theme/static/.* \ | ||
--re-ignore quantecon_book_theme/static/theme.conf \ | ||
--re-ignore _build/.* \ | ||
--delay 2 \ | ||
--port 0 --open-browser \ | ||
-n -b {posargs:html} docs/ docs/_build/{posargs:html} | ||
|
||
[check-manifest] | ||
ignore-bad-ideas = | ||
*.mo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
web-compile: | ||
sass: | ||
files: | ||
src/scss/quantecon-book-theme.scss: quantecon_book_theme/static/quantecon-book-theme.[hash].css | ||
precision: 5 | ||
sourcemap: false | ||
format: compressed | ||
js: | ||
files: | ||
src/js/quantecon-book-theme.js: quantecon_book_theme/static/quantecon-book-theme.[hash].js | ||
jinja: | ||
files: | ||
src/jinja/theme.conf.j2: quantecon_book_theme/theme.conf |
b5c34f3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀 Deployed on https://608b5ac234474400b530f297--hungry-lovelace-7d0512.netlify.app