Skip to content

Commit

Permalink
docs: add installation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
tillywoodfield committed May 23, 2024
1 parent 3d137c1 commit f2e5439
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
11 changes: 10 additions & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@ IATI Sphinx Theme
.. toctree::
:titlesonly:
:maxdepth: 2
:caption: Table of Contents
:caption: Usage
:hidden:

installation

.. toctree::
:titlesonly:
:maxdepth: 1
:caption: Development
:hidden:

kitchen-sink/index
17 changes: 17 additions & 0 deletions docs/installation.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
============
Installation
============

1.
Install the theme in your Sphinx project.

.. code-block:: none
pip install iati-sphinx-theme
2.
In your project's :code:`conf.py` set the :code:`html_theme`.

.. code-block:: python
html_theme = "iati_sphinx_theme"

0 comments on commit f2e5439

Please sign in to comment.