Skip to content

Commit

Permalink
docs: move installation instructions to index page
Browse files Browse the repository at this point in the history
  • Loading branch information
tillywoodfield committed May 30, 2024
1 parent e3949c4 commit 321fb0e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 25 deletions.
25 changes: 17 additions & 8 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,27 @@
IATI Sphinx Theme
=================

.. toctree::
:titlesonly:
:maxdepth: 2
:caption: Usage
:hidden:

installation

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

kitchen-sink/index

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"
17 changes: 0 additions & 17 deletions docs/installation.rst

This file was deleted.

0 comments on commit 321fb0e

Please sign in to comment.