Skip to content

Commit

Permalink
Improved documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
AlessioNar committed Dec 23, 2024
1 parent 297e11a commit c66ba03
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 88 deletions.
18 changes: 15 additions & 3 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
'sphinx.ext.autodoc',
'sphinx.ext.autosummary',
'sphinx.ext.intersphinx',
'sphinx.ext.napoleon',

'sphinx.ext.napoleon', # Ensure napoleon extension is included for Google style docstrings
]

intersphinx_mapping = {
Expand All @@ -38,4 +37,17 @@
html_theme = 'sphinx_rtd_theme'

# -- Options for EPUB output
epub_show_urls = 'footnote'
epub_show_urls = 'footnote'

# -- Napoleon settings
napoleon_google_docstring = True
napoleon_numpy_docstring = True
napoleon_include_init_with_doc = True
napoleon_include_private_with_doc = False
napoleon_include_special_with_doc = True
napoleon_use_admonition_for_examples = False
napoleon_use_admonition_for_notes = False
napoleon_use_admonition_for_references = False
napoleon_use_ivar = False
napoleon_use_param = True
napoleon_use_rtype = True
2 changes: 2 additions & 0 deletions docs/source/getting_started.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
Getting Started
===============

.. _getting_started:

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

Expand Down
3 changes: 1 addition & 2 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ Welcome to tulit's documentation!
**tulit** is a Python library for processing legal documents in various formats,
including Akoma Ntoso and Formex.

Check out the :doc:`getting started` section for further information, including
how to :ref:`installation` the project.
Check out the :doc:`getting started` section for further information.

.. note::

Expand Down
83 changes: 0 additions & 83 deletions docs/source/usage.rst

This file was deleted.

0 comments on commit c66ba03

Please sign in to comment.