Skip to main content

PyScaffold extension which uses Markdown instead of reStructuredText

Project description

Build Status ReadTheDocs Coveralls PyPI-Server Conda-Forge Downloads

pyscaffoldext-markdown

PyScaffold extension which replaces reStructuredText formatted files by Markdown format (with the help of MyST) except for Sphinx-related files.

Usage

Just install this package with either pip install pyscaffoldext-markdown or conda install -c conda-forge pyscaffoldext-markdown and note that putup -h shows a new option --markdown. Basically this extension will replace README.rst by a proper README.md and activate the support of Markdown files in Sphinx.

Building and Releasing

By default, the tox configuration generated by PyScaffold is compatible with Markdown (as implemented in this extension). This means that (after installing tox with pip or pipx) you can run:

tox -e docs  # to build your documentation
tox -e build  # to build your package distribution
tox -e publish  # to test your project uploads correctly in test.pypi.org
tox -e publish -- --repository pypi  # to release your package to PyPI
tox -av  # to list all the tasks available

Please remember that the command python setup.py release is no longer recommended, so if you don't like tox, please consider using Sphinx and twine directly:

python -m pip install -U pip setuptools wheel sphinx twine
python setup.py bdist_wheel  # to build your package distributions
make -C docs html  # to build your docs
twine upload dist/*  # to release your package to PyPI

Making Changes & Contributing

This project uses pre-commit, please make sure to install it before making any changes:

pip install pre-commit
cd pyscaffoldext-markdown
pre-commit install

It is a good idea to update the hooks to the latest version:

pre-commit autoupdate

Please also check PyScaffold's contribution guidelines.

Note

This project has been set up using PyScaffold 4.0. For details and usage information on PyScaffold see https://pyscaffold.org/.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyscaffoldext-markdown-0.5.tar.gz (29.6 kB view details)

Uploaded Source

Built Distribution

pyscaffoldext_markdown-0.5-py2.py3-none-any.whl (16.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pyscaffoldext-markdown-0.5.tar.gz.

File metadata

  • Download URL: pyscaffoldext-markdown-0.5.tar.gz
  • Upload date:
  • Size: 29.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.13

File hashes

Hashes for pyscaffoldext-markdown-0.5.tar.gz
Algorithm Hash digest
SHA256 7f2713b1cabdae350d162756c9ea07e10c1e76d85d09daaa8d70cef430b8b5db
MD5 b066b8c5afea663c6a08a234a048fdff
BLAKE2b-256 3b3ccc6859965714ff96f61c68845c7db7ecaa892539150e6b2d41b4995037ea

See more details on using hashes here.

File details

Details for the file pyscaffoldext_markdown-0.5-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pyscaffoldext_markdown-0.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a6ed064163fc0ec47f224c0bb5315b261fa41d49fd566dada48e21e8baab0e65
MD5 f1944a848fd4cadbc0deb7c60eaf6cdc
BLAKE2b-256 55ec866bdedd05fab16282a30ea91ab1b4b2cfee5bd3cec7745e298de267d69d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page