Contributions to pandoc-fignos are welcome. Before implementing a new feature, it is best to discuss it in an Issue so that any potential problems can be resolved. Pull Requests should be linked into the Issue when ready.
-
This should be easy.
-
Features should be supported for ALL output formats.
-
The native capabilities of each output format should be employed.
The next release is developed in the nextrelease
branch. When ready, the changes are merged into the master
branch.
A copy of the 1.x release series is maintained in the 1.x branch.
Demo outputs are stored in the demos
branch.
Installing from source may require upgrading setuptools
by executing
pip install --upgrade setuptools
as root (or under sudo).
There are a few different options for installing from source:
-
To install from the github
master
branch use:pip install git+https://github.com/tomduck/pandoc-fignos.git --user
(to upgrade append the
--upgrade
flag). -
To install from the
nextrelease
branch on github, usepip install git+https://github.com/tomduck/pandoc-fignos.git@nextrelease --user
(to upgrade use the --upgrade flag).
-
To install from a local source distribution,
cd
into its root and usepip install -e . --user
Note that any changes made to the source will be automatically reflected when the filter is run (which is useful for development).
Regression tests for pandoc-fignos are provided in test/
. Read the README.md in that directory for instructions.
These are notes for release managers.
Merge the nextrelease
branch into master
using
git checkout master
git merge nextrelease
git push
Starting from the root of the master
branch, update demos in the demos
branch using
cd demos
make -B
git checkout demos
cp -rf out/* ..
git commit --amend -am "Updated demos."
git push --force
This procedure ensures that there will only be a single revision of each file (see https://stackoverflow.com/a/22827188).
See https://www.python.org/dev/peps/pep-0440/ for numbering conventions, including for pre-releases.
Check that you are in the master
branch.
Tagging (update the version number):
git tag -a 2.4.0 -m "New release."
git push origin 2.4.0
Create source and binary distributions using
python3 setup.py sdist bdist_wheel
(see https://packaging.python.org/tutorials/packaging-projects/).
Upload to pypi (update the version number) using
twine upload dist/pandoc-fignos-2.4.0.tar.gz \
dist/pandoc_fignos-2.4.0-py3-none-any.whl