appcraft 0.3.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. appcraft-0.3.0/MANIFEST.in +4 -0
  2. appcraft-0.3.0/PKG-INFO +13 -0
  3. appcraft-0.3.0/README.md +79 -0
  4. appcraft-0.3.0/appcraft/templates/base/files/Pipfile +17 -0
  5. appcraft-0.3.0/appcraft/templates/base/files/README.md +79 -0
  6. appcraft-0.3.0/appcraft/templates/base/files/config/app.toml +11 -0
  7. appcraft-0.3.0/appcraft/templates/base/files/config/theme.json +4 -0
  8. appcraft-0.3.0/appcraft/templates/base/files/docs/Makefile +20 -0
  9. appcraft-0.3.0/appcraft/templates/base/files/docs/make.bat +35 -0
  10. appcraft-0.3.0/appcraft/templates/base/files/docs/source/index.rst +16 -0
  11. appcraft-0.3.0/appcraft/templates/base/files/docs/source/modules.rst +27 -0
  12. appcraft-0.3.0/appcraft/templates/base/files/infrastructure/framework/appcraft/templates/templates.json +3 -0
  13. appcraft-0.3.0/appcraft/templates/base/files/run +4 -0
  14. appcraft-0.3.0/appcraft/templates/base/files/run_tools +4 -0
  15. appcraft-0.3.0/appcraft/templates/ci_cd/files/Pipfile +9 -0
  16. appcraft-0.3.0/appcraft/templates/ci_cd/files/config/ci_cd.toml +0 -0
  17. appcraft-0.3.0/appcraft/templates/ci_cd/files/docs/Makefile +20 -0
  18. appcraft-0.3.0/appcraft/templates/ci_cd/files/docs/make.bat +35 -0
  19. appcraft-0.3.0/appcraft/templates/ci_cd/files/docs/source/index.rst +16 -0
  20. appcraft-0.3.0/appcraft/templates/ci_cd/files/docs/source/modules.rst +27 -0
  21. appcraft-0.3.0/appcraft/templates/data_analysis/files/Pipfile +17 -0
  22. appcraft-0.3.0/appcraft/templates/data_analysis/files/config/data_analysis.toml +0 -0
  23. appcraft-0.3.0/appcraft/templates/data_analysis/files/docs/Makefile +20 -0
  24. appcraft-0.3.0/appcraft/templates/data_analysis/files/docs/make.bat +35 -0
  25. appcraft-0.3.0/appcraft/templates/data_analysis/files/docs/source/index.rst +16 -0
  26. appcraft-0.3.0/appcraft/templates/data_analysis/files/docs/source/modules.rst +27 -0
  27. appcraft-0.3.0/appcraft/templates/data_visualization/files/config/data_visualization.toml +0 -0
  28. appcraft-0.3.0/appcraft/templates/data_visualization/files/docs/Makefile +20 -0
  29. appcraft-0.3.0/appcraft/templates/data_visualization/files/docs/make.bat +35 -0
  30. appcraft-0.3.0/appcraft/templates/data_visualization/files/docs/source/index.rst +16 -0
  31. appcraft-0.3.0/appcraft/templates/data_visualization/files/docs/source/modules.rst +27 -0
  32. appcraft-0.3.0/appcraft/templates/docker/files/infrastructure/docker/Dockerfile +11 -0
  33. appcraft-0.3.0/appcraft/templates/docker/files/infrastructure/docker/docker-compose.yml +0 -0
  34. appcraft-0.3.0/appcraft/templates/flask/files/app/pages/static/404.html +1 -0
  35. appcraft-0.3.0/appcraft/templates/flask/files/app/pages/static/index.html +1 -0
  36. appcraft-0.3.0/appcraft/templates/flask/files/app/templates/about.html +1 -0
  37. appcraft-0.3.0/appcraft/templates/flask/files/app/templates/components/base.html +0 -0
  38. appcraft-0.3.0/appcraft/templates/flask/files/app/templates/components/footer.html +0 -0
  39. appcraft-0.3.0/appcraft/templates/flask/files/app/templates/components/header.html +0 -0
  40. appcraft-0.3.0/appcraft/templates/flask/files/config/flask.toml +2 -0
  41. appcraft-0.3.0/appcraft/templates/flask_api/files/Pipfile +12 -0
  42. appcraft-0.3.0/appcraft/templates/flask_ui/files/Pipfile +11 -0
  43. appcraft-0.3.0/appcraft/templates/flask_ui/files/presentation/web/ui/static/css/main.css +0 -0
  44. appcraft-0.3.0/appcraft/templates/flask_ui/files/presentation/web/ui/static/js/main.js +0 -0
  45. appcraft-0.3.0/appcraft/templates/flask_ui/files/presentation/web/ui/templates/pages/index.html +0 -0
  46. appcraft-0.3.0/appcraft/templates/flask_ui/files/presentation/web/ui/templates/views/app.html +18 -0
  47. appcraft-0.3.0/appcraft/templates/locales/files/Pipfile +0 -0
  48. appcraft-0.3.0/appcraft/templates/locales/files/locale/en/LC_MESSAGES/about.mo +0 -0
  49. appcraft-0.3.0/appcraft/templates/locales/files/locale/en/LC_MESSAGES/about.po +40 -0
  50. appcraft-0.3.0/appcraft/templates/locales/files/locale/en/LC_MESSAGES/app.mo +0 -0
  51. appcraft-0.3.0/appcraft/templates/locales/files/locale/en/LC_MESSAGES/app.po +43 -0
  52. appcraft-0.3.0/appcraft/templates/locales/files/locale/en/LC_MESSAGES/core.mo +0 -0
  53. appcraft-0.3.0/appcraft/templates/locales/files/locale/en/LC_MESSAGES/core.po +43 -0
  54. appcraft-0.3.0/appcraft/templates/locales/files/locale/en/LC_MESSAGES/database.mo +0 -0
  55. appcraft-0.3.0/appcraft/templates/locales/files/locale/en/LC_MESSAGES/database.po +0 -0
  56. appcraft-0.3.0/appcraft/templates/locales/files/locale/pt_BR/LC_MESSAGES/app.mo +0 -0
  57. appcraft-0.3.0/appcraft/templates/locales/files/locale/pt_BR/LC_MESSAGES/app.po +43 -0
  58. appcraft-0.3.0/appcraft/templates/locales/files/locale/pt_BR/LC_MESSAGES/core.mo +0 -0
  59. appcraft-0.3.0/appcraft/templates/locales/files/locale/pt_BR/LC_MESSAGES/core.po +43 -0
  60. appcraft-0.3.0/appcraft/templates/locales/files/locale/pt_BR/LC_MESSAGES/database.mo +0 -0
  61. appcraft-0.3.0/appcraft/templates/locales/files/locale/pt_BR/LC_MESSAGES/database.po +0 -0
  62. appcraft-0.3.0/appcraft/templates/locales/files/locale/pt_BR/LC_MESSAGES/my_app.mo +0 -0
  63. appcraft-0.3.0/appcraft/templates/locales/files/locale/pt_BR/LC_MESSAGES/my_app.po +7 -0
  64. appcraft-0.3.0/appcraft/templates/logs/files/Pipfile +17 -0
  65. appcraft-0.3.0/appcraft/templates/machine_learning/files/Pipfile +24 -0
  66. appcraft-0.3.0/appcraft/templates/mongodb/files/Pipfile +16 -0
  67. appcraft-0.3.0/appcraft/templates/selenium/files/config/browser.toml +4 -0
  68. appcraft-0.3.0/appcraft/templates/sqlalchemy/files/Pipfile +15 -0
  69. appcraft-0.3.0/appcraft/templates/sqlalchemy/files/config/database.toml +1 -0
  70. appcraft-0.3.0/appcraft/templates/tests/files/Pipfile +19 -0
  71. appcraft-0.3.0/appcraft/templates/tests/pyproject.toml +3 -0
  72. appcraft-0.3.0/appcraft/templates/web_scrapping/files/Pipfile +22 -0
  73. appcraft-0.3.0/appcraft/templates/websockets/files/Pipfile +15 -0
  74. appcraft-0.3.0/appcraft.egg-info/PKG-INFO +13 -0
  75. appcraft-0.3.0/appcraft.egg-info/SOURCES.txt +79 -0
  76. appcraft-0.3.0/appcraft.egg-info/dependency_links.txt +1 -0
  77. appcraft-0.3.0/appcraft.egg-info/entry_points.txt +2 -0
  78. appcraft-0.3.0/appcraft.egg-info/requires.txt +2 -0
  79. appcraft-0.3.0/appcraft.egg-info/top_level.txt +1 -0
  80. appcraft-0.3.0/pyproject.toml +23 -0
  81. appcraft-0.3.0/setup.cfg +4 -0
