项目作者: pyscaffold

项目描述 :
⬇️ PyScaffold extension which replaces reStructuredText by Markdown
高级语言: Python
项目地址: git://github.com/pyscaffold/pyscaffoldext-markdown.git
创建时间: 2018-08-23T13:08:52Z
项目社区:https://github.com/pyscaffold/pyscaffoldext-markdown

开源协议:MIT License

下载


Build Status
ReadTheDocs
Coveralls
PyPI-Server
Conda-Forge
Downloads
Sponsor

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:

  1. tox -e docs # to build your documentation
  2. tox -e build # to build your package distribution
  3. tox -e publish # to test your project uploads correctly in test.pypi.org
  4. tox -e publish -- --repository pypi # to release your package to PyPI
  5. 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:

  1. python -m pip install -U pip setuptools wheel sphinx twine
  2. python setup.py bdist_wheel # to build your package distributions
  3. make -C docs html # to build your docs
  4. 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:

  1. pip install pre-commit
  2. cd pyscaffoldext-markdown
  3. pre-commit install

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

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