forked from chrisjsewell/ipypublish
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
version 0.9 release (chrisjsewell#67)
- Added ``ipubpandoc`` (see :ref:`markdown_cells`) - Refactored conversion process to :py:class:`ipypublish.convert.main.IpyPubMain` configurable class - Added postprocessors (see :ref:`post-processors`) - Added Sphinx extension (see :ref:`sphinx_extension`) - Added Binder examples to documentation (see :ref:`code_cells`)
- Loading branch information
1 parent
3bec577
commit 3410e2e
Showing
204 changed files
with
17,730 additions
and
3,307 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[run] | ||
omit = | ||
ipypublish/ipysphinx/docutils_transforms.py | ||
ipypublish/ipysphinx/extension.py | ||
ipypublish/ipysphinx/directives.py | ||
ipypublish/scripts/nb_setup.py |
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,17 @@ | ||
version: 2 | ||
|
||
conda: | ||
environment: docs/environment.yaml | ||
|
||
python: | ||
version: 3.6 | ||
install: | ||
- method: pip | ||
path: . | ||
|
||
# default | ||
# sphinx: | ||
# builder: html | ||
# configuration: conf.py | ||
# fail_on_warning: true | ||
|
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,76 @@ | ||
{ | ||
"super": { | ||
"prefix": "super", | ||
"scope": "jinja,jinja-yaml,jinja-html", | ||
"body": "{{ super() }}", | ||
"description": "call inherited block" | ||
}, | ||
"set": { | ||
"prefix": "set", | ||
"scope": "jinja,jinja-yaml,jinja-html", | ||
"body": "{% set ${1:name} = ${2:value} %}", | ||
"description": "set variable" | ||
}, | ||
"print": { | ||
"prefix": "print", | ||
"scope": "jinja,jinja-yaml,jinja-html", | ||
"body": "{{ ${1:variable} }}", | ||
"description": "print variable" | ||
}, | ||
"block": { | ||
"prefix": "block", | ||
"scope": "jinja,jinja-yaml,jinja-html", | ||
"body": [ | ||
"{% block ${1:name} %}", | ||
"$2", | ||
"{% endblock ${1:name} %}" | ||
], | ||
"description": "jinja block" | ||
}, | ||
"macro": { | ||
"prefix": "macro", | ||
"scope": "jinja,jinja-yaml,jinja-html", | ||
"body": [ | ||
"{% macro ${1:name} %}", | ||
"$2", | ||
"{% endmacro %}" | ||
], | ||
"description": "macro function" | ||
}, | ||
"if": { | ||
"prefix": "if", | ||
"scope": "jinja,jinja-yaml,jinja-html", | ||
"body": [ | ||
"{% if ${1:condition} %}", | ||
"$2", | ||
"{% endif %}" | ||
], | ||
"description": "if condition" | ||
}, | ||
"if-else": { | ||
"prefix": "if-else", | ||
"scope": "jinja,jinja-yaml,jinja-html", | ||
"body": [ | ||
"{% if ${1:condition} %}", | ||
"$2", | ||
"{% else %}", | ||
"$3", | ||
"{% endif %}" | ||
], | ||
"description": "if-else condition" | ||
}, | ||
"if-elif-else": { | ||
"prefix": "if-elif-else", | ||
"scope": "jinja,jinja-yaml,jinja-html", | ||
"body": [ | ||
"{% if ${1:condition} %}", | ||
"$2", | ||
"{% else %}", | ||
"$3", | ||
"{% elif ${1:condition2} %}", | ||
"", | ||
"{% endif %}" | ||
], | ||
"description": "if-else condition" | ||
} | ||
} |
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
recursive-include ipypublish *.json | ||
recursive-include ipypublish *.j2 | ||
recursive-include ipypublish *.yaml | ||
recursive-include ipypublish/ipysphinx/css *.css | ||
recursive-include ipypublish/tests/test_files * |
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,7 @@ | ||
This directory holds configuration files for https://mybinder.org/. | ||
|
||
The notebooks that comprise the documentation can be accessed with this link: | ||
https://mybinder.org/v2/gh/chrisjsewell/ipypublish/master?filepath=docs | ||
|
||
To check out a different version, just replace "master" with the desired | ||
branch/tag name or commit hash. |
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,10 @@ | ||
name: ipypublish-environment | ||
channels: | ||
- conda-forge | ||
dependencies: | ||
- python==3.6 | ||
- numpy | ||
- matplotlib | ||
- pandas | ||
- sympy<1.3 | ||
- pillow |
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,5 @@ | ||
#!/bin/sh | ||
|
||
set -ex | ||
|
||
pip install . |
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,4 @@ | ||
# source/releases.* | ||
source/api/ | ||
source/*_nbfiles/ | ||
source/converted/ |
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,15 @@ | ||
channels: | ||
- conda-forge | ||
dependencies: | ||
- python>=3 | ||
- sphinx>=1.6 | ||
- pandoc | ||
- nbconvert!=5.4 | ||
- ipykernel | ||
- sphinxcontrib-bibtex | ||
- jupytext | ||
- numpy | ||
- matplotlib | ||
- pandas | ||
- sympy<1.3 | ||
- pytest>=3.6 |
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,3 @@ | ||
rm -f source/api/*.rst | ||
sphinx-apidoc --force --separate -o . ../../ipypublish/ ../../ipypublish/ipypublish/tests ../../ipypublish/setup.py | ||
rm -f source/api/modules.rst |
Binary file not shown.
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,42 @@ | ||
|
||
@article{kirkeminde_thermodynamic_2012, | ||
title = {Thermodynamic Control of Iron Pyrite Nanocrystal Synthesis with High Photoactivity and Stability}, | ||
volume = {1}, | ||
issn = {2050-7496}, | ||
doi = {10.1039/C2TA00498D}, | ||
abstract = {Non-toxic, earth abundant nanostructured semiconductors have received extensive attention recently. One of the more highly studied materials has been iron pyrite (FeS2) due to its many different promising applications. Herein, we report the thermodynamically-controlled synthesis of FeS2 nanocrystals, dependent on the reaction temperature and chemical precursors, and a Lewis acid/base model to explain the shape-controlled synthesis. The surface facet-controlled photocatalytic activity and photostability were studied and explained. This work further advances the synthesis with pyrite structure control and surface facet-dictated applications, such as photovoltaics, photocatalysts and photoelectrochemical cells.}, | ||
timestamp = {2017-07-06T00:26:10Z}, | ||
langid = {english}, | ||
number = {1}, | ||
journaltitle = {Journal of Materials Chemistry A}, | ||
journal = {Journal of Materials Chemistry A}, | ||
shortjournal = {J. Mater. Chem. A}, | ||
author = {Kirkeminde, Alec and Ren, Shenqiang}, | ||
urldate = {2017-06-18}, | ||
date = {2012-11-29}, | ||
year = {2012}, | ||
pages = {49--54}, | ||
file = {Kirkeminde_Ren_2012_Thermodynamic control of iron pyrite nanocrystal synthesis with high.pdf:/Users/cjs14/Docear/projects/Corrosion/Zotero_Attachments//2012/Kirkeminde_Ren_2012_Thermodynamic control of iron pyrite nanocrystal synthesis with high.pdf:application/pdf} | ||
} | ||
|
||
@article{zelenyak_molecular_2016, | ||
title = {Molecular Dynamics Study of Perovskite Structures with Modified Interatomic Interaction Potentials}, | ||
volume = {50}, | ||
issn = {0018-1439, 1608-3148}, | ||
doi = {10.1134/S0018143916050209}, | ||
abstract = {The structure of compounds with the perovskite structure ABX3 (A and B are cations, X are anions O2—, F—, Cl—, Br—, and I—), which are widely used in engineering due to unique electrical, optical, and photovoltaic properties, has been considered. Hybrid organic—inorganic halide perovskites important for photovoltaics of a new generation are worth mentioning; they contain cations of organic nitrogen bases as monovalent cations. A molecular dynamics (MD) study of the CaTiO3 base structure (Ca2+, Ti4+, and O2—) has been performed in order to develop the methodology of computer simulation and optimization of the shape and parameters of atomic potentials for perovskite systems.}, | ||
timestamp = {2017-07-06T00:19:33Z}, | ||
langid = {english}, | ||
number = {5}, | ||
journaltitle = {High Energy Chemistry}, | ||
journal = {High Energy Chemistry}, | ||
shortjournal = {High Energy Chem}, | ||
author = {Zelenyak, T. Yu and Kholmurodov, Kh T. and Tameev, A. R. and Vannikov, A. V. and Gladyshev, P. P.}, | ||
urldate = {2017-07-06}, | ||
date = {2016-09-01}, | ||
year = {2016}, | ||
pages = {400--405}, | ||
file = {Zelenyak et al_2016_Molecular dynamics study of perovskite structures with modified interatomic.pdf:/Users/cjs14/Library/Application Support/Firefox/Profiles/gignsb3n.default/zotero/storage/H5NVC2I5/Zelenyak et al_2016_Molecular dynamics study of perovskite structures with modified interatomic.pdf:application/pdf} | ||
} | ||
|
||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Oops, something went wrong.