.. This file is generated from sphinx-notes/cookiecutter.
You need to consider modifying the TEMPLATE or modifying THIS FILE.
.. include:: ../README.rst
Introduction
============
.. ADDITIONAL CONTENT START
An extension that adds :del:`strikethrough text` support to Sphinx.
.. ADDITIONAL CONTENT END
Getting Started
===============
.. note::
We assume you already have a Sphinx documentation,
if not, see `Getting Started with Sphinx`_.
First, downloading extension from PyPI:
.. code-block:: console
$ pip install sphinxnotes-strike
Then, add the extension name to ``extensions`` configuration item in your conf.py_:
.. code-block:: python
extensions = [
# …
'sphinxnotes.strike',
# …
]
.. _Getting Started with Sphinx: https://www.sphinx-doc.org/en/master/usage/quickstart.html
.. _conf.py: https://www.sphinx-doc.org/en/master/usage/configuration.html
.. ADDITIONAL CONTENT START
Use role ``strike`` to add text with a strikethrough:
==================== ================
``:strike:`Sphinx``` :strike:`Sphinx`
==================== ================
Role ``del`` also works:
================= =============
``:del:`Sphinx``` :del:`Sphinx`
================= =============
.. ADDITIONAL CONTENT END
Contents
========
.. toctree::
:caption: Contents
changelog
The Sphinx Notes Project
========================
The project is developed by `Shengyu Zhang`__,
as part of **The Sphinx Notes Project**.
.. toctree::
:caption: The Sphinx Notes Project
Home
Blog
PyPI
__ https://github.com/SilverRainZ