Skip to content

Commit

Permalink
docs: add usage and examples pages
Browse files Browse the repository at this point in the history
  • Loading branch information
balajtimate committed Oct 21, 2024
1 parent eac14ed commit acba203
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 17 deletions.
13 changes: 10 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

from sphinx.ext import apidoc

sys.path.insert(0, os.path.abspath('..'))
sys.path.insert(0, os.path.abspath('../htsinfer'))


# -- Project information -----------------------------------------------------
Expand Down Expand Up @@ -46,7 +46,14 @@
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns = ['_build', 'api/yourpackage.rst']
exclude_patterns = [
'_build',
'api/yourpackage.rst',
'setup.py',
'Thumbs.db',
'.DS_Store',
'.eggs'
]

# Default doc to search for
master_doc = 'index'
Expand All @@ -61,7 +68,7 @@
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = []
html_static_path = ['_static']


# -- Automation -------------------------------------------------------------
Expand Down
2 changes: 2 additions & 0 deletions docs/guides/examples.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Examples
========
4 changes: 2 additions & 2 deletions docs/guides/installation.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Installation Guide
==================
Installation
============

This section describes how to install HTSinfer using Conda.

Expand Down
2 changes: 2 additions & 0 deletions docs/guides/usage.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Usage
=====
19 changes: 7 additions & 12 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,28 +11,23 @@ HTSinfer is a tool for high-throughput sequencing inference.
This documentation will guide you through installation, usage, and the API reference.

HTSinfer Documentation
=======================
----------------------

.. toctree::
:caption: Contents
:maxdepth: 1

guides/installation

HTSinfer API docs
=================
guides/usage
guides/examples

.. toctree::
:caption: Modules
:caption: API Documentation
:maxdepth: 1

modules/modules

.. toctree::
:caption: Index

indices

Indices and tables
==================
------------------

* :ref:`genindex`
* :ref:`modindex`
Expand Down

0 comments on commit acba203

Please sign in to comment.