From f39dd01290c9160470967e6f0f17642152345122 Mon Sep 17 00:00:00 2001 From: Kolen Cheung Date: Mon, 23 Jan 2017 00:08:36 -0800 Subject: [PATCH] initial commit See pandoc-extras/pandocpm#7 --- cap.yaml | 2 ++ debug.yaml | 12 ++++++++++++ index.yaml | 4 ++++ pandoc-eqnos.yaml | 7 +++++++ spec.yaml | 25 +++++++++++++++++++++++++ tabulate-elements.yaml | 11 +++++++++++ 6 files changed, 61 insertions(+) create mode 100644 cap.yaml create mode 100644 debug.yaml create mode 100644 index.yaml create mode 100644 pandoc-eqnos.yaml create mode 100644 spec.yaml create mode 100644 tabulate-elements.yaml diff --git a/cap.yaml b/cap.yaml new file mode 100644 index 0000000..c4d0754 --- /dev/null +++ b/cap.yaml @@ -0,0 +1,2 @@ +name: caps +# ... diff --git a/debug.yaml b/debug.yaml new file mode 100644 index 0000000..461e255 --- /dev/null +++ b/debug.yaml @@ -0,0 +1,12 @@ +name: debug +title: debug.py - inspect Pandoc's JSON output +author: Sergio Correia +homepage: https://github.com/sergiocorreia/panflute-filters +url: https://raw.githubusercontent.com/sergiocorreia/panflute-filters/master/filters/debug.yaml +version: 1.0.0 +categories: [dev, inspect] +description: | + This filter pretty prints the input it receives. + This is useful when debugging panflute filters, or the package itself. +# install: +# uninstall: diff --git a/index.yaml b/index.yaml new file mode 100644 index 0000000..80680a2 --- /dev/null +++ b/index.yaml @@ -0,0 +1,4 @@ +- name: caps +- name: debug +- name: tabulate-elements +- name: pandoc-eqnos diff --git a/pandoc-eqnos.yaml b/pandoc-eqnos.yaml new file mode 100644 index 0000000..640d018 --- /dev/null +++ b/pandoc-eqnos.yaml @@ -0,0 +1,7 @@ +name: pandoc-eqnos + branches: + - branch: default + url-type: pip + - branch: dev + url: git://github.com/tomduck/pandoc-eqnos.git + url-type: simple diff --git a/spec.yaml b/spec.yaml new file mode 100644 index 0000000..a5fbe49 --- /dev/null +++ b/spec.yaml @@ -0,0 +1,25 @@ +name: spec +version: 1.0.0 +# similar to setup.py i.e. more like title +description: Spec of Formula +long_description: | + A **very long** description +# https are mandatory +url: https://to.the.actual/package +homepage: https://to.the.homepage/of/package +author: Name +author_email: name@email.com +license: MIT +description: 'long description goes here' +# This would just copy the files to the $datadir/filters folder +# question: how would a single url point to 2 files? Does the URL suppose to be the path to `xyz.py` instead then? +# should they copied to `xyz` and `abc`, i.e. no extension? +# May be situation like these should be splited into 2 formulae? +files: [xyz.py, abc.py] +keywords: [example, spec] +# may be for auto-gallery only. or may be also auto install these +# should version be controlled? Our goal is not replicating a full package manager... +install_requires: pantable +installer: pep # or cabal, etc. , this would run "pep install xyz" instead of copying files +homepage: 'https://github/someone/somerepo' +conflicts_with: None diff --git a/tabulate-elements.yaml b/tabulate-elements.yaml new file mode 100644 index 0000000..0ae6b5d --- /dev/null +++ b/tabulate-elements.yaml @@ -0,0 +1,11 @@ +title: tabulate-elements.py - produce frequency table of the document elements +author: Sergio Correia +homepage: https://github.com/sergiocorreia/panflute-filters +url: https://raw.githubusercontent.com/sergiocorreia/panflute-filters/master/filters/tabulate-elements.yaml +version: 1.0.0 +categories: [dev, inspect] +description: | + This filter returns a table with the frequencies of each Pandoc element + (Str, Space, Para, etc.). +# install: +# uninstall: