Added the initial application with the main account list, the pagination, the query, the permission, the localization, the documentation, the test case, and a test demonstration site.

This commit is contained in:
2023-01-29 22:28:27 +08:00
parent 9c83ad97c1
commit 14638f574e
45 changed files with 3302 additions and 0 deletions

View File

View File

View File

@ -0,0 +1,53 @@
accounting.base\_account package
================================
Submodules
----------
accounting.base\_account.commands module
----------------------------------------
.. automodule:: accounting.base_account.commands
:members:
:undoc-members:
:show-inheritance:
accounting.base\_account.database module
----------------------------------------
.. automodule:: accounting.base_account.database
:members:
:undoc-members:
:show-inheritance:
accounting.base\_account.models module
--------------------------------------
.. automodule:: accounting.base_account.models
:members:
:undoc-members:
:show-inheritance:
accounting.base\_account.query module
-------------------------------------
.. automodule:: accounting.base_account.query
:members:
:undoc-members:
:show-inheritance:
accounting.base\_account.views module
-------------------------------------
.. automodule:: accounting.base_account.views
:members:
:undoc-members:
:show-inheritance:
Module contents
---------------
.. automodule:: accounting.base_account
:members:
:undoc-members:
:show-inheritance:

View File

@ -0,0 +1,30 @@
accounting package
==================
Subpackages
-----------
.. toctree::
:maxdepth: 4
accounting.base_account
accounting.utils
Submodules
----------
accounting.locale module
------------------------
.. automodule:: accounting.locale
:members:
:undoc-members:
:show-inheritance:
Module contents
---------------
.. automodule:: accounting
:members:
:undoc-members:
:show-inheritance:

View File

@ -0,0 +1,37 @@
accounting.utils package
========================
Submodules
----------
accounting.utils.pagination module
----------------------------------
.. automodule:: accounting.utils.pagination
:members:
:undoc-members:
:show-inheritance:
accounting.utils.permission module
----------------------------------
.. automodule:: accounting.utils.permission
:members:
:undoc-members:
:show-inheritance:
accounting.utils.query module
-----------------------------
.. automodule:: accounting.utils.query
:members:
:undoc-members:
:show-inheritance:
Module contents
---------------
.. automodule:: accounting.utils
:members:
:undoc-members:
:show-inheritance:

32
docs/source/conf.py Normal file
View File

@ -0,0 +1,32 @@
# 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 os
import sys
sys.path.insert(0, os.path.abspath('../../src/'))
# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
project = 'Mia! Accounting Flask'
copyright = '2023, imacat'
author = 'imacat'
release = '0.0.0'
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
extensions = ['sphinx.ext.autodoc']
templates_path = ['_templates']
exclude_patterns = []
# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
html_theme = 'nature'
html_static_path = ['_static']

20
docs/source/index.rst Normal file
View File

@ -0,0 +1,20 @@
.. Mia! Accounting Flask documentation master file, created by
sphinx-quickstart on Fri Jan 27 12:20:04 2023.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Welcome to Mia! Accounting Flask's documentation!
=================================================
.. toctree::
:maxdepth: 2
:caption: Contents:
Indices and tables
==================
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`

7
docs/source/modules.rst Normal file
View File

@ -0,0 +1,7 @@
src
===
.. toctree::
:maxdepth: 4
accounting