Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Build Status ReadTheDocs Coveralls PyPI-Server Downloads

pyscaffoldext-markdown

PyScaffold extension which replaces reStructuredText formatted files by Markdown format except for Sphinx-related files.

Usage

Just install this package with pip install 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.

Limitations

Due to limitations of the Markdown syntax compared to reStructuredText, it is necessary to use symbolic links (and some reStructuredText files) to avoid keeping multiple copies of files (such as CHANGELOG.md) meant to be placed at the root of the repository but included in the documentation generated by Sphinx. If you are a Windows user please make sure to configure your system accordingly. The following references might be helpful:

Symbolic links on Windows

Markdown limitations

Windows users that still face problems after configuring their systems for symbolic links might want to attempt WSL or decide to stick with reStructuredText for (problematic) parts of their documentation files.

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/.

Metadata

Release files for pyscaffoldext-markdown 0.4b2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyscaffoldext-markdown 0.4b2
File Size Uploaded
pyscaffoldext-markdown-0.4b2.tar.gz 24.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyscaffoldext-markdown 0.4b2
File Interpreter ABI Platform
pyscaffoldext_markdown-0.4b2-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 35.9 kB

Release files / pyscaffoldext-markdown-0.4b2.tar.gz

Download URL pyscaffoldext-markdown-0.4b2.tar.gz
Size 24.9 kB
Tags Source
SHA-256 checksum
How to use checksums
386e856d3885d5759d3b60aed02ddf081acb4c3382b8b9bdc28dde272da9d982
BLAKE2b-256 checksum
How to use checksums
2a67225f378d5e4070484fe758c276477007216a183099c27d80f09e4e4a21b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.7.9

Release files / pyscaffoldext_markdown-0.4b2-py2.py3-none-any.whl

Download URL pyscaffoldext_markdown-0.4b2-py2.py3-none-any.whl
Size 11.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
6f554b818e944cb4b3cd772d5b1ef157e8d76906a826ad11d69e48039344698f
BLAKE2b-256 checksum
How to use checksums
85bd3936d9ad21fb6fea09e25af280d9a7485d0b757c0709b9d5f38372346c1b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.7.9
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page