commit
ae83ab1d6a
90 changed files with 16583 additions and 0 deletions
@ -0,0 +1,13 @@
|
||||
{ |
||||
"name": "nbdev_template-codespaces", |
||||
"dockerComposeFile": "docker-compose.yml", |
||||
"service": "watcher", |
||||
"settings": {"terminal.integrated.shell.linux": "/bin/bash"}, |
||||
"mounts": [ "source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind" ], |
||||
"forwardPorts": [4000, 8080], |
||||
"appPort": [4000, 8080], |
||||
"extensions": ["ms-python.python", |
||||
"ms-azuretools.vscode-docker"], |
||||
"runServices": ["notebook", "jekyll", "watcher"], |
||||
"postStartCommand": "pip install -e ." |
||||
} |
@ -0,0 +1,33 @@
|
||||
name: CI |
||||
on: [push, pull_request] |
||||
jobs: |
||||
build: |
||||
runs-on: ubuntu-latest |
||||
steps: |
||||
- uses: actions/checkout@v1 |
||||
- uses: actions/setup-python@v1 |
||||
with: |
||||
python-version: '3.6' |
||||
architecture: 'x64' |
||||
- name: Install the library |
||||
run: | |
||||
pip install nbdev jupyter |
||||
pip install -e . |
||||
- name: Read all notebooks |
||||
run: | |
||||
nbdev_read_nbs |
||||
- name: Check if all notebooks are cleaned |
||||
run: | |
||||
echo "Check we are starting with clean git checkout" |
||||
if [ -n "$(git status -uno -s)" ]; then echo "git status is not clean"; false; fi |
||||
echo "Trying to strip out notebooks" |
||||
nbdev_clean_nbs |
||||
echo "Check that strip out was unnecessary" |
||||
git status -s # display the status to see which nbs need cleaning up |
||||
if [ -n "$(git status -uno -s)" ]; then echo -e "!!! Detected unstripped out notebooks\n!!!Remember to run nbdev_install_git_hooks"; false; fi |
||||
- name: Check if there is no diff library/notebooks |
||||
run: | |
||||
if [ -n "$(nbdev_diff_nbs)" ]; then echo -e "!!! Detected difference between the notebooks and the library"; false; fi |
||||
- name: Run tests |
||||
run: | |
||||
nbdev_test_nbs |
@ -0,0 +1,141 @@
|
||||
*.bak |
||||
.gitattributes |
||||
.last_checked |
||||
.gitconfig |
||||
*.bak |
||||
*.log |
||||
*~ |
||||
~* |
||||
_tmp* |
||||
tmp* |
||||
tags |
||||
|
||||
# Byte-compiled / optimized / DLL files |
||||
__pycache__/ |
||||
*.py[cod] |
||||
*$py.class |
||||
|
||||
# C extensions |
||||
*.so |
||||
|
||||
# Distribution / packaging |
||||
.Python |
||||
env/ |
||||
build/ |
||||
develop-eggs/ |
||||
dist/ |
||||
downloads/ |
||||
eggs/ |
||||
.eggs/ |
||||
lib/ |
||||
lib64/ |
||||
parts/ |
||||
sdist/ |
||||
var/ |
||||
wheels/ |
||||
*.egg-info/ |
||||
.installed.cfg |
||||
*.egg |
||||
|
||||
# PyInstaller |
||||
# Usually these files are written by a python script from a template |
||||
# before PyInstaller builds the exe, so as to inject date/other infos into it. |
||||
*.manifest |
||||
*.spec |
||||
|
||||
# Installer logs |
||||
pip-log.txt |
||||
pip-delete-this-directory.txt |
||||
|
||||
# Unit test / coverage reports |
||||
htmlcov/ |
||||
.tox/ |
||||
.coverage |
||||
.coverage.* |
||||
.cache |
||||
nosetests.xml |
||||
coverage.xml |
||||
*.cover |
||||
.hypothesis/ |
||||
|
||||
# Translations |
||||
*.mo |
||||
*.pot |
||||
|
||||
# Django stuff: |
||||
*.log |
||||
local_settings.py |
||||
|
||||
# Flask stuff: |
||||
instance/ |
||||
.webassets-cache |
||||
|
||||
# Scrapy stuff: |
||||
.scrapy |
||||
|
||||
# Sphinx documentation |
||||
docs/_build/ |
||||
|
||||
# PyBuilder |
||||
target/ |
||||
|
||||
# Jupyter Notebook |
||||
.ipynb_checkpoints |
||||
|
||||
# pyenv |
||||
.python-version |
||||
|
||||
# celery beat schedule file |
||||
celerybeat-schedule |
||||
|
||||
# SageMath parsed files |
||||
*.sage.py |
||||
|
||||
# dotenv |
||||
.env |
||||
|
||||
# virtualenv |
||||
.venv |
||||
venv/ |
||||
ENV/ |
||||
|
||||
# Spyder project settings |
||||
.spyderproject |
||||
.spyproject |
||||
|
||||
# Rope project settings |
||||
.ropeproject |
||||
|
||||
# mkdocs documentation |
||||
/site |
||||
|
||||
# mypy |
||||
.mypy_cache/ |
||||
|
||||
.vscode |
||||
*.swp |
||||
|
||||
# osx generated files |
||||
.DS_Store |
||||
.DS_Store? |
||||
.Trashes |
||||
ehthumbs.db |
||||
Thumbs.db |
||||
.idea |
||||
|
||||
# pytest |
||||
.pytest_cache |
||||
|
||||
# tools/trust-doc-nbs |
||||
docs_src/.last_checked |
||||
|
||||
# symlinks to fastai |
||||
docs_src/fastai |
||||
tools/fastai |
||||
|
||||
# link checker |
||||
checklink/cookies.txt |
||||
|
||||
# .gitconfig is now autogenerated |
||||
.gitconfig |
||||
|
@ -0,0 +1,48 @@
|
||||
{ |
||||
"cells": [ |
||||
{ |
||||
"cell_type": "code", |
||||
"execution_count": null, |
||||
"metadata": {}, |
||||
"outputs": [], |
||||
"source": [ |
||||
"# default_exp core" |
||||
] |
||||
}, |
||||
{ |
||||
"cell_type": "markdown", |
||||
"metadata": {}, |
||||
"source": [ |
||||
"# module name here\n", |
||||
"\n", |
||||
"> API details." |
||||
] |
||||
}, |
||||
{ |
||||
"cell_type": "code", |
||||
"execution_count": null, |
||||
"metadata": {}, |
||||
"outputs": [], |
||||
"source": [ |
||||
"#hide\n", |
||||
"from nbdev.showdoc import *" |
||||
] |
||||
}, |
||||
{ |
||||
"cell_type": "code", |
||||
"execution_count": null, |
||||
"metadata": {}, |
||||
"outputs": [], |
||||
"source": [] |
||||
} |
||||
], |
||||
"metadata": { |
||||
"kernelspec": { |
||||
"display_name": "Python 3", |
||||
"language": "python", |
||||
"name": "python3" |
||||
} |
||||
}, |
||||
"nbformat": 4, |
||||
"nbformat_minor": 2 |
||||
} |
@ -0,0 +1,33 @@
|
||||
# How to contribute |
||||
|
||||
## How to get started |
||||
|
||||
Before anything else, please install the git hooks that run automatic scripts during each commit and merge to strip the notebooks of superfluous metadata (and avoid merge conflicts). After cloning the repository, run the following command inside it: |
||||
``` |
||||
nbdev_install_git_hooks |
||||
``` |
||||
|
||||
## Did you find a bug? |
||||
|
||||
* Ensure the bug was not already reported by searching on GitHub under Issues. |
||||
* If you're unable to find an open issue addressing the problem, open a new one. Be sure to include a title and clear description, as much relevant information as possible, and a code sample or an executable test case demonstrating the expected behavior that is not occurring. |
||||
* Be sure to add the complete error messages. |
||||
|
||||
#### Did you write a patch that fixes a bug? |
||||
|
||||
* Open a new GitHub pull request with the patch. |
||||
* Ensure that your PR includes a test that fails without your patch, and pass with it. |
||||
* Ensure the PR description clearly describes the problem and solution. Include the relevant issue number if applicable. |
||||
|
||||
## PR submission guidelines |
||||
|
||||
* Keep each PR focused. While it's more convenient, do not combine several unrelated fixes together. Create as many branches as needing to keep each PR focused. |
||||
* Do not mix style changes/fixes with "functional" changes. It's very difficult to review such PRs and it most likely get rejected. |
||||
* Do not add/remove vertical whitespace. Preserve the original style of the file you edit as much as you can. |
||||
* Do not turn an already submitted PR into your development playground. If after you submitted PR, you discovered that more work is needed - close the PR, do the required work and then submit a new PR. Otherwise each of your commits requires attention from maintainers of the project. |
||||
* If, however, you submitted a PR and received a request for changes, you should proceed with commits inside that PR, so that the maintainer can see the incremental fixes and won't need to review the whole PR again. In the exception case where you realize it'll take many many commits to complete the requests, then it's probably best to close the PR, do the work and then submit it again. Use common sense where you'd choose one way over another. |
||||
|
||||
## Do you want to contribute to the documentation? |
||||
|
||||
* Docs are automatically created from the notebooks in the nbs folder. |
||||
|
@ -0,0 +1,201 @@
|
||||
Apache License |
||||
Version 2.0, January 2004 |
||||
http://www.apache.org/licenses/ |
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION |
||||
|
||||
1. Definitions. |
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction, |
||||
and distribution as defined by Sections 1 through 9 of this document. |
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by |
||||
the copyright owner that is granting the License. |
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all |
||||
other entities that control, are controlled by, or are under common |
||||
control with that entity. For the purposes of this definition, |
||||
"control" means (i) the power, direct or indirect, to cause the |
||||
direction or management of such entity, whether by contract or |
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the |
||||
outstanding shares, or (iii) beneficial ownership of such entity. |
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity |
||||
exercising permissions granted by this License. |
||||
|
||||
"Source" form shall mean the preferred form for making modifications, |
||||
including but not limited to software source code, documentation |
||||
source, and configuration files. |
||||
|
||||
"Object" form shall mean any form resulting from mechanical |
||||
transformation or translation of a Source form, including but |
||||
not limited to compiled object code, generated documentation, |
||||
and conversions to other media types. |
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or |
||||
Object form, made available under the License, as indicated by a |
||||
copyright notice that is included in or attached to the work |
||||
(an example is provided in the Appendix below). |
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object |
||||
form, that is based on (or derived from) the Work and for which the |
||||
editorial revisions, annotations, elaborations, or other modifications |
||||
represent, as a whole, an original work of authorship. For the purposes |
||||
of this License, Derivative Works shall not include works that remain |
||||
separable from, or merely link (or bind by name) to the interfaces of, |
||||
the Work and Derivative Works thereof. |
||||
|
||||
"Contribution" shall mean any work of authorship, including |
||||
the original version of the Work and any modifications or additions |
||||
to that Work or Derivative Works thereof, that is intentionally |
||||
submitted to Licensor for inclusion in the Work by the copyright owner |
||||
or by an individual or Legal Entity authorized to submit on behalf of |
||||
the copyright owner. For the purposes of this definition, "submitted" |
||||
means any form of electronic, verbal, or written communication sent |
||||
to the Licensor or its representatives, including but not limited to |
||||
communication on electronic mailing lists, source code control systems, |
||||
and issue tracking systems that are managed by, or on behalf of, the |
||||
Licensor for the purpose of discussing and improving the Work, but |
||||
excluding communication that is conspicuously marked or otherwise |
||||
designated in writing by the copyright owner as "Not a Contribution." |
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity |
||||
on behalf of whom a Contribution has been received by Licensor and |
||||
subsequently incorporated within the Work. |
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of |
||||
this License, each Contributor hereby grants to You a perpetual, |
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable |
||||
copyright license to reproduce, prepare Derivative Works of, |
||||
publicly display, publicly perform, sublicense, and distribute the |
||||
Work and such Derivative Works in Source or Object form. |
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of |
||||
this License, each Contributor hereby grants to You a perpetual, |
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable |
||||
(except as stated in this section) patent license to make, have made, |
||||
use, offer to sell, sell, import, and otherwise transfer the Work, |
||||
where such license applies only to those patent claims licensable |
||||
by such Contributor that are necessarily infringed by their |
||||
Contribution(s) alone or by combination of their Contribution(s) |
||||
with the Work to which such Contribution(s) was submitted. If You |
||||
institute patent litigation against any entity (including a |
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work |
||||
or a Contribution incorporated within the Work constitutes direct |
||||
or contributory patent infringement, then any patent licenses |
||||
granted to You under this License for that Work shall terminate |
||||
as of the date such litigation is filed. |
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the |
||||
Work or Derivative Works thereof in any medium, with or without |
||||
modifications, and in Source or Object form, provided that You |
||||
meet the following conditions: |
||||
|
||||
(a) You must give any other recipients of the Work or |
||||
Derivative Works a copy of this License; and |
||||
|
||||
(b) You must cause any modified files to carry prominent notices |
||||
stating that You changed the files; and |
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works |
||||
that You distribute, all copyright, patent, trademark, and |
||||
attribution notices from the Source form of the Work, |
||||
excluding those notices that do not pertain to any part of |
||||
the Derivative Works; and |
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its |
||||
distribution, then any Derivative Works that You distribute must |
||||
include a readable copy of the attribution notices contained |
||||
within such NOTICE file, excluding those notices that do not |
||||
pertain to any part of the Derivative Works, in at least one |
||||
of the following places: within a NOTICE text file distributed |
||||
as part of the Derivative Works; within the Source form or |
||||
documentation, if provided along with the Derivative Works; or, |
||||
within a display generated by the Derivative Works, if and |
||||
wherever such third-party notices normally appear. The contents |
||||
of the NOTICE file are for informational purposes only and |
||||
do not modify the License. You may add Your own attribution |
||||
notices within Derivative Works that You distribute, alongside |
||||
or as an addendum to the NOTICE text from the Work, provided |
||||
that such additional attribution notices cannot be construed |
||||
as modifying the License. |
||||
|
||||
You may add Your own copyright statement to Your modifications and |
||||
may provide additional or different license terms and conditions |
||||
for use, reproduction, or distribution of Your modifications, or |
||||
for any such Derivative Works as a whole, provided Your use, |
||||
reproduction, and distribution of the Work otherwise complies with |
||||
the conditions stated in this License. |
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise, |
||||
any Contribution intentionally submitted for inclusion in the Work |
||||
by You to the Licensor shall be under the terms and conditions of |
||||
this License, without any additional terms or conditions. |
||||
Notwithstanding the above, nothing herein shall supersede or modify |
||||
the terms of any separate license agreement you may have executed |
||||
with Licensor regarding such Contributions. |
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade |
||||
names, trademarks, service marks, or product names of the Licensor, |
||||
except as required for reasonable and customary use in describing the |
||||
origin of the Work and reproducing the content of the NOTICE file. |
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or |
||||
agreed to in writing, Licensor provides the Work (and each |
||||
Contributor provides its Contributions) on an "AS IS" BASIS, |
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or |
||||
implied, including, without limitation, any warranties or conditions |
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A |
||||
PARTICULAR PURPOSE. You are solely responsible for determining the |
||||
appropriateness of using or redistributing the Work and assume any |
||||
risks associated with Your exercise of permissions under this License. |
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory, |
||||
whether in tort (including negligence), contract, or otherwise, |
||||
unless required by applicable law (such as deliberate and grossly |
||||
negligent acts) or agreed to in writing, shall any Contributor be |
||||
liable to You for damages, including any direct, indirect, special, |
||||
incidental, or consequential damages of any character arising as a |
||||
result of this License or out of the use or inability to use the |
||||
Work (including but not limited to damages for loss of goodwill, |
||||
work stoppage, computer failure or malfunction, or any and all |
||||
other commercial damages or losses), even if such Contributor |
||||
has been advised of the possibility of such damages. |
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing |
||||
the Work or Derivative Works thereof, You may choose to offer, |
||||
and charge a fee for, acceptance of support, warranty, indemnity, |
||||
or other liability obligations and/or rights consistent with this |
||||
License. However, in accepting such obligations, You may act only |
||||
on Your own behalf and on Your sole responsibility, not on behalf |
||||
of any other Contributor, and only if You agree to indemnify, |
||||
defend, and hold each Contributor harmless for any liability |
||||
incurred by, or claims asserted against, such Contributor by reason |
||||
of your accepting any such warranty or additional liability. |
||||
|
||||
END OF TERMS AND CONDITIONS |
||||
|
||||
APPENDIX: How to apply the Apache License to your work. |
||||
|
||||
To apply the Apache License to your work, attach the following |
||||
boilerplate notice, with the fields enclosed by brackets "[]" |
||||
replaced with your own identifying information. (Don't include |
||||
the brackets!) The text should be enclosed in the appropriate |
||||
comment syntax for the file format. We also recommend that a |
||||
file or class name and description of purpose be included on the |
||||
same "printed page" as the copyright notice for easier |
||||
identification within third-party archives. |
||||
|
||||
Copyright [yyyy] [name of copyright owner] |
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License"); |
||||
you may not use this file except in compliance with the License. |
||||
You may obtain a copy of the License at |
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0 |
||||
|
||||
Unless required by applicable law or agreed to in writing, software |
||||
distributed under the License is distributed on an "AS IS" BASIS, |
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||
See the License for the specific language governing permissions and |
||||
limitations under the License. |
@ -0,0 +1,5 @@
|
||||
include settings.ini |
||||
include LICENSE |
||||
include CONTRIBUTING.md |
||||
include README.md |
||||
recursive-exclude * __pycache__ |
@ -0,0 +1,4 @@
|
||||
# nbdev template |
||||
|
||||
Use this template to more easily create your nbdev project. |
||||
|
@ -0,0 +1,36 @@
|
||||
version: "3" |
||||
services: |
||||
fastai: &fastai |
||||
restart: unless-stopped |
||||
working_dir: /data |
||||
image: fastai/codespaces |
||||
logging: |
||||
driver: json-file |
||||
options: |
||||
max-size: 50m |
||||
stdin_open: true |
||||
tty: true |
||||
volumes: |
||||
- .:/data/ |
||||
|
||||
notebook: |
||||
<<: *fastai |
||||
command: bash -c "pip install -e . && jupyter notebook --allow-root --no-browser --ip=0.0.0.0 --port=8080 --NotebookApp.token='' --NotebookApp.password=''" |
||||
ports: |
||||
- "8080:8080" |
||||
|
||||
watcher: |
||||
<<: *fastai |
||||
command: watchmedo shell-command --command nbdev_build_docs --pattern *.ipynb --recursive --drop |
||||
network_mode: host # for GitHub Codespaces https://github.com/features/codespaces/ |
||||
|
||||
jekyll: |
||||
<<: *fastai |
||||
ports: |
||||
- "4000:4000" |
||||
command: > |
||||
bash -c "cp -r docs_src docs |
||||
&& pip install . |
||||
&& nbdev_build_docs && cd docs |
||||
&& bundle i |
||||
&& chmod -R u+rwx . && bundle exec jekyll serve --host 0.0.0.0" |
@ -0,0 +1,8 @@
|
||||
source "https://rubygems.org" |
||||
|
||||
gem 'github-pages', group: :jekyll_plugins |
||||
|
||||
# Added at 2019-11-25 10:11:40 -0800 by jhoward: |
||||
gem "nokogiri", "< 1.10.9" |
||||
gem "jekyll", ">= 3.7" |
||||
gem "kramdown", ">= 2.3.0" |
@ -0,0 +1,261 @@
|
||||
GEM |
||||
remote: https://rubygems.org/ |
||||
specs: |
||||
activesupport (6.0.3.2) |
||||
concurrent-ruby (~> 1.0, >= 1.0.2) |
||||
i18n (>= 0.7, < 2) |
||||
minitest (~> 5.1) |
||||
tzinfo (~> 1.1) |
||||
zeitwerk (~> 2.2, >= 2.2.2) |
||||
addressable (2.7.0) |
||||
public_suffix (>= 2.0.2, < 5.0) |
||||
coffee-script (2.4.1) |
||||
coffee-script-source |
||||
execjs |
||||
coffee-script-source (1.11.1) |
||||
colorator (1.1.0) |
||||
commonmarker (0.17.13) |
||||
ruby-enum (~> 0.5) |
||||
concurrent-ruby (1.1.7) |
||||
dnsruby (1.61.4) |
||||
simpleidn (~> 0.1) |
||||
em-websocket (0.5.1) |
||||
eventmachine (>= 0.12.9) |
||||
http_parser.rb (~> 0.6.0) |
||||
ethon (0.12.0) |
||||
ffi (>= 1.3.0) |
||||
eventmachine (1.2.7) |
||||
execjs (2.7.0) |
||||
faraday (1.0.1) |
||||
multipart-post (>= 1.2, < 3) |
||||
ffi (1.13.1) |
||||
forwardable-extended (2.6.0) |
||||
gemoji (3.0.1) |
||||
github-pages (207) |
||||
github-pages-health-check (= 1.16.1) |
||||
jekyll (= 3.9.0) |
||||
jekyll-avatar (= 0.7.0) |
||||
jekyll-coffeescript (= 1.1.1) |
||||
jekyll-commonmark-ghpages (= 0.1.6) |
||||
jekyll-default-layout (= 0.1.4) |
||||
jekyll-feed (= 0.13.0) |
||||
jekyll-gist (= 1.5.0) |
||||
jekyll-github-metadata (= 2.13.0) |
||||
jekyll-mentions (= 1.5.1) |
||||
jekyll-optional-front-matter (= 0.3.2) |
||||
jekyll-paginate (= 1.1.0) |
||||
jekyll-readme-index (= 0.3.0) |
||||
jekyll-redirect-from (= 0.15.0) |
||||
jekyll-relative-links (= 0.6.1) |
||||
jekyll-remote-theme (= 0.4.1) |
||||
jekyll-sass-converter (= 1.5.2) |
||||
jekyll-seo-tag (= 2.6.1) |
||||
jekyll-sitemap (= 1.4.0) |
||||
jekyll-swiss (= 1.0.0) |
||||
jekyll-theme-architect (= 0.1.1) |
||||
jekyll-theme-cayman (= 0.1.1) |
||||
jekyll-theme-dinky (= 0.1.1) |
||||
jekyll-theme-hacker (= 0.1.1) |
||||
jekyll-theme-leap-day (= 0.1.1) |
||||
jekyll-theme-merlot (= 0.1.1) |
||||
jekyll-theme-midnight (= 0.1.1) |
||||
jekyll-theme-minimal (= 0.1.1) |
||||
jekyll-theme-modernist (= 0.1.1) |
||||
jekyll-theme-primer (= 0.5.4) |
||||
jekyll-theme-slate (= 0.1.1) |
||||
jekyll-theme-tactile (= 0.1.1) |
||||
jekyll-theme-time-machine (= 0.1.1) |
||||
jekyll-titles-from-headings (= 0.5.3) |
||||
jemoji (= 0.11.1) |
||||
kramdown (= 2.3.0) |
||||
kramdown-parser-gfm (= 1.1.0) |
||||
liquid (= 4.0.3) |
||||
mercenary (~> 0.3) |
||||
minima (= 2.5.1) |
||||
nokogiri (>= 1.10.4, < 2.0) |
||||
rouge (= 3.19.0) |
||||
terminal-table (~> 1.4) |
||||
github-pages-health-check (1.16.1) |
||||
addressable (~> 2.3) |
||||
dnsruby (~> 1.60) |
||||
octokit (~> 4.0) |
||||
public_suffix (~> 3.0) |
||||
typhoeus (~> 1.3) |
||||
html-pipeline (2.14.0) |
||||
activesupport (>= 2) |
||||
nokogiri (>= 1.4) |
||||
http_parser.rb (0.6.0) |
||||
i18n (0.9.5) |
||||
concurrent-ruby (~> 1.0) |
||||
jekyll (3.9.0) |
||||
addressable (~> 2.4) |
||||
colorator (~> 1.0) |
||||
em-websocket (~> 0.5) |
||||
i18n (~> 0.7) |
||||
jekyll-sass-converter (~> 1.0) |
||||
jekyll-watch (~> 2.0) |
||||
kramdown (>= 1.17, < 3) |
||||
liquid (~> 4.0) |
||||
mercenary (~> 0.3.3) |
||||
pathutil (~> 0.9) |
||||
rouge (>= 1.7, < 4) |
||||
safe_yaml (~> 1.0) |
||||
jekyll-avatar (0.7.0) |
||||
jekyll (>= 3.0, < 5.0) |
||||
jekyll-coffeescript (1.1.1) |
||||
coffee-script (~> 2.2) |
||||
coffee-script-source (~> 1.11.1) |
||||
jekyll-commonmark (1.3.1) |
||||
commonmarker (~> 0.14) |
||||
jekyll (>= 3.7, < 5.0) |
||||
jekyll-commonmark-ghpages (0.1.6) |
||||
commonmarker (~> 0.17.6) |
||||
jekyll-commonmark (~> 1.2) |
||||
rouge (>= 2.0, < 4.0) |
||||
jekyll-default-layout (0.1.4) |
||||
jekyll (~> 3.0) |
||||
jekyll-feed (0.13.0) |
||||
jekyll (>= 3.7, < 5.0) |
||||
jekyll-gist (1.5.0) |
||||
octokit (~> 4.2) |
||||
jekyll-github-metadata (2.13.0) |
||||
jekyll (>= 3.4, < 5.0) |
||||
octokit (~> 4.0, != 4.4.0) |
||||
jekyll-mentions (1.5.1) |
||||
html-pipeline (~> 2.3) |
||||
jekyll (>= 3.7, < 5.0) |
||||
jekyll-optional-front-matter (0.3.2) |
||||
jekyll (>= 3.0, < 5.0) |
||||
jekyll-paginate (1.1.0) |
||||
jekyll-readme-index (0.3.0) |
||||
jekyll (>= 3.0, < 5.0) |
||||
jekyll-redirect-from (0.15.0) |
||||
jekyll (>= 3.3, < 5.0) |
||||
jekyll-relative-links (0.6.1) |
||||
jekyll (>= 3.3, < 5.0) |
||||
jekyll-remote-theme (0.4.1) |
||||
addressable (~> 2.0) |
||||
jekyll (>= 3.5, < 5.0) |
||||
rubyzip (>= 1.3.0) |
||||
jekyll-sass-converter (1.5.2) |
||||
sass (~> 3.4) |
||||
jekyll-seo-tag (2.6.1) |
||||
jekyll (>= 3.3, < 5.0) |
||||
jekyll-sitemap (1.4.0) |
||||
jekyll (>= 3.7, < 5.0) |
||||
jekyll-swiss (1.0.0) |
||||
jekyll-theme-architect (0.1.1) |
||||
jekyll (~> 3.5) |
||||
jekyll-seo-tag (~> 2.0) |
||||
jekyll-theme-cayman (0.1.1) |
||||
jekyll (~> 3.5) |
||||
jekyll-seo-tag (~> 2.0) |
||||
jekyll-theme-dinky (0.1.1) |
||||
jekyll (~> 3.5) |
||||
jekyll-seo-tag (~> 2.0) |
||||
jekyll-theme-hacker (0.1.1) |
||||
jekyll (~> 3.5) |
||||
jekyll-seo-tag (~> 2.0) |
||||
jekyll-theme-leap-day (0.1.1) |
||||
jekyll (~> 3.5) |
||||
jekyll-seo-tag (~> 2.0) |
||||
jekyll-theme-merlot (0.1.1) |
||||
jekyll (~> 3.5) |
||||
jekyll-seo-tag (~> 2.0) |
||||
jekyll-theme-midnight (0.1.1) |
||||
jekyll (~> 3.5) |
||||
jekyll-seo-tag (~> 2.0) |
||||
jekyll-theme-minimal (0.1.1) |
||||
jekyll (~> 3.5) |
||||
jekyll-seo-tag (~> 2.0) |
||||
jekyll-theme-modernist (0.1.1) |
||||
jekyll (~> 3.5) |
||||
jekyll-seo-tag (~> 2.0) |
||||
jekyll-theme-primer (0.5.4) |
||||
jekyll (> 3.5, < 5.0) |
||||
jekyll-github-metadata (~> 2.9) |
||||
jekyll-seo-tag (~> 2.0) |
||||
jekyll-theme-slate (0.1.1) |
||||
jekyll (~> 3.5) |
||||
jekyll-seo-tag (~> 2.0) |
||||
jekyll-theme-tactile (0.1.1) |
||||
jekyll (~> 3.5) |
||||
jekyll-seo-tag (~> 2.0) |
||||
jekyll-theme-time-machine (0.1.1) |
||||
jekyll (~> 3.5) |
||||
jekyll-seo-tag (~> 2.0) |
||||
jekyll-titles-from-headings (0.5.3) |
||||
jekyll (>= 3.3, < 5.0) |
||||
jekyll-watch (2.2.1) |
||||
listen (~> 3.0) |
||||
jemoji (0.11.1) |
||||
gemoji (~> 3.0) |
||||
html-pipeline (~> 2.2) |
||||
jekyll (>= 3.0, < 5.0) |
||||
kramdown (2.3.0) |
||||
rexml |
||||
kramdown-parser-gfm (1.1.0) |
||||
kramdown (~> 2.0) |
||||
liquid (4.0.3) |
||||
listen (3.2.1) |
||||
rb-fsevent (~> 0.10, >= 0.10.3) |
||||
rb-inotify (~> 0.9, >= 0.9.10) |
||||
mercenary (0.3.6) |
||||
mini_portile2 (2.4.0) |
||||
minima (2.5.1) |
||||
jekyll (>= 3.5, < 5.0) |
||||
jekyll-feed (~> 0.9) |
||||
jekyll-seo-tag (~> 2.1) |
||||
minitest (5.14.1) |
||||
multipart-post (2.1.1) |
||||
nokogiri (1.10.8) |
||||
mini_portile2 (~> 2.4.0) |
||||
octokit (4.18.0) |
||||
faraday (>= 0.9) |
||||
sawyer (~> 0.8.0, >= 0.5.3) |
||||
pathutil (0.16.2) |
||||
forwardable-extended (~> 2.6) |
||||
public_suffix (3.1.1) |
||||
rb-fsevent (0.10.4) |
||||
rb-inotify (0.10.1) |
||||
ffi (~> 1.0) |
||||
rexml (3.2.4) |
||||
rouge (3.19.0) |
||||
ruby-enum (0.8.0) |
||||
i18n |
||||
rubyzip (2.3.0) |
||||
safe_yaml (1.0.5) |
||||
sass (3.7.4) |
||||
sass-listen (~> 4.0.0) |
||||
sass-listen (4.0.0) |
||||
rb-fsevent (~> 0.9, >= 0.9.4) |
||||
rb-inotify (~> 0.9, >= 0.9.7) |
||||
sawyer (0.8.2) |
||||
addressable (>= 2.3.5) |
||||
faraday (> 0.8, < 2.0) |
||||
simpleidn (0.1.1) |
||||
unf (~> 0.1.4) |
||||
terminal-table (1.8.0) |
||||
unicode-display_width (~> 1.1, >= 1.1.1) |
||||
thread_safe (0.3.6) |
||||
typhoeus (1.4.0) |
||||
ethon (>= 0.9.0) |
||||
tzinfo (1.2.7) |
||||
thread_safe (~> 0.1) |
||||
unf (0.1.4) |
||||
unf_ext |
||||
unf_ext (0.0.7.7) |
||||
unicode-display_width (1.7.0) |
||||
zeitwerk (2.4.0) |
||||
|
||||
PLATFORMS |
||||
ruby |
||||
|
||||
DEPENDENCIES |
||||
github-pages |
||||
jekyll (>= 3.7) |
||||
kramdown (>= 2.3.0) |
||||
nokogiri (< 1.10.9) |
||||
|
||||
BUNDLED WITH |
||||
2.0.2 |
@ -0,0 +1,15 @@
|
||||
tip: '<div class="alert alert-success" role="alert"><i class="fa fa-check-square-o"></i> <b>Tip: </b>' |
||||
note: '<div class="alert alert-info" role="alert"><i class="fa fa-info-circle"></i> <b>Note: </b>' |
||||
important: '<div class="alert alert-warning" role="alert"><i class="fa fa-warning"></i> <b>Important: </b>' |
||||
warning: '<div class="alert alert-danger" role="alert"><i class="fa fa-exclamation-circle"></i> <b>Warning: </b>' |
||||
end: '</div>' |
||||
|
||||
callout_danger: '<div class="bs-callout bs-callout-danger">' |
||||
callout_default: '<div class="bs-callout bs-callout-default">' |
||||
callout_primary: '<div class="bs-callout bs-callout-primary">' |
||||
callout_success: '<div class="bs-callout bs-callout-success">' |
||||
callout_info: '<div class="bs-callout bs-callout-info">' |
||||
callout_warning: '<div class="bs-callout bs-callout-warning">' |
||||
|
||||
hr_faded: '<hr class="faded"/>' |
||||
hr_shaded: '<hr class="shaded"/>' |
@ -0,0 +1,30 @@
|
||||
|
||||
################################################# |
||||
### THIS FILE WAS AUTOGENERATED! DO NOT EDIT! ### |
||||
################################################# |
||||
# Instead edit ../../sidebar.json |
||||
entries: |
||||
- folders: |
||||
- folderitems: |
||||
- output: web,pdf |
||||
title: Export to modules |
||||
url: /export.html |
||||
- output: web,pdf |
||||
title: Convert to html |
||||
url: /export2html.html |
||||
- output: web,pdf |
||||
title: Show doc |
||||
url: /showdoc.html |
||||
- output: web,pdf |
||||
title: Test functions |
||||
url: /test.html |
||||
- output: web,pdf |
||||
title: Core functions |
||||
url: /core.html |
||||
- output: web,pdf |
||||
title: Command line functions |
||||
url: /cli.html |
||||
output: web |
||||
title: Notebook |
||||
output: web |
||||
title: Sidebar |
@ -0,0 +1,3 @@
|
||||
allowed-tags: |
||||
- getting_started |
||||
- navigation |
@ -0,0 +1,15 @@
|
||||
--- |
||||
layout: default |
||||
type: archive |
||||
--- |
||||
|
||||
<div class="post-header"> |
||||
<h1 class="post-title-main">{{ page.title }}</h1> |
||||
</div> |
||||
<div class="post-content"> |
||||
|
||||
{{ content }} |
||||
</div> |
||||
|
||||
|
||||
|
@ -0,0 +1 @@
|
||||
<div markdown="span" class="bs-callout bs-callout-{{include.type}}">{{include.content}}</div> |
@ -0,0 +1,9 @@
|
||||
<footer> |
||||
<div class="row"> |
||||
<div class="col-lg-12 footer"> |
||||
<p><img src="{{ "images/company_logo.png" | relative_url }}" alt="Company logo"/></p> |
||||
©{{ site.time | date: "%Y" }} {{site.company_name}}. All rights reserved. <br /> |
||||
{% if page.last_updated %}<span>Page last updated:</span> {{page.last_updated}}<br/>{% endif %} Site last generated: {{ site.time | date: "%b %-d, %Y" }} <br /> |
||||
</div> |
||||
</div> |
||||
</footer> |
@ -0,0 +1,6 @@
|
||||
<!-- the google_analytics_id gets auto inserted from the config file --> |
||||
|
||||
{% if site.google_analytics %} |
||||
|
||||
<script>(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','//www.google-analytics.com/analytics.js','ga');ga('create','{{site.google_analytics}}','auto');ga('require','displayfeatures');ga('send','pageview');</script> |
||||
{% endif %} |
@ -0,0 +1,83 @@
|
||||
<meta charset="utf-8"> |
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> |
||||
<meta name="viewport" content="width=device-width, initial-scale=1"> |
||||
<meta name="description" content="{% if page.summary %}{{ page.summary | strip_html | strip_newlines | truncate: 160 }}{% endif %}"> |
||||
<meta name="keywords" content="{{page.tags}}{% if page.tags %}, {% endif %} {{page.keywords}}"> |
||||
<title>{{ page.title }} | {{ site.site_title }}</title> |
||||
<link rel="stylesheet" href="{{ "css/syntax.css" | relative_url }}"> |
||||
|
||||
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"> |
||||
<!--<link rel="stylesheet" type="text/css" href="/css/bootstrap.min.css">--> |
||||
<link rel="stylesheet" href="{{ "css/modern-business.css" | relative_url }}"> |
||||
<!-- Latest compiled and minified CSS --> |
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> |
||||
<link rel="stylesheet" href="{{ "css/customstyles.css" | relative_url }}"> |
||||
<link rel="stylesheet" href="{{ "css/boxshadowproperties.css" | relative_url }}"> |
||||
<!-- most color styles are extracted out to here --> |
||||
<link rel="stylesheet" href="{{ "css/theme-blue.css" | relative_url }}"> |
||||
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script> |
||||
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-cookie/1.4.1/jquery.cookie.min.js"></script> |
||||
<script src="{{ "js/jquery.navgoco.min.js" | relative_url }}"></script> |
||||
|
||||
{% if site.use_math %} |
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.css" integrity="sha384-zB1R0rpPzHqg7Kpt0Aljp8JPLqbXI3bhnPWROx27a9N0Ll6ZP/+DiW/UqRcLbRjq" crossorigin="anonymous"> |
||||
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.js" integrity="sha384-y23I5Q6l+B6vatafAwxRu/0oK/79VlbSz7Q9aiSZUvyWYIYsd+qj+o24G5ZU2zJz" crossorigin="anonymous"></script> |
||||
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/contrib/auto-render.min.js" integrity="sha384-kWPLUVMOks5AQFrykwIup5lo0m3iMkkHrD0uJ4H5cjeGihAutqP0yW0J6dpFiVkI" crossorigin="anonymous"></script> |
||||
<script> |
||||
document.addEventListener("DOMContentLoaded", function() { |
||||
renderMathInElement( document.body, { |
||||
delimiters: [ |
||||
{left: "$$", right: "$$", display: true}, |
||||
{left: "[%", right: "%]", display: true}, |
||||
{left: "$", right: "$", display: false} |
||||
]} |
||||
); |
||||
}); |
||||
</script> |
||||
{% endif %} |
||||
|
||||
<!-- Latest compiled and minified JavaScript --> |
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script> |
||||
<!-- Anchor.js --> |
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/2.0.0/anchor.min.js"></script> |
||||
<script src="{{ "js/toc.js" | relative_url }}"></script> |
||||
<script src="{{ "js/customscripts.js" | relative_url }}"></script> |
||||
|
||||
<link rel="shortcut icon" href="{{ "images/favicon.ico?" | relative_url }}"> |
||||
|
||||
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> |
||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// --> |
||||
<!--[if lt IE 9]> |
||||
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> |
||||
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script> |
||||
<![endif]--> |
||||
|
||||
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "feed.xml" | relative_url | prepend: site.url }}"> |
||||
|
||||
<!-- Twitter cards --> |
||||
{% if site.twitter_username %} |
||||
<meta name="twitter:site" content="@{{ site.twitter_username }}"> |
||||
<meta name="twitter:creator" content="@{{ site.twitter_username }}"> |
||||
<meta name="twitter:title" content="{{ page.title }}"> |
||||
{% endif %} |
||||
|
||||
{% if page.summary %} |
||||
<meta name="twitter:description" content="{{ page.summary }}"> |
||||
{% else %} |
||||
<meta name="twitter:description" content="{{ site.description }}"> |
||||
{% endif %} |
||||
|
||||
{% if page.image %} |
||||
<meta name="twitter:card" content="summary_large_image"> |
||||
<meta name="twitter:image" content="{{ site.url }}/{{ page.image }}"> |
||||
{% else %} |
||||
<!-- <meta name="twitter:card" content="summary"> --> |
||||
<!-- <meta name="twitter:image" content="{{ site.title_image }}"> --> |
||||
{% endif %} |
||||
<!-- end of Twitter cards --> |
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,28 @@
|
||||
<meta charset="utf-8"> |
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> |
||||
<meta name="viewport" content="width=device-width, initial-scale=1"> |
||||
<meta name="description" content="{% if page.summary %}{{ page.summary | strip_html | strip_newlines | truncate: 160 }}{% endif %}"> |
||||
<meta name="keywords" content="{{page.tags}}{% if page.tags %}, {% endif %} {{page.keywords}}"> |
||||
<title>{% if page.homepage == true %} {{site.homepage_title}} {% elsif page.title %}{{ page.title }}{% endif %} | {{ site.site_title }}</title> |
||||
|
||||
|
||||
<link rel="stylesheet" href="{{ "css/syntax.css" | relative_url | prepend: site.url }}"> |
||||
<link rel="stylesheet" href="{{ "css/font-awesome.min.css" | relative_url | prepend: site.url }}"> |
||||
<link rel="stylesheet" href="{{ "css/bootstrap.min.css" | relative_url | prepend: site.url }}"> |
||||
<link rel="stylesheet" href="{{ "css/modern-business.css" | relative_url | prepend: site.url }}"> |
||||
<link rel="stylesheet" href="{{ "css/customstyles.css" | relative_url | prepend: site.url }}"> |
||||
<link rel="stylesheet" href="{{ "css/theme-blue.css" | relative_url | prepend: site.url }}"> |
||||
<link rel="stylesheet" href="{{ "css/syntax.css" | relative_url | prepend: site.url }}"> |
||||
<link rel="stylesheet" href="{{ "css/printstyles.css" | relative_url }}"> |
||||
|
||||
<script> |
||||
Prince.addScriptFunc("datestamp", function() { |
||||
return "PDF last generated: {{ site.time | date: '%B %d, %Y' }}"; |
||||
}); |
||||
</script> |
||||
|
||||
<script> |
||||
Prince.addScriptFunc("guideName", function() { |
||||
return "{{site.print_title}} User Guide"; |
||||
}); |
||||
</script> |
@ -0,0 +1 @@
|
||||
<figure>{% if {{include.url}} %}<a class="no_icon" target="_blank" href="{{include.url}}">{% endif %}<img class="docimage" src="{{include.file}}" alt="{{include.alt}}" {% if {{include.max-width}} %}style="max-width: {{include.max-width}}px"{% endif %} />{% if {{include.url}} %}</a>{% endif %}{% if {{include.caption}} %}<figcaption>{{include.caption}}</figcaption>{% endif %}</figure> |
@ -0,0 +1 @@
|
||||
<div markdown="span" class="alert alert-warning" role="alert"><i class="fa fa-warning"></i> <b>Important:</b> {{include.content}}</div> |
@ -0,0 +1,130 @@
|
||||
<script type="text/javascript"> |
||||
$(document).ready(function() { |
||||
$('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3,h4' }); |
||||
}); |
||||
|
||||
</script> |
||||
<!-- shuffle --> |
||||
<script> |
||||
var shuffleme = (function( $ ) { |
||||
'use strict'; |
||||
|
||||
var $grid = $('#grid'), |
||||
$filterOptions = $('.filter-options'), |
||||
$sizer = $grid.find('.shuffle_sizer'), |
||||
|
||||
init = function() { |
||||
|
||||
// None of these need to be executed synchronously |
||||
setTimeout(function() { |
||||
listen(); |
||||
setupFilters(); |
||||
}, 100); |
||||
|
||||
// instantiate the plugin |
||||
$grid.shuffle({ |
||||
itemSelector: '[class*="col-"]', |
||||
sizer: $sizer |
||||
}); |
||||
}, |
||||
|
||||
// Set up button clicks |
||||
setupFilters = function() { |
||||
var $btns = $filterOptions.children(); |
||||
$btns.on('click', function() { |
||||
var $this = $(this), |
||||
isActive = $this.hasClass( 'active' ), |
||||
group = isActive ? 'all' : $this.data('group'); |
||||
|
||||
// Hide current label, show current label in title |
||||
if ( !isActive ) { |
||||
$('.filter-options .active').removeClass('active'); |
||||
} |
||||
|
||||
$this.toggleClass('active'); |
||||
|
||||
// Filter elements |
||||
$grid.shuffle( 'shuffle', group ); |
||||
}); |
||||
|
||||
$btns = null; |
||||
}, |
||||
|
||||
// Re layout shuffle when images load. This is only needed |
||||
// below 768 pixels because the .picture-item height is auto and therefore |
||||
// the height of the picture-item is dependent on the image |
||||
// I recommend using imagesloaded to determine when an image is loaded |
||||
// but that doesn't support IE7 |
||||
listen = function() { |
||||
var debouncedLayout = $.throttle( 300, function() { |
||||
$grid.shuffle('update'); |
||||
}); |
||||
|
||||
// Get all images inside shuffle |
||||
$grid.find('img').each(function() { |
||||
var proxyImage; |
||||
|
||||
// Image already loaded |
||||
if ( this.complete && this.naturalWidth !== undefined ) { |
||||
return; |
||||
} |
||||
|
||||
// If none of the checks above matched, simulate loading on detached element. |
||||
proxyImage = new Image(); |
||||
$( proxyImage ).on('load', function() { |
||||
$(this).off('load'); |
||||
debouncedLayout(); |
||||
}); |
||||
|
||||
proxyImage.src = this.src; |
||||
}); |
||||
|
||||
// Because this method doesn't seem to be perfect. |
||||
setTimeout(function() { |
||||
debouncedLayout(); |
||||
}, 500); |
||||
}; |
||||
|
||||
return { |
||||
init: init |
||||
}; |
||||
}( jQuery )); |
||||
|
||||
|
||||
|
||||
$(document).ready(function() { |
||||
shuffleme.init(); |
||||
}); |
||||
|
||||
</script> |
||||
|
||||
<!-- new attempt--> |
||||
|
||||
<script> |
||||
$(document).ready(function() { |
||||
|
||||
/* initialize shuffle plugin */ |
||||
var $grid = $('#grid'); |
||||
|
||||
$grid.shuffle({ |
||||
itemSelector: '.item' // the selector for the items in the grid |
||||
}); |
||||
|
||||
});</script> |
||||
|
||||
<script> |
||||
$('#filter a').click(function (e) { |
||||
e.preventDefault(); |
||||
|
||||
// set active class |
||||
$('#filter a').removeClass('active'); |
||||
$(this).addClass('active'); |
||||
|
||||
// get group name from clicked item |
||||
var groupName = $(this).attr('data-group'); |
||||
|
||||
// reshuffle grid |
||||
$grid.shuffle('shuffle', groupName ); |
||||
});</script> |
||||
|
||||
|
@ -0,0 +1 @@
|
||||
<img class="inline" src="images/{{include.file}}" alt="{{include.alt}}" /> |
@ -0,0 +1,44 @@
|
||||
{% comment %}Get links from each sidebar, as listed in the _config.yml file under sidebars{% endcomment %} |
||||
|
||||
{% for sidebar in site.sidebars %} |
||||
{% for entry in site.data.sidebars[sidebar].entries %} |
||||
{% for folder in entry.folders %} |
||||
{% for folderitem in folder.folderitems %} |
||||
{% if folderitem.url contains "html#" %} |
||||
[{{folderitem.url | remove: "/" }}]: {{folderitem.url | remove: "/"}} |
||||
{% else %} |
||||
[{{folderitem.url | remove: "/" | remove: ".html"}}]: {{folderitem.url | remove: "/"}} |
||||
{% endif %} |
||||
{% for subfolders in folderitem.subfolders %} |
||||
{% for subfolderitem in subfolders.subfolderitems %} |
||||
[{{subfolderitem.url | remove: "/" | remove: ".html"}}]: {{subfolderitem.url | remove: "/"}} |
||||
{% endfor %} |
||||
{% endfor %} |
||||
{% endfor %} |
||||
{% endfor %} |
||||
{% endfor %} |
||||
{% endfor %} |
||||
|
||||
|
||||
{% comment %} Get links from topnav {% endcomment %} |
||||
|
||||
{% for entry in site.data.topnav.topnav %} |
||||
{% for item in entry.items %} |
||||
{% if item.external_url == null %} |
||||
[{{item.url | remove: "/" | remove: ".html"}}]: {{item.url | remove: "/"}} |
||||
{% endif %} |
||||
{% endfor %} |
||||
{% endfor %} |
||||
|
||||
{% comment %}Get links from topnav dropdowns {% endcomment %} |
||||
|
||||
{% for entry in site.data.topnav.topnav_dropdowns %} |
||||
{% for folder in entry.folders %} |
||||
{% for folderitem in folder.folderitems %} |
||||
{% if folderitem.external_url == null %} |
||||
[{{folderitem.url | remove: "/" | remove: ".html"}}]: {{folderitem.url | remove: "/"}} |
||||
{% endif %} |
||||
{% endfor %} |
||||
{% endfor %} |
||||
{% endfor %} |
||||
|
@ -0,0 +1 @@
|
||||
<div markdown="span" class="alert alert-info" role="alert"><i class="fa fa-info-circle"></i> <b>Note:</b> {{include.content}}</div> |
@ -0,0 +1,5 @@
|
||||
<div class="px-2"> |
||||
<a href="https://colab.research.google.com/github/{{site.repository}}/blob/{{page.branch | default: "master"}}/{{page.nb_path}}" target="_blank"> |
||||
<img class="notebook-badge-image" src="{{ "images/colab.svg" | relative_url }}" alt="Open In Colab"/> |
||||
</a> |
||||
</div> |
@ -0,0 +1,16 @@
|
||||
<script> |
||||
(function() { |
||||
var cx = '{{site.google_search}}'; |
||||
var gcse = document.createElement('script'); |
||||
gcse.type = 'text/javascript'; |
||||
gcse.async = true; |
||||
gcse.src = 'https://cse.google.com/cse.js?cx=' + cx; |
||||
var s = document.getElementsByTagName('script')[0]; |
||||
s.parentNode.insertBefore(gcse, s); |
||||
})(); |
||||
</script> |
||||
|
||||
<div id="gcs-search-container"> |
||||
<gcse:search></gcse:search> |
||||
</div> |
||||
|
@ -0,0 +1,16 @@
|
||||
<div id="search-demo-container"> |
||||
<input type="text" id="search-input" placeholder="{{site.data.strings.search_placeholder_text}}"> |
||||
<ul id="results-container"></ul> |
||||
</div> |
||||
<script src="{{ "js/jekyll-search.js"}}" type="text/javascript"></script> |
||||
<script type="text/javascript"> |
||||
SimpleJekyllSearch.init({ |
||||
searchInput: document.getElementById('search-input'), |
||||
resultsContainer: document.getElementById('results-container'), |
||||
dataSource: '{{ "search.json" }}', |
||||
searchResultTemplate: '<li><a href="{url}" title="{{page.title | escape }}">{title}</a></li>', |
||||
noResultsText: '{{site.data.strings.search_no_results_text}}', |
||||
limit: 10, |
||||
fuzzy: true, |
||||
}) |
||||
</script> |
@ -0,0 +1,59 @@
|
||||
{% assign sidebar = site.data.sidebars[page.sidebar].entries %} |
||||
{% assign pageurl = page.url | remove: ".html" %} |
||||
|
||||
<ul id="mysidebar" class="nav"> |
||||
<li class="sidebarTitle">{{sidebar[0].product}} {{sidebar[0].version}}</li> |
||||
{% for entry in sidebar %} |
||||
{% for folder in entry.folders %} |
||||
{% if folder.output contains "web" %} |
||||
<li> |
||||
<a href="#">{{ folder.title }}</a> |
||||
<ul> |
||||
{% for folderitem in folder.folderitems %} |
||||
{% if folderitem.output contains "web" %} |
||||
{% if folderitem.external_url %} |
||||
<li><a href="{{folderitem.external_url}}" target="_blank">{{folderitem.title}}</a></li> |
||||
{% elsif pageurl == folderitem.url %} |
||||
<li class="active"><a href="{{folderitem.url | relative_url}}">{{folderitem.title}}</a></li> |
||||
{% elsif folderitem.type == "empty" %} |
||||
<li><a href="{{folderitem.url | relative_url}}">{{folderitem.title}}</a></li> |
||||
|
||||
{% else %} |
||||
<li><a href="{{folderitem.url | relative_url}}">{{folderitem.title}}</a></li> |
||||
{% endif %} |
||||
{% for subfolders in folderitem.subfolders %} |
||||
{% if subfolders.output contains "web" %} |
||||
<li class="subfolders"> |
||||
<a href="#">{{ subfolders.title }}</a> |
||||
<ul> |
||||
{% for subfolderitem in subfolders.subfolderitems %} |
||||
{% if subfolderitem.output contains "web" %} |
||||
{% if subfolderitem.external_url %} |
||||
<li><a href="{{subfolderitem.external_url}}" target="_blank">{{subfolderitem.title}}</a></li> |
||||
{% elsif pageurl == subfolderitem.url %} |
||||
<li class="active"><a href="{{subfolderitem.url | relative_url}}">{{subfolderitem.title}}</a></li> |
||||
{% else %} |
||||
<li><a href="{{subfolderitem.url | relative_url}}">{{subfolderitem.title}}</a></li> |
||||
{% endif %} |
||||
{% endif %} |
||||
{% endfor %} |
||||
</ul> |
||||
</li> |
||||
{% endif %} |
||||
{% endfor %} |
||||
{% endif %} |
||||
{% endfor %} |
||||
</ul> |
||||
</li> |
||||
{% endif %} |
||||
{% endfor %} |
||||
{% endfor %} |
||||
<!-- if you aren't using the accordion, uncomment this block: |
||||
<p class="external"> |
||||
<a href="#" id="collapseAll">Collapse All</a> | <a href="#" id="expandAll">Expand All</a> |
||||
</p> |
||||
--> |
||||
</ul> |
||||
|
||||
<!-- this highlights the active parent class in the navgoco sidebar. this is critical so that the parent expands when you're viewing a page. This must appear below the sidebar code above. Otherwise, if placed inside customscripts.js, the script runs before the sidebar code runs and the class never gets inserted.--> |
||||
<script>$("li.active").parents('li').toggleClass("active");</script> |
@ -0,0 +1 @@
|
||||
<div markdown="span" class="alert alert-success" role="alert"><i class="fa fa-check-square-o"></i> <b>Tip:</b> {{include.content}}</div> |
@ -0,0 +1,21 @@
|
||||
|
||||
<!-- this handles the automatic toc. use ## for subheads to auto-generate the on-page minitoc. if you use html tags, you must supply an ID for the heading element in order for it to appear in the minitoc. --> |
||||
<script> |
||||
$( document ).ready(function() { |
||||
// Handler for .ready() called. |
||||
|
||||
$('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3,h4' }); |
||||
|
||||
/* this offset helps account for the space taken up by the floating toolbar. */ |
||||
$('#toc').on('click', 'a', function() { |
||||
var target = $(this.getAttribute('href')) |
||||
, scroll_target = target.offset().top |
||||
|
||||
$(window).scrollTop(scroll_target - 10); |
||||
return false |
||||
}) |
||||
|
||||
}); |
||||
</script> |
||||
|
||||
<div id="toc"></div> |
@ -0,0 +1,62 @@
|
||||
<!-- Navigation --> |
||||
<nav class="navbar navbar-inverse navbar-static-top"> |
||||
<div class="container topnavlinks"> |
||||
<div class="navbar-header"> |
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> |
||||
<span class="sr-only">Toggle navigation</span> |
||||
<span class="icon-bar"></span> |
||||
<span class="icon-bar"></span> |
||||
<span class="icon-bar"></span> |
||||
</button> |
||||
<a class="fa fa-home fa-lg navbar-brand" href="{{ site.baseurl | prepend: site.url }}"> <span class="projectTitle">{{site.topnav_title}}</span></a> |
||||
</div> |
||||
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> |
||||
<ul class="nav navbar-nav navbar-right"> |
||||
<!-- toggle sidebar button --> |
||||
<li><a id="tg-sb-link" href="#"><i id="tg-sb-icon" class="fa fa-toggle-on"></i> Nav</a></li> |
||||
<!-- entries without drop-downs appear here --> |
||||
|
||||
{% assign topnav = site.data[page.topnav] %} |
||||
{% assign topnav_dropdowns = site.data[page.topnav].topnav_dropdowns %} |
||||
|
||||
{% for entry in topnav.topnav %} |
||||
{% for item in entry.items %} |
||||
{% if item.external_url %} |
||||
<li><a href="{{item.external_url}}" target="_blank">{{item.title}}</a></li> |
||||
{% elsif page.url contains item.url %} |
||||
<li class="active"><a href="{{item.url | remove: "/"}}">{{item.title}}</a></li> |
||||
{% else %} |
||||
<li><a href="{{item.url | remove: "/"}}">{{item.title}}</a></li> |
||||
{% endif %} |
||||
{% endfor %} |
||||
{% endfor %} |
||||
<!-- entries with drop-downs appear here --> |
||||
<!-- conditional logic to control which topnav appears for the audience defined in the configuration file.--> |
||||
{% for entry in topnav_dropdowns %} |
||||
{% for folder in entry.folders %} |
||||
<li class="dropdown"> |
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">{{ folder.title }}<b class="caret"></b></a> |
||||
<ul class="dropdown-menu"> |
||||
{% for folderitem in folder.folderitems %} |
||||
{% if folderitem.external_url %} |
||||
<li><a href="{{folderitem.external_url}}" target="_blank">{{folderitem.title}}</a></li> |
||||
{% elsif page.url contains folderitem.url %} |
||||
<li class="dropdownActive"><a href="{{folderitem.url | remove: "/"}}">{{folderitem.title}}</a></li> |
||||
{% else %} |
||||
<li><a href="{{folderitem.url | remove: "/"}}">{{folderitem.title}}</a></li> |
||||
{% endif %} |
||||
{% endfor %} |
||||
</ul> |
||||
</li> |
||||
{% endfor %} |
||||
{% endfor %} |
||||
{% if site.google_search %} |
||||
<li> |
||||
{% include search_google_custom.html %} |
||||
</li> |
||||
{% endif %} |
||||
</ul> |
||||
</div> |
||||
</div> |
||||
<!-- /.container --> |
||||
</nav> |
@ -0,0 +1 @@
|
||||
<div markdown="span" class="alert alert-danger" role="alert"><i class="fa fa-exclamation-circle"></i> <b>Warning:</b> {{include.content}}</div> |
@ -0,0 +1,110 @@
|
||||
<!DOCTYPE html> |
||||
<html> |
||||
<head> |
||||
{% include head.html %} |
||||
<script> |
||||
$(document).ready(function() { |
||||
// Initialize navgoco with default options |
||||
$("#mysidebar").navgoco({ |
||||
caretHtml: '', |
||||
accordion: true, |
||||
openClass: 'active', // open |
||||
save: false, // leave false or nav highlighting doesn't work right |
||||
cookie: { |
||||
name: 'navgoco', |
||||
expires: false, |
||||
path: '/' |
||||
}, |
||||
slide: { |
||||
duration: 400, |
||||
easing: 'swing' |
||||
} |
||||
}); |
||||
|
||||
$("#collapseAll").click(function(e) { |
||||
e.preventDefault(); |
||||
$("#mysidebar").navgoco('toggle', false); |
||||
}); |
||||
|
||||
$("#expandAll").click(function(e) { |
||||
e.preventDefault(); |
||||
$("#mysidebar").navgoco('toggle', true); |
||||
}); |
||||
|
||||
// activate menu items where href is matching to current page |
||||
$("#mysidebar a[href='" + location.pathname.match(/(\/[^\/]*)$/)[1] + "']") |
||||
.parents('li').addClass('active') |
||||
.parents('ul').css('display', 'block'); |
||||
}); |
||||
|
||||
</script> |
||||
<script> |
||||
$(function () { |
||||
$('[data-toggle="tooltip"]').tooltip() |
||||
}) |
||||
</script> |
||||
<script> |
||||
$(document).ready(function() { |
||||
$("#tg-sb-link").click(function() { |
||||
$("#tg-sb-sidebar").toggle(); |
||||
$("#tg-sb-content").toggleClass('col-md-9'); |
||||
$("#tg-sb-content").toggleClass('col-md-12'); |
||||
$("#tg-sb-icon").toggleClass('fa-toggle-on'); |
||||
$("#tg-sb-icon").toggleClass('fa-toggle-off'); |
||||