@@ -0,0 +1,4 @@
1
+ include README.md LICENSE
2
+ include appcraft/templates/*
3
+ global-exclude *.py
4
+ global-exclude __pycache__/*.pyc
@@ -0,0 +1,13 @@
1
+ Metadata-Version: 2.2
2
+ Name: appcraft
3
+ Version: 0.3.0
4
+ Summary: Um framework que cria estruturas de projeto personalizadas.
5
+ Home-page: https://github.com/duxtec/appcraft
6
+ Author-email: Dux Tecnologia <contato@tpereira.com.br>
7
+ Classifier: Programming Language :: Python :: 3
8
+ Classifier: License :: OSI Approved :: MIT License
9
+ Classifier: Operating System :: OS Independent
10
+ Requires-Python: >=3.6
11
+ Requires-Dist: prompt_toolkit
12
+ Requires-Dist: toml
13
+ Dynamic: home-page
@@ -0,0 +1,79 @@
1
+ # Appcraft
2
+
3
+ **Appcraft** is a framework designed to simplify the development and management of applications. It provides a structured approach to creating projects, running scripts, and testing your code.
4
+
5
+ ## Installation
6
+
7
+ To get started with **Appcraft**, follow the installation instructions specific to your environment. Ensure you have Python installed, and then install Appcraft using pip:
8
+
9
+ ```bash
10
+ pip install appcraft
11
+ ```
12
+
13
+ ## Create a New Project
14
+
15
+ To create a new project, use the following command:
16
+
17
+ ```bash
18
+ appcraft init <templates>
19
+ ```
20
+
21
+ Replace `<templates>` with the name of the template you wish to use.
22
+
23
+ ## Available Templates
24
+
25
+ To show the list of available templates, run:
26
+
27
+ ```bash
28
+ appcraft list-templates
29
+ ```
30
+
31
+ ## Testing and Documentation
32
+
33
+ **Appcraft** comes with built-in support for:
34
+
35
+ - **Pytest**: For running tests and ensuring your code is reliable.
36
+ - **Sphinx**: For generating documentation, making it easy to document your project.
37
+
38
+ ## Running Applications
39
+
40
+ To execute the apps within your project, use:
41
+
42
+ ```bash
43
+ python run
44
+ ```
45
+
46
+ ## Running Project Scripts
47
+
48
+ To execute helper scripts in your project, use:
49
+
50
+ ```bash
51
+ python run_tools
52
+ ```
53
+
54
+ Make sure that your scripts are located in the `scripts` folder and your apps are in the `app` folder.
55
+
56
+ ### App and Scripts Structures
57
+
58
+ To be recognized by **Appcraft**, apps and scripts must inherit from the `App` class and use the `@App.runner` decorator. Here's an example:
59
+
60
+ ```python
61
+ from infrastructure.framework.appcraft.core.app_runner import AppRunner
62
+
63
+ class MyApp(AppRunner):
64
+
65
+ @AppRunner.runner
66
+ def runner1(self):
67
+ # Code for runner1
68
+ pass
69
+
70
+ def non_runner1(self):
71
+ # This method does not show in the runner.
72
+ pass
73
+ ```
74
+
75
+ ## Conclusion
76
+
77
+ **Appcraft** provides a streamlined approach to application development, allowing you to focus on building features while managing your projects efficiently. Happy coding!
78
+
79
+ ---
@@ -0,0 +1,17 @@
1
+ [[source]]
2
+ url = "https://pypi.org/simple"
3
+ verify_ssl = true
4
+ name = "pypi"
5
+
6
+ [requires]
7
+ python_version = "3.12"
8
+
9
+ [packages]
10
+ toml = "==0.10.2"
11
+ prompt-toolkit = "*"
12
+
13
+ [dev-packages]
14
+ sphinx = "==8.0.2"
15
+ flake8 = "==6.1.0"
16
+ black = "*"
17
+ isort = "*"
@@ -0,0 +1,79 @@
1
+ # Appcraft
2
+
3
+ **Appcraft** is a framework designed to simplify the development and management of applications. It provides a structured approach to creating projects, running scripts, and testing your code.
4
+
5
+ ## Installation
6
+
7
+ To get started with **Appcraft**, follow the installation instructions specific to your environment. Ensure you have Python installed, and then install Appcraft using pip:
8
+
9
+ ```bash
10
+ pip install appcraft
11
+ ```
12
+
13
+ ## Create a New Project
14
+
15
+ To create a new project, use the following command:
16
+
17
+ ```bash
18
+ appcraft init <templates>
19
+ ```
20
+
21
+ Replace `<templates>` with the name of the template you wish to use.
22
+
23
+ ## Available Templates
24
+
25
+ To show the list of available templates, run:
26
+
27
+ ```bash
28
+ appcraft list-templates
29
+ ```
30
+
31
+ ## Testing and Documentation
32
+
33
+ **Appcraft** comes with built-in support for:
34
+
35
+ - **Pytest**: For running tests and ensuring your code is reliable.
36
+ - **Sphinx**: For generating documentation, making it easy to document your project.
37
+
38
+ ## Running Applications
39
+
40
+ To execute the apps within your project, use:
41
+
42
+ ```bash
43
+ python run
44
+ ```
45
+
46
+ ## Running Project Scripts
47
+
48
+ To execute helper scripts in your project, use:
49
+
50
+ ```bash
51
+ python run_tools
52
+ ```
53
+
54
+ Make sure that your scripts are located in the `scripts` folder and your apps are in the `app` folder.
55
+
56
+ ### App and Scripts Structures
57
+
58
+ To be recognized by **Appcraft**, apps and scripts must inherit from the `App` class and use the `@App.runner` decorator. Here's an example:
59
+
60
+ ```python
61
+ from infrastructure.framework.appcraft.core.app_runner import AppRunner
62
+
63
+ class MyApp(AppRunner):
64
+
65
+ @AppRunner.runner
66
+ def runner1(self):
67
+ # Code for runner1
68
+ pass
69
+
70
+ def non_runner1(self):
71
+ # This method does not show in the runner.
72
+ pass
73
+ ```
74
+
75
+ ## Conclusion
76
+
77
+ **Appcraft** provides a streamlined approach to application development, allowing you to focus on building features while managing your projects efficiently. Happy coding!
78
+
79
+ ---
@@ -0,0 +1,11 @@
1
+ # Configuration for the Appcraft application
2
+ name = "Appcraft"
3
+ version = "1.0.0"
4
+ environment = "development" # production or development
5
+ debug_mode = true
6
+ log_level = "info" # debug, info, warning, error or critical
7
+ lang = "en" # see supported langs
8
+ lang_preference = "config" # config or system
9
+ supported_langs = ["en", "pt_BR"]
10
+
11
+ # Use 'lang_preference' to decide if language should be set from config or system
@@ -0,0 +1,4 @@
1
+ {
2
+ "color1": "#FF00FF",
3
+ "color2": "#FF6600"
4
+ }
@@ -0,0 +1,20 @@
1
+ # Minimal makefile for Sphinx documentation
2
+ #
3
+
4
+ # You can set these variables from the command line, and also
5
+ # from the environment for the first two.
6
+ SPHINXOPTS ?=
7
+ SPHINXBUILD ?= sphinx-build
8
+ SOURCEDIR = source
9
+ BUILDDIR = build
10
+
11
+ # Put it first so that "make" without argument is like "make help".
12
+ help:
13
+ @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
14
+
15
+ .PHONY: help Makefile
16
+
17
+ # Catch-all target: route all unknown targets to Sphinx using the new
18
+ # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
19
+ %: Makefile
20
+ @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
@@ -0,0 +1,35 @@
1
+ @ECHO OFF
2
+
3
+ pushd %~dp0
4
+
5
+ REM Command file for Sphinx documentation
6
+
7
+ if "%SPHINXBUILD%" == "" (
8
+ set SPHINXBUILD=sphinx-build
9
+ )
10
+ set SOURCEDIR=source
11
+ set BUILDDIR=build
12
+
13
+ %SPHINXBUILD% >NUL 2>NUL
14
+ if errorlevel 9009 (
15
+ echo.
16
+ echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
17
+ echo.installed, then set the SPHINXBUILD environment variable to point
18
+ echo.to the full path of the 'sphinx-build' executable. Alternatively you
19
+ echo.may add the Sphinx directory to PATH.
20
+ echo.
21
+ echo.If you don't have Sphinx installed, grab it from
22
+ echo.https://www.sphinx-doc.org/
23
+ exit /b 1
24
+ )
25
+
26
+ if "%1" == "" goto help
27
+
28
+ %SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
29
+ goto end
30
+
31
+ :help
32
+ %SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
33
+
34
+ :end
35
+ popd
@@ -0,0 +1,16 @@
1
+ .. Appcraft documentation master file, created by
2
+ sphinx-quickstart on Wed Aug 14 18:43:41 2024.
3
+ You can adapt this file completely to your liking, but it should at least
4
+ contain the root `toctree` directive.
5
+
6
+ Appcraft Documentation
7
+ ==========================
8
+
9
+ Welcome to the Appcraft documentation! This is where you can find the
10
+ automatically generated documentation for the project's modules and classes.
11
+
12
+ .. toctree::
13
+ :maxdepth: 2
14
+ :caption: Contents:
15
+
16
+ modules
@@ -0,0 +1,27 @@
1
+ App Modules
2
+ ===========
3
+
4
+ .. toctree::
5
+ :maxdepth: 2
6
+ :caption: App Modules:
7
+
8
+ docs/app
9
+
10
+
11
+ Services Modules
12
+ ================
13
+
14
+ .. toctree::
15
+ :maxdepth: 2
16
+ :caption: Services Modules:
17
+
18
+ docs/services
19
+
20
+ Core Modules
21
+ ============
22
+
23
+ .. toctree::
24
+ :maxdepth: 2
25
+ :caption: Core Modules:
26
+
27
+ docs/core
@@ -0,0 +1,4 @@
1
+ import os
2
+ from infrastructure.framework.appcraft.core.initializer import Initializer
3
+
4
+ runner = Initializer(app_folder=os.path.join("runners", "main")).main()
@@ -0,0 +1,4 @@
1
+ import os
2
+ from infrastructure.framework.appcraft.core.initializer import Initializer
3
+
4
+ runner = Initializer(os.path.join("runners", "tools")).main()
@@ -0,0 +1,9 @@
1
+ [[source]]
2
+ url = "https://pypi.org/simple"
3
+ verify_ssl = true
4
+ name = "pypi"
5
+
6
+ [requires]
7
+ python_version = "3.12"
8
+
9
+ [packages]
@@ -0,0 +1,20 @@
1
+ # Minimal makefile for Sphinx documentation
2
+ #
3
+
4
+ # You can set these variables from the command line, and also
5
+ # from the environment for the first two.
6
+ SPHINXOPTS ?=
7
+ SPHINXBUILD ?= sphinx-build
8
+ SOURCEDIR = source
9
+ BUILDDIR = build
10
+
11
+ # Put it first so that "make" without argument is like "make help".
12
+ help:
13
+ @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
14
+
15
+ .PHONY: help Makefile
16
+
17
+ # Catch-all target: route all unknown targets to Sphinx using the new
18
+ # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
19
+ %: Makefile
20
+ @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
@@ -0,0 +1,35 @@
1
+ @ECHO OFF
2
+
3
+ pushd %~dp0
4
+
5
+ REM Command file for Sphinx documentation
6
+
7
+ if "%SPHINXBUILD%" == "" (
8
+ set SPHINXBUILD=sphinx-build
9
+ )
10
+ set SOURCEDIR=source
11
+ set BUILDDIR=build
12
+
13
+ %SPHINXBUILD% >NUL 2>NUL
14
+ if errorlevel 9009 (
15
+ echo.
16
+ echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
17
+ echo.installed, then set the SPHINXBUILD environment variable to point
18
+ echo.to the full path of the 'sphinx-build' executable. Alternatively you
19
+ echo.may add the Sphinx directory to PATH.
20
+ echo.
21
+ echo.If you don't have Sphinx installed, grab it from
22
+ echo.https://www.sphinx-doc.org/
23
+ exit /b 1
24
+ )
25
+
26
+ if "%1" == "" goto help
27
+
28
+ %SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
29
+ goto end
30
+
31
+ :help
32
+ %SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
33
+
34
+ :end
35
+ popd
@@ -0,0 +1,16 @@
1
+ .. Appcraft documentation master file, created by
2
+ sphinx-quickstart on Wed Aug 14 18:43:41 2024.
3
+ You can adapt this file completely to your liking, but it should at least
4
+ contain the root `toctree` directive.
5
+
6
+ Appcraft Documentation
7
+ ==========================
8
+
9
+ Welcome to the Appcraft documentation! This is where you can find the
10
+ automatically generated documentation for the project's modules and classes.
11
+
12
+ .. toctree::
13
+ :maxdepth: 2
14
+ :caption: Contents:
15
+
16
+ modules
@@ -0,0 +1,27 @@
1
+ App Modules
2
+ ===========
3
+
4
+ .. toctree::
5
+ :maxdepth: 2
6
+ :caption: App Modules:
7
+
8
+ docs/app
9
+
10
+
11
+ Services Modules
12
+ ================
13
+
14
+ .. toctree::
15
+ :maxdepth: 2
16
+ :caption: Services Modules:
17
+
18
+ docs/services
19
+
20
+ Core Modules
21
+ ============
22
+
23
+ .. toctree::
24
+ :maxdepth: 2
25
+ :caption: Core Modules:
26
+
27
+ docs/core
@@ -0,0 +1,17 @@
1
+ [[source]]
2
+ url = "https://pypi.org/simple"
3
+ verify_ssl = true
4
+ name = "pypi"
5
+
6
+ [requires]
7
+ python_version = "3.12"
8
+
9
+ [packages]
10
+ pandas = "==2.2.3"
11
+ numpy = "==2.1.1"
12
+ matplotlib = "==3.9.2"
13
+ seaborn = "==0.13.2"
14
+ scikit-learn = "==1.5.2"
15
+
16
+ [dev-packages]
17
+ jupyter = "==1.1.1"
@@ -0,0 +1,20 @@
1
+ # Minimal makefile for Sphinx documentation
2
+ #
3
+
4
+ # You can set these variables from the command line, and also
5
+ # from the environment for the first two.
6
+ SPHINXOPTS ?=
7
+ SPHINXBUILD ?= sphinx-build
8
+ SOURCEDIR = source
9
+ BUILDDIR = build
10
+
11
+ # Put it first so that "make" without argument is like "make help".
12
+ help:
13
+ @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
14
+
15
+ .PHONY: help Makefile
16
+
17
+ # Catch-all target: route all unknown targets to Sphinx using the new
18
+ # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
19
+ %: Makefile
20
+ @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
@@ -0,0 +1,35 @@
1
+ @ECHO OFF
2
+
3
+ pushd %~dp0
4
+
5
+ REM Command file for Sphinx documentation
6
+
7
+ if "%SPHINXBUILD%" == "" (
8
+ set SPHINXBUILD=sphinx-build
9
+ )
10
+ set SOURCEDIR=source
11
+ set BUILDDIR=build
12
+
13
+ %SPHINXBUILD% >NUL 2>NUL
14
+ if errorlevel 9009 (
15
+ echo.
16
+ echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
17
+ echo.installed, then set the SPHINXBUILD environment variable to point
18
+ echo.to the full path of the 'sphinx-build' executable. Alternatively you
19
+ echo.may add the Sphinx directory to PATH.
20
+ echo.
21
+ echo.If you don't have Sphinx installed, grab it from
22
+ echo.https://www.sphinx-doc.org/
23
+ exit /b 1
24
+ )
25
+
26
+ if "%1" == "" goto help
27
+
28
+ %SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
29
+ goto end
30
+
31
+ :help
32
+ %SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
33
+
34
+ :end
35
+ popd
@@ -0,0 +1,16 @@
1
+ .. Appcraft documentation master file, created by
2
+ sphinx-quickstart on Wed Aug 14 18:43:41 2024.
3
+ You can adapt this file completely to your liking, but it should at least
4
+ contain the root `toctree` directive.
5
+
6
+ Appcraft Documentation
7
+ ==========================
8
+
9
+ Welcome to the Appcraft documentation! This is where you can find the
10
+ automatically generated documentation for the project's modules and classes.
11
+
12
+ .. toctree::
13
+ :maxdepth: 10
14
+ :caption: Contents:
15
+
16
+ modules
@@ -0,0 +1,27 @@
1
+ App Modules
2
+ ===========
3
+
4
+ .. toctree::
5
+ :maxdepth: 10
6
+ :caption: App Modules:
7
+
8
+ docs/app
9
+
10
+
11
+ Services Modules
12
+ ================
13
+
14
+ .. toctree::
15
+ :maxdepth: 10
16
+ :caption: Services Modules:
17
+
18
+ docs/services
19
+
20
+ Core Modules
21
+ ============
22
+
23
+ .. toctree::
24
+ :maxdepth: 10
25
+ :caption: Core Modules:
26
+
27
+ docs/core
@@ -0,0 +1,20 @@
1
+ # Minimal makefile for Sphinx documentation
2
+ #
3
+
4
+ # You can set these variables from the command line, and also
5
+ # from the environment for the first two.
6
+ SPHINXOPTS ?=
7
+ SPHINXBUILD ?= sphinx-build
8
+ SOURCEDIR = source
9
+ BUILDDIR = build
10
+
11
+ # Put it first so that "make" without argument is like "make help".
12
+ help:
13
+ @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
14
+
15
+ .PHONY: help Makefile
16
+
17
+ # Catch-all target: route all unknown targets to Sphinx using the new
18
+ # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
19
+ %: Makefile
20
+ @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
@@ -0,0 +1,35 @@
1
+ @ECHO OFF
2
+
3
+ pushd %~dp0
4
+
5
+ REM Command file for Sphinx documentation
6
+
7
+ if "%SPHINXBUILD%" == "" (
8
+ set SPHINXBUILD=sphinx-build
9
+ )
10
+ set SOURCEDIR=source
11
+ set BUILDDIR=build
12
+
13
+ %SPHINXBUILD% >NUL 2>NUL
14
+ if errorlevel 9009 (
15
+ echo.
16
+ echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
17
+ echo.installed, then set the SPHINXBUILD environment variable to point
18
+ echo.to the full path of the 'sphinx-build' executable. Alternatively you
19
+ echo.may add the Sphinx directory to PATH.
20
+ echo.
21
+ echo.If you don't have Sphinx installed, grab it from
22
+ echo.https://www.sphinx-doc.org/
23
+ exit /b 1
24
+ )
25
+
26
+ if "%1" == "" goto help
27
+
28
+ %SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
29
+ goto end
30
+
31
+ :help
32
+ %SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
33
+
34
+ :end
35
+ popd
@@ -0,0 +1,16 @@
1
+ .. Appcraft documentation master file, created by
2
+ sphinx-quickstart on Wed Aug 14 18:43:41 2024.
3
+ You can adapt this file completely to your liking, but it should at least
4
+ contain the root `toctree` directive.
5
+
6
+ Appcraft Documentation
7
+ ==========================
8
+
9
+ Welcome to the Appcraft documentation! This is where you can find the
10
+ automatically generated documentation for the project's modules and classes.
11
+
12
+ .. toctree::
13
+ :maxdepth: 2
14
+ :caption: Contents:
15
+
16
+ modules
@@ -0,0 +1,27 @@
1
+ App Modules
2
+ ===========
3
+
4
+ .. toctree::
5
+ :maxdepth: 2
6
+ :caption: App Modules:
7
+
8
+ docs/app
9
+
10
+
11
+ Services Modules
12
+ ================
13
+
14
+ .. toctree::
15
+ :maxdepth: 2
16
+ :caption: Services Modules:
17
+
18
+ docs/services
19
+
20
+ Core Modules
21
+ ============
22
+
23
+ .. toctree::
24
+ :maxdepth: 2
25
+ :caption: Core Modules:
26
+
27
+ docs/core