Sample chapter
==============
This is a paragraph.


A section
---------
A paragraph in section.

.. note::

   This is a note.

A subsection
............

.. attention::

   Something that requires attention.

Adding footnotes
----------------
Some text that requires a footnote [1]_.

To see how to add content of this footnote, scroll down to
the bottom of this page.

Including abbreviations
-----------------------
Use the ``:abbr:`` directive, for example:
:abbr:`LIFO (last-in, first-out)`

Inserting links
---------------
To other documents in this book, use ``:doc:`` with the
path to the file. For example, :doc:`index`.

You can insert link to external websites
`inline <https://vimalkvn.com>`_ or
define them separately_.
See the links section at the end of this page.

Code samples
------------

.. code-block:: python

    # import os
    # import sys
    # sys.path.insert(0, os.path.abspath('.'))
    from string import Template

---

.. rubric:: Footnotes

.. [1] Text of the first footnote.
   More text here.


.. Links

.. _separately: https://vimalkvn.com/leanbook

