Skip to content

Commit

Permalink
docs: add sphinx--module
Browse files Browse the repository at this point in the history
  • Loading branch information
Khushiyant committed Mar 3, 2024
1 parent 71170bb commit 655dd09
Show file tree
Hide file tree
Showing 10 changed files with 200 additions and 21 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ __pycache__/
# Distribution / packaging
dist/
build/
_build/
*.egg-info/
*.egg

Expand Down
23 changes: 7 additions & 16 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,28 +1,19 @@
# Configuration file for the Sphinx documentation builder.
#
# For the full list of built-in configuration values, see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html
import pathlib
import sys

# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
sys.path.insert(0, str(pathlib.Path(__file__).parent.parent))

project = 'quasar'
project = 'Quasar'
copyright = '2024, Khushiyant'
author = 'Khushiyant'
release = '0.1.0'

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

extensions = []
extensions = ['sphinx.ext.autodoc',
'sphinx.ext.napoleon', 'sphinx.ext.viewcode']

templates_path = ['_templates']
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']


exclude_patterns = []

# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output

html_theme = 'alabaster'
html_static_path = ['_static']
10 changes: 5 additions & 5 deletions docs/index.rst
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
.. quasar documentation master file, created by
sphinx-quickstart on Sun Mar 3 00:06:37 2024.
.. Quasar Dosc documentation master file, created by
sphinx-quickstart on Sun Mar 3 22:17:24 2024.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Welcome to quasar's documentation!
==================================
Welcome to Quasar Dosc's documentation!
=======================================

.. toctree::
:maxdepth: 2
:caption: Contents:


modules

Indices and tables
==================
Expand Down
7 changes: 7 additions & 0 deletions docs/modules.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
quasar
======

.. toctree::
:maxdepth: 4

quasar
29 changes: 29 additions & 0 deletions docs/quasar.algorithm.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
quasar.algorithm package
========================

Submodules
----------

quasar.algorithm.detector module
--------------------------------

.. automodule:: quasar.algorithm.detector
:members:
:undoc-members:
:show-inheritance:

quasar.algorithm.llm module
---------------------------

.. automodule:: quasar.algorithm.llm
:members:
:undoc-members:
:show-inheritance:

Module contents
---------------

.. automodule:: quasar.algorithm
:members:
:undoc-members:
:show-inheritance:
10 changes: 10 additions & 0 deletions docs/quasar.cli.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
quasar.cli package
==================

Module contents
---------------

.. automodule:: quasar.cli
:members:
:undoc-members:
:show-inheritance:
21 changes: 21 additions & 0 deletions docs/quasar.handler.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
quasar.handler package
======================

Submodules
----------

quasar.handler.issue module
---------------------------

.. automodule:: quasar.handler.issue
:members:
:undoc-members:
:show-inheritance:

Module contents
---------------

.. automodule:: quasar.handler
:members:
:undoc-members:
:show-inheritance:
22 changes: 22 additions & 0 deletions docs/quasar.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
quasar package
==============

Subpackages
-----------

.. toctree::
:maxdepth: 4

quasar.algorithm
quasar.cli
quasar.handler
quasar.tests
quasar.utils

Module contents
---------------

.. automodule:: quasar
:members:
:undoc-members:
:show-inheritance:
45 changes: 45 additions & 0 deletions docs/quasar.tests.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
quasar.tests package
====================

Submodules
----------

quasar.tests.conftest module
----------------------------

.. automodule:: quasar.tests.conftest
:members:
:undoc-members:
:show-inheritance:

quasar.tests.test\_algorithm module
-----------------------------------

.. automodule:: quasar.tests.test_algorithm
:members:
:undoc-members:
:show-inheritance:

quasar.tests.test\_cli module
-----------------------------

.. automodule:: quasar.tests.test_cli
:members:
:undoc-members:
:show-inheritance:

quasar.tests.test\_handler module
---------------------------------

.. automodule:: quasar.tests.test_handler
:members:
:undoc-members:
:show-inheritance:

Module contents
---------------

.. automodule:: quasar.tests
:members:
:undoc-members:
:show-inheritance:
53 changes: 53 additions & 0 deletions docs/quasar.utils.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
quasar.utils package
====================

Submodules
----------

quasar.utils.analyser module
----------------------------

.. automodule:: quasar.utils.analyser
:members:
:undoc-members:
:show-inheritance:

quasar.utils.ascii module
-------------------------

.. automodule:: quasar.utils.ascii
:members:
:undoc-members:
:show-inheritance:

quasar.utils.data\_processor module
-----------------------------------

.. automodule:: quasar.utils.data_processor
:members:
:undoc-members:
:show-inheritance:

quasar.utils.logger module
--------------------------

.. automodule:: quasar.utils.logger
:members:
:undoc-members:
:show-inheritance:

quasar.utils.redis\_server module
---------------------------------

.. automodule:: quasar.utils.redis_server
:members:
:undoc-members:
:show-inheritance:

Module contents
---------------

.. automodule:: quasar.utils
:members:
:undoc-members:
:show-inheritance:

0 comments on commit 655dd09

Please sign in to comment.