Skip to content
Novus Examples
rst1 KB

reStructuredText Doc (RST source)

A reStructuredText document with directives, a code block, a note admonition, and a table — for testing docutils/Sphinx rendering, reST parsers, and editors.

Preview — first 49 linesrst
Novus Widget Documentation
==========================

A sample reStructuredText document for testing docutils, Sphinx, and editors.

Introduction
------------

The **Novus Widget** renders a configurable component. This file exercises reST
constructs: headings, lists, code blocks, and admonitions.

Installation
------------

Install from the package index::

    pip install novus-widget

Quick start
-----------

#. Import the widget.
#. Create an instance.
#. Call ``render()``.

.. code-block:: python

    from novus_widget import Widget
    Widget("#app").render()

.. note::

   Call ``render()`` after the page has loaded.

Options
-------

===========  =========  ==============================
Option       Default    Description
===========  =========  ==============================
theme        light      Colour theme (light or dark)
size         md         One of sm, md, lg
===========  =========  ==============================

License
-------

Free for any use. This text is synthetic sample content.

Specifications

Format
reStructuredText
Features
headings, code-block, note, table

What is a .rst file?

reStructuredText (reST) is a plain-text markup language from the Python community, used heavily for software documentation and by the Sphinx documentation generator. It uses indentation and simple punctuation for structure — headings, directives, roles, and cross-references. The .rst extension is standard.

How to use this file

Use an example .rst file to test reStructuredText parsers and editors, Sphinx or docutils rendering, and syntax highlighting.

Generated by generation/docs_realworld.py. Free for any use, no attribution required — license.