-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #56 from ickc/pandoc-2_11
Closes #51
- Loading branch information
Showing
112 changed files
with
5,695 additions
and
1,997 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,24 @@ | ||
[bumpversion] | ||
current_version = 0.13.0 | ||
commit = True | ||
tag = True | ||
|
||
[bumpversion:file:pyproject.toml] | ||
search = version = "{current_version}" | ||
replace = version = "{new_version}" | ||
|
||
[bumpversion:file:makefile] | ||
search = "pantable-{current_version}" | ||
replace = "pantable-{new_version}" | ||
|
||
[bumpversion:file:docs/badges.csv] | ||
search = v{current_version}. | ||
replace = v{new_version}. | ||
|
||
[bumpversion:file:docs/conf.py] | ||
search = version = release = "{current_version}" | ||
replace = version = release = "{new_version}" | ||
|
||
[bumpversion:file:src/pantable/__init__.py] | ||
search = __version__ = '{current_version}' | ||
replace = __version__ = '{new_version}' |
This file was deleted.
Oops, something went wrong.
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,20 @@ | ||
# see https://editorconfig.org/ | ||
root = true | ||
|
||
[*] | ||
# Use Unix-style newlines for most files (except Windows files, see below). | ||
end_of_line = lf | ||
trim_trailing_whitespace = true | ||
indent_style = space | ||
insert_final_newline = true | ||
indent_size = 4 | ||
charset = utf-8 | ||
|
||
[*.{bat,cmd,ps1}] | ||
end_of_line = crlf | ||
|
||
[*.{yml,yaml}] | ||
indent_size = 2 | ||
|
||
[*.tsv] | ||
indent_style = tab |
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,41 @@ | ||
name: GitHub Pages | ||
|
||
on: push | ||
# TODO | ||
# push: | ||
# branches: | ||
# - master | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: | ||
- 3.9 | ||
pandoc-version: | ||
- latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies—pip | ||
run: | | ||
pip install -U poetry setuptools tox | ||
make editable EXTRAS=[docs] | ||
- name: Install dependencies—pandoc | ||
run: | | ||
# pandoc | ||
[[ ${{ matrix.pandoc-version }} == "latest" ]] && url="https://github.com/jgm/pandoc/releases/latest" || url="https://github.com/jgm/pandoc/releases/tag/${{ matrix.pandoc-version }}" | ||
downloadUrl="https://github.com$(curl -L $url | grep -o '/jgm/pandoc/releases/download/.*-amd64\.deb')" | ||
wget --quiet "$downloadUrl" | ||
sudo dpkg -i "${downloadUrl##*/}" | ||
- name: Make docs | ||
run: make html | ||
- name: Deploy | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: dist/docs |
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,47 +1,83 @@ | ||
# macOS files | ||
.DS_Store | ||
docs/modules.rst | ||
docs/pantable*.rst | ||
docs/dot/pipeline-simple.dot | ||
|
||
tests/reference_idempotent.native | ||
tests/*.native | ||
!tests/reference_pantable.native | ||
tests/*.pdf | ||
poetry.lock | ||
setup.py | ||
|
||
# python auxiliary | ||
__pycache__/ | ||
.cache | ||
*.pyc | ||
.ipynb_checkpoints | ||
*.ipynb | ||
|
||
# pypi | ||
dist/ | ||
pantable.egg-info/ | ||
*.py[cod] | ||
__pycache__ | ||
|
||
# coverage | ||
.coverage | ||
.coverage.* | ||
htmlcov/ | ||
# C extensions | ||
*.so | ||
|
||
# pycharm | ||
.idea/ | ||
# Packages | ||
*.egg | ||
*.egg-info | ||
dist | ||
build | ||
eggs | ||
.eggs | ||
parts | ||
bin | ||
var | ||
sdist | ||
wheelhouse | ||
develop-eggs | ||
.installed.cfg | ||
lib | ||
lib64 | ||
venv*/ | ||
pyvenv*/ | ||
pip-wheel-metadata/ | ||
|
||
# rst2html | ||
README.rst | ||
README.html | ||
# Installer logs | ||
pip-log.txt | ||
|
||
.mypy_cache/ | ||
# Unit test / coverage reports | ||
.coverage* | ||
.tox | ||
.pytest_cache/ | ||
build/ | ||
.vscode/ | ||
nosetests.xml | ||
coverage.xml | ||
htmlcov | ||
|
||
# Translations | ||
*.mo | ||
|
||
# Buildout | ||
.mr.developer.cfg | ||
|
||
# IDE project files | ||
.project | ||
.pydevproject | ||
.idea | ||
.vscode | ||
*.iml | ||
*.komodoproject | ||
|
||
gh-pages/ | ||
# Complexity | ||
output/*.html | ||
output/*/index.html | ||
|
||
docs/* | ||
!docs/badges.markdown | ||
!docs/comparison.csv | ||
!docs/example.csv | ||
!docs/README.md | ||
# Sphinx | ||
!docs/conf.py | ||
!docs/index.rst | ||
!docs/make.bat | ||
!docs/Makefile | ||
!docs/requirements.txt | ||
docs/_build | ||
|
||
.DS_Store | ||
*~ | ||
.*.sw[po] | ||
.build | ||
.ve | ||
.env | ||
.cache | ||
.pytest | ||
.benchmarks | ||
.bootstrap | ||
.appveyor.token | ||
*.bak | ||
|
||
# Mypy Cache | ||
.mypy_cache/ |
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,19 @@ | ||
# Revision history for Pantable | ||
|
||
- v0.13:added pandoc 2.11.0.4+ & panflute 2+ support | ||
- pandoc 2.10 introduces a new table AST. This version provides complete support of all features supported in the pandoc AST. Hence, older pandoc versions are no longer supported. Install `pantable=0.12.4` if you need to use `pandoc<2.10`. | ||
- deprecated `pipe_tables`, `grid_tables`, `raw_markdown` options in pantable, which were introduced in v0.12. pantable v0.13 has a much better way to process markdown cells that these are no longer needed. | ||
- slight changes on markdown output which should be functionally identical. Both changes in pandoc and pantable cause this. See commit eadc6fb. | ||
- v0.12.4: Require panflute<2 explicitly | ||
- panflute 2 is released to support pandoc API 1.22. This release ensures that version control is correct when people specify pantable==0.12 in the future. | ||
- v0.12.3: Fixes test and CI; update on supported Python versions | ||
- migrate from Travis CI to GitHub Actions | ||
- supported Python versions are now 3.5-3.8, pypy3 | ||
- minor update in README | ||
- v0.12.2: Add `grid_tables` | ||
- v0.12.1: add `include-encoding`, `csv-kwargs` | ||
- closes #36, #38. See doc for details on this new keys. | ||
- v0.12: Drop Python 2 support; enhance CSV with markdown performance | ||
- Dropping Python2 support, existing Python 2 users should be fine with pip>=9.0. See <https://python3statement.org/practicalities/>. | ||
|
||
- add `pipe_tables`, `raw_markdown` options. See README for details. This for example will speed up CSV with markdown cells a lot (trading correctness for speed though.) |
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,37 @@ | ||
.. This is auto-generated from `CHANGELOG.md`. Do not edit this file directly. | ||
:Date: December 16, 2020 | ||
|
||
.. contents:: | ||
:depth: 3 | ||
.. | ||
Revision history for Pantable | ||
============================= | ||
|
||
- v0.13:added pandoc 2.11.0.4+ & panflute 2+ support | ||
|
||
- pandoc 2.10 introduces a new table AST. This version provides complete support of all features supported in the pandoc AST. Hence, older pandoc versions are no longer supported. Install ``pantable=0.12.4`` if you need to use ``pandoc<2.10``. | ||
- deprecated ``pipe_tables``, ``grid_tables``, ``raw_markdown`` options in pantable, which were introduced in v0.12. pantable v0.13 has a much better way to process markdown cells that these are no longer needed. | ||
- slight changes on markdown output which should be functionally identical. Both changes in pandoc and pantable cause this. See commit eadc6fb. | ||
|
||
- v0.12.4: Require panflute<2 explicitly | ||
|
||
- panflute 2 is released to support pandoc API 1.22. This release ensures that version control is correct when people specify pantable==0.12 in the future. | ||
|
||
- v0.12.3: Fixes test and CI; update on supported Python versions | ||
|
||
- migrate from Travis CI to GitHub Actions | ||
- supported Python versions are now 3.5-3.8, pypy3 | ||
- minor update in README | ||
|
||
- v0.12.2: Add ``grid_tables`` | ||
- v0.12.1: add ``include-encoding``, ``csv-kwargs`` | ||
|
||
- closes #36, #38. See doc for details on this new keys. | ||
|
||
- v0.12: Drop Python 2 support; enhance CSV with markdown performance | ||
|
||
- Dropping Python2 support, existing Python 2 users should be fine with pip>=9.0. See https://python3statement.org/practicalities/. | ||
|
||
- add ``pipe_tables``, ``raw_markdown`` options. See README for details. This for example will speed up CSV with markdown cells a lot (trading correctness for speed though.) |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.