hexdoc-hexdebug 0.1.0.1.0.dev0__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 (38) hide show
  1. hexdoc_hexdebug-0.1.0.1.0.dev0/.gitignore +186 -0
  2. hexdoc_hexdebug-0.1.0.1.0.dev0/LICENSE +21 -0
  3. hexdoc_hexdebug-0.1.0.1.0.dev0/PKG-INFO +74 -0
  4. hexdoc_hexdebug-0.1.0.1.0.dev0/doc/README.md +58 -0
  5. hexdoc_hexdebug-0.1.0.1.0.dev0/doc/src/hexdoc_hexdebug/__gradle_version__.py +14 -0
  6. hexdoc_hexdebug-0.1.0.1.0.dev0/doc/src/hexdoc_hexdebug/__init__.py +0 -0
  7. hexdoc_hexdebug-0.1.0.1.0.dev0/doc/src/hexdoc_hexdebug/__version__.py +4 -0
  8. hexdoc_hexdebug-0.1.0.1.0.dev0/doc/src/hexdoc_hexdebug/_export/.gitignore +2 -0
  9. hexdoc_hexdebug-0.1.0.1.0.dev0/doc/src/hexdoc_hexdebug/_export/__init__.py +0 -0
  10. hexdoc_hexdebug-0.1.0.1.0.dev0/doc/src/hexdoc_hexdebug/_export/generated/__init__.py +2 -0
  11. hexdoc_hexdebug-0.1.0.1.0.dev0/doc/src/hexdoc_hexdebug/_export/generated/assets/hexcasting/lang/en_us.flatten.json5 +1 -0
  12. hexdoc_hexdebug-0.1.0.1.0.dev0/doc/src/hexdoc_hexdebug/_export/generated/assets/hexcasting/patchouli_books/thehexbook/en_us/entries/items/debugging.json5 +14 -0
  13. hexdoc_hexdebug-0.1.0.1.0.dev0/doc/src/hexdoc_hexdebug/_export/generated/assets/hexcasting/patchouli_books/thehexbook/en_us/entries/patterns/debugging.json5 +27 -0
  14. hexdoc_hexdebug-0.1.0.1.0.dev0/doc/src/hexdoc_hexdebug/_export/generated/assets/hexdebug/lang/en_us.flatten.json5 +1 -0
  15. hexdoc_hexdebug-0.1.0.1.0.dev0/doc/src/hexdoc_hexdebug/_export/generated/assets/hexdebug/models/item/debugger/continue/active.json +7 -0
  16. hexdoc_hexdebug-0.1.0.1.0.dev0/doc/src/hexdoc_hexdebug/_export/generated/assets/hexdebug/models/item/debugger/continue/inactive.json +6 -0
  17. hexdoc_hexdebug-0.1.0.1.0.dev0/doc/src/hexdoc_hexdebug/_export/generated/assets/hexdebug/models/item/debugger/continue/waiting_for_client.json +7 -0
  18. hexdoc_hexdebug-0.1.0.1.0.dev0/doc/src/hexdoc_hexdebug/_export/generated/assets/hexdebug/models/item/debugger/in/active.json +7 -0
  19. hexdoc_hexdebug-0.1.0.1.0.dev0/doc/src/hexdoc_hexdebug/_export/generated/assets/hexdebug/models/item/debugger/in/inactive.json +6 -0
  20. hexdoc_hexdebug-0.1.0.1.0.dev0/doc/src/hexdoc_hexdebug/_export/generated/assets/hexdebug/models/item/debugger/in/waiting_for_client.json +7 -0
  21. hexdoc_hexdebug-0.1.0.1.0.dev0/doc/src/hexdoc_hexdebug/_export/generated/assets/hexdebug/models/item/debugger/over/active.json +7 -0
  22. hexdoc_hexdebug-0.1.0.1.0.dev0/doc/src/hexdoc_hexdebug/_export/generated/assets/hexdebug/models/item/debugger/over/inactive.json +6 -0
  23. hexdoc_hexdebug-0.1.0.1.0.dev0/doc/src/hexdoc_hexdebug/_export/generated/assets/hexdebug/models/item/debugger/over/waiting_for_client.json +7 -0
  24. hexdoc_hexdebug-0.1.0.1.0.dev0/doc/src/hexdoc_hexdebug/_export/generated/assets/hexdebug/models/item/debugger.json +88 -0
  25. hexdoc_hexdebug-0.1.0.1.0.dev0/doc/src/hexdoc_hexdebug/_export/generated/assets/hexdebug/textures/item/debugger/state/active.png +0 -0
  26. hexdoc_hexdebug-0.1.0.1.0.dev0/doc/src/hexdoc_hexdebug/_export/generated/assets/hexdebug/textures/item/debugger/state/waiting_for_client.png +0 -0
  27. hexdoc_hexdebug-0.1.0.1.0.dev0/doc/src/hexdoc_hexdebug/_export/generated/assets/hexdebug/textures/item/debugger/step_mode/continue.png +0 -0
  28. hexdoc_hexdebug-0.1.0.1.0.dev0/doc/src/hexdoc_hexdebug/_export/generated/assets/hexdebug/textures/item/debugger/step_mode/in.png +0 -0
  29. hexdoc_hexdebug-0.1.0.1.0.dev0/doc/src/hexdoc_hexdebug/_export/generated/assets/hexdebug/textures/item/debugger/step_mode/out.png +0 -0
  30. hexdoc_hexdebug-0.1.0.1.0.dev0/doc/src/hexdoc_hexdebug/_export/generated/assets/hexdebug/textures/item/debugger/step_mode/over.png +0 -0
  31. hexdoc_hexdebug-0.1.0.1.0.dev0/doc/src/hexdoc_hexdebug/_export/generated/assets/hexdebug/textures/item/debugger.png +0 -0
  32. hexdoc_hexdebug-0.1.0.1.0.dev0/doc/src/hexdoc_hexdebug/_export/generated/hexdebug.hexdoc.json +1 -0
  33. hexdoc_hexdebug-0.1.0.1.0.dev0/doc/src/hexdoc_hexdebug/_export/generated/hexdebug.patterns.hexdoc.json +1 -0
  34. hexdoc_hexdebug-0.1.0.1.0.dev0/doc/src/hexdoc_hexdebug/_hooks.py +57 -0
  35. hexdoc_hexdebug-0.1.0.1.0.dev0/doc/src/hexdoc_hexdebug/_templates/__init__.py +0 -0
  36. hexdoc_hexdebug-0.1.0.1.0.dev0/doc/src/hexdoc_hexdebug/py.typed +0 -0
  37. hexdoc_hexdebug-0.1.0.1.0.dev0/gradle.properties +17 -0
  38. hexdoc_hexdebug-0.1.0.1.0.dev0/pyproject.toml +150 -0
@@ -0,0 +1,186 @@
1
+ build/
2
+ *.ipr
3
+ run/
4
+ *.iws
5
+ out/
6
+ *.iml
7
+ .gradle/
8
+ output/
9
+ bin/
10
+
11
+ .classpath
12
+ .project
13
+ .idea/
14
+ classes/
15
+ .metadata
16
+ .settings
17
+ *.launch
18
+ .DS_Store
19
+
20
+ venv
21
+
22
+ .architectury-transformer
23
+
24
+ # hexdoc
25
+ _site/
26
+ _checkout/
27
+ __gradle_version__.py
28
+ .hexdoc*/
29
+
30
+ .hexdoc-template-inputs.yml
31
+
32
+ # Python
33
+
34
+ # Byte-compiled / optimized / DLL files
35
+ __pycache__/
36
+ *.py[cod]
37
+ *$py.class
38
+
39
+ # C extensions
40
+ *.so
41
+
42
+ # Distribution / packaging
43
+ .Python
44
+ build/
45
+ develop-eggs/
46
+ dist/
47
+ downloads/
48
+ eggs/
49
+ .eggs/
50
+ lib/
51
+ lib64/
52
+ parts/
53
+ sdist/
54
+ var/
55
+ wheels/
56
+ share/python-wheels/
57
+ *.egg-info/
58
+ .installed.cfg
59
+ *.egg
60
+ MANIFEST
61
+
62
+ # PyInstaller
63
+ # Usually these files are written by a python script from a template
64
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
65
+ *.manifest
66
+ *.spec
67
+
68
+ # Installer logs
69
+ pip-log.txt
70
+ pip-delete-this-directory.txt
71
+
72
+ # Unit test / coverage reports
73
+ htmlcov/
74
+ .tox/
75
+ .nox/
76
+ .coverage
77
+ .coverage.*
78
+ .cache
79
+ nosetests.xml
80
+ coverage.xml
81
+ *.cover
82
+ *.py,cover
83
+ .hypothesis/
84
+ .pytest_cache/
85
+ cover/
86
+
87
+ # Translations
88
+ *.mo
89
+ *.pot
90
+
91
+ # Django stuff:
92
+ *.log
93
+ local_settings.py
94
+ db.sqlite3
95
+ db.sqlite3-journal
96
+
97
+ # Flask stuff:
98
+ instance/
99
+ .webassets-cache
100
+
101
+ # Scrapy stuff:
102
+ .scrapy
103
+
104
+ # Sphinx documentation
105
+ docs/_build/
106
+
107
+ # PyBuilder
108
+ .pybuilder/
109
+ target/
110
+
111
+ # Jupyter Notebook
112
+ .ipynb_checkpoints
113
+
114
+ # IPython
115
+ profile_default/
116
+ ipython_config.py
117
+
118
+ # pyenv
119
+ # For a library or package, you might want to ignore these files since the code is
120
+ # intended to run in multiple environments; otherwise, check them in:
121
+ # .python-version
122
+
123
+ # pipenv
124
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
125
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
126
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
127
+ # install all needed dependencies.
128
+ #Pipfile.lock
129
+
130
+ # poetry
131
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
132
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
133
+ # commonly ignored for libraries.
134
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
135
+ #poetry.lock
136
+
137
+ # pdm
138
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
139
+ #pdm.lock
140
+ # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
141
+ # in version control.
142
+ # https://pdm.fming.dev/#use-with-ide
143
+ .pdm.toml
144
+
145
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
146
+ __pypackages__/
147
+
148
+ # Celery stuff
149
+ celerybeat-schedule
150
+ celerybeat.pid
151
+
152
+ # SageMath parsed files
153
+ *.sage.py
154
+
155
+ # Environments
156
+ .env
157
+ .venv
158
+ env/
159
+ venv/
160
+ ENV/
161
+ env.bak/
162
+ venv.bak/
163
+
164
+ # Spyder project settings
165
+ .spyderproject
166
+ .spyproject
167
+
168
+ # Rope project settings
169
+ .ropeproject
170
+
171
+ # mkdocs documentation
172
+ /site
173
+
174
+ # mypy
175
+ .mypy_cache/
176
+ .dmypy.json
177
+ dmypy.json
178
+
179
+ # Pyre type checker
180
+ .pyre/
181
+
182
+ # pytype static type analyzer
183
+ .pytype/
184
+
185
+ # Cython debug symbols
186
+ cython_debug/
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 [object Object]
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,74 @@
1
+ Metadata-Version: 2.3
2
+ Name: hexdoc-hexdebug
3
+ Version: 0.1.0.1.0.dev0
4
+ Summary: Python web book docgen and hexdoc plugin for HexDebug.
5
+ Project-URL: Homepage, https://hexdebug.hexxy.media
6
+ Project-URL: Source, https://github.com/object-Object/HexDebug
7
+ Author: object-Object
8
+ License-File: LICENSE
9
+ Keywords: hexdoc
10
+ Requires-Python: >=3.11
11
+ Requires-Dist: hexdoc-hexcasting~=0.11.1.1.0rc7
12
+ Requires-Dist: hexdoc>=1!0.1.0a13
13
+ Provides-Extra: dev
14
+ Requires-Dist: ruff~=0.3.7; extra == 'dev'
15
+ Description-Content-Type: text/markdown
16
+
17
+ # hexdoc-hexdebug
18
+
19
+ Python web book docgen and [hexdoc](https://pypi.org/project/hexdoc) plugin for HexDebug.
20
+
21
+ ## Version scheme
22
+
23
+ We use [hatch-gradle-version](https://pypi.org/project/hatch-gradle-version) to generate the version number based on whichever mod version the docgen was built with.
24
+
25
+ The version is in this format: `mod-version.python-version.mod-pre.python-dev.python-post`
26
+
27
+ For example:
28
+ * Mod version: `0.11.1-7`
29
+ * Python package version: `1.0.dev0`
30
+ * Full version: `0.11.1.1.0rc7.dev0`
31
+
32
+ ## Setup
33
+
34
+ Install Python 3.11 and Node 18 (20+ is **not** currently supported).
35
+
36
+ ```sh
37
+ python3.11 -m venv venv
38
+
39
+ .\venv\Scripts\activate # Windows
40
+ . venv/bin/activate.fish # fish
41
+ source venv/bin/activate # everything else
42
+
43
+ # run from the repo root, not doc/
44
+ pip install -e .[dev]
45
+ ```
46
+
47
+ ## Usage
48
+
49
+ For local testing, create a file called `.env` in the repo root following this template:
50
+ ```sh
51
+ GITHUB_REPOSITORY=object-Object/HexDebug
52
+ GITHUB_SHA=main
53
+ GITHUB_PAGES_URL=https://hexdebug.hexxy.media
54
+ ```
55
+
56
+ Useful commands:
57
+ ```sh
58
+ # show help
59
+ hexdoc -h
60
+
61
+ # render and serve the web book in watch mode
62
+ nodemon --config doc/nodemon.json
63
+
64
+ # render and serve the web book
65
+ hexdoc serve
66
+
67
+ # export, render, and merge the web book
68
+ hexdoc export
69
+ hexdoc render
70
+ hexdoc merge
71
+
72
+ # start the Python interpreter with some extra local variables
73
+ hexdoc repl
74
+ ```
@@ -0,0 +1,58 @@
1
+ # hexdoc-hexdebug
2
+
3
+ Python web book docgen and [hexdoc](https://pypi.org/project/hexdoc) plugin for HexDebug.
4
+
5
+ ## Version scheme
6
+
7
+ We use [hatch-gradle-version](https://pypi.org/project/hatch-gradle-version) to generate the version number based on whichever mod version the docgen was built with.
8
+
9
+ The version is in this format: `mod-version.python-version.mod-pre.python-dev.python-post`
10
+
11
+ For example:
12
+ * Mod version: `0.11.1-7`
13
+ * Python package version: `1.0.dev0`
14
+ * Full version: `0.11.1.1.0rc7.dev0`
15
+
16
+ ## Setup
17
+
18
+ Install Python 3.11 and Node 18 (20+ is **not** currently supported).
19
+
20
+ ```sh
21
+ python3.11 -m venv venv
22
+
23
+ .\venv\Scripts\activate # Windows
24
+ . venv/bin/activate.fish # fish
25
+ source venv/bin/activate # everything else
26
+
27
+ # run from the repo root, not doc/
28
+ pip install -e .[dev]
29
+ ```
30
+
31
+ ## Usage
32
+
33
+ For local testing, create a file called `.env` in the repo root following this template:
34
+ ```sh
35
+ GITHUB_REPOSITORY=object-Object/HexDebug
36
+ GITHUB_SHA=main
37
+ GITHUB_PAGES_URL=https://hexdebug.hexxy.media
38
+ ```
39
+
40
+ Useful commands:
41
+ ```sh
42
+ # show help
43
+ hexdoc -h
44
+
45
+ # render and serve the web book in watch mode
46
+ nodemon --config doc/nodemon.json
47
+
48
+ # render and serve the web book
49
+ hexdoc serve
50
+
51
+ # export, render, and merge the web book
52
+ hexdoc export
53
+ hexdoc render
54
+ hexdoc merge
55
+
56
+ # start the Python interpreter with some extra local variables
57
+ hexdoc repl
58
+ ```
@@ -0,0 +1,14 @@
1
+ # This file is auto-generated by hatch-gradle-version. Do not edit.
2
+
3
+ GRADLE_VERSION = "0.1.0"
4
+ FULL_VERSION = "0.1.0.1.0.dev0"
5
+
6
+ CURSEFORGE_ID = ""
7
+ ENABLED_PLATFORMS = "fabric,forge"
8
+ JETBRAINS_ANNOTATIONS_VERSION = "23.0.0"
9
+ KOTLIN_STDLIB_DEFAULT_DEPENDENCY = "false"
10
+ MAVEN_GROUP = "gay.object.hexdebug"
11
+ MOD_ID = "hexdebug"
12
+ MOD_VERSION = "0.1.0"
13
+ MODRINTH_ID = ""
14
+ ORG_GRADLE_JVMARGS = "-Xmx2048M"
@@ -0,0 +1,4 @@
1
+ # This file is auto-generated by hatch-gradle-version.
2
+ # Only the value of PY_VERSION is editable. Do not edit other values.
3
+
4
+ PY_VERSION = "1.0.dev0"
@@ -0,0 +1,2 @@
1
+ generated/*
2
+ !generated/__init__.py
@@ -0,0 +1,2 @@
1
+ # This directory is auto-generated by hexdoc.
2
+ # Do not edit or commit these files.
@@ -0,0 +1 @@
1
+ {"hexdoc.hexdebug.title": "HexDebug Book", "hexdoc.hexdebug.description": "The HexDebug Book, all in one place."}
@@ -0,0 +1,14 @@
1
+ {
2
+ name: "hexdebug.category.items.entry.debugging",
3
+ category: "hexcasting:items",
4
+ icon: "hexdebug:debugger",
5
+ advancement: "hexcasting:root",
6
+ pages: [
7
+ {
8
+ type: "patchouli:spotlight",
9
+ item: "hexdebug:debugger",
10
+ anchor: "debugger",
11
+ text: "hexdebug.category.items.entry.debugging.page.1",
12
+ },
13
+ ],
14
+ }
@@ -0,0 +1,27 @@
1
+ {
2
+ name: "hexdebug.category.patterns.entry.debugging",
3
+ category: "hexcasting:patterns",
4
+ icon: "hexdebug:debugger",
5
+ advancement: "hexcasting:root",
6
+ pages: [
7
+ {
8
+ type: "hexcasting:pattern",
9
+ op_id: "hexdebug:const/debugging",
10
+ anchor: "hexdebug:const/debugging",
11
+ output: "bool",
12
+ text: "hexdebug.category.patterns.entry.debugging.page.const/debugging",
13
+ },
14
+ {
15
+ type: "hexcasting:pattern",
16
+ op_id: "hexdebug:breakpoint/before",
17
+ anchor: "hexdebug:breakpoint/before",
18
+ text: "hexdebug.category.patterns.entry.debugging.page.breakpoint/before",
19
+ },
20
+ {
21
+ type: "hexcasting:pattern",
22
+ op_id: "hexdebug:breakpoint/after",
23
+ anchor: "hexdebug:breakpoint/after",
24
+ text: "hexdebug.category.patterns.entry.debugging.page.breakpoint/after",
25
+ },
26
+ ],
27
+ }
@@ -0,0 +1 @@
1
+ {"item.hexdebug.debugger": "Debugger", "text.hexdebug.no_client": "Waiting for debug client to connect...", "text.hexdebug.connected": "Debug client connected!", "text.autoconfig.hexdebug.title": "HexDebug Config", "text.autoconfig.hexdebug.category.client": "Client", "text.autoconfig.hexdebug.option.client.debugPort": "Debug Port", "hexcasting.action.hexdebug:const/debugging": "Debugger's Reflection", "hexcasting.action.hexdebug:breakpoint/before": "Set Breakpoint Before", "hexcasting.action.hexdebug:breakpoint/after": "Set Breakpoint After", "hexdebug.category.items.entry.debugging": "Debugging", "hexdebug.category.items.entry.debugging.page.1": "TODO: actually write this", "hexdebug.category.patterns.entry.debugging": "Debugging", "hexdebug.category.patterns.entry.debugging.page.const/debugging": "Adds $(thing)True/$ to the top of the stack if executed by a $(l:items/debugging#debugger)$(item)debugger/$, or $(thing)False/$ otherwise.", "hexdebug.category.patterns.entry.debugging.page.breakpoint/before": "Pauses the $(l:items/debugging#debugger)$(item)debugger/$ before executing this pattern.", "hexdebug.category.patterns.entry.debugging.page.breakpoint/after": "Pauses the $(l:items/debugging#debugger)$(item)debugger/$ after executing this pattern (ie. before executing the next pattern)."}
@@ -0,0 +1,7 @@
1
+ {
2
+ "parent": "hexdebug:item/debugger",
3
+ "textures": {
4
+ "layer1": "hexdebug:item/debugger/step_mode/continue",
5
+ "layer2": "hexdebug:item/debugger/state/active"
6
+ }
7
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "parent": "hexdebug:item/debugger",
3
+ "textures": {
4
+ "layer1": "hexdebug:item/debugger/step_mode/continue"
5
+ }
6
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "parent": "hexdebug:item/debugger",
3
+ "textures": {
4
+ "layer1": "hexdebug:item/debugger/step_mode/continue",
5
+ "layer2": "hexdebug:item/debugger/state/waiting_for_client"
6
+ }
7
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "parent": "hexdebug:item/debugger",
3
+ "textures": {
4
+ "layer1": "hexdebug:item/debugger/step_mode/in",
5
+ "layer2": "hexdebug:item/debugger/state/active"
6
+ }
7
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "parent": "hexdebug:item/debugger",
3
+ "textures": {
4
+ "layer1": "hexdebug:item/debugger/step_mode/in"
5
+ }
6
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "parent": "hexdebug:item/debugger",
3
+ "textures": {
4
+ "layer1": "hexdebug:item/debugger/step_mode/in",
5
+ "layer2": "hexdebug:item/debugger/state/waiting_for_client"
6
+ }
7
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "parent": "hexdebug:item/debugger",
3
+ "textures": {
4
+ "layer1": "hexdebug:item/debugger/step_mode/over",
5
+ "layer2": "hexdebug:item/debugger/state/active"
6
+ }
7
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "parent": "hexdebug:item/debugger",
3
+ "textures": {
4
+ "layer1": "hexdebug:item/debugger/step_mode/over"
5
+ }
6
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "parent": "hexdebug:item/debugger",
3
+ "textures": {
4
+ "layer1": "hexdebug:item/debugger/step_mode/over",
5
+ "layer2": "hexdebug:item/debugger/state/waiting_for_client"
6
+ }
7
+ }
@@ -0,0 +1,88 @@
1
+ {
2
+ "parent": "minecraft:item/generated",
3
+ "overrides": [
4
+ {
5
+ "model": "hexdebug:item/debugger/in/inactive",
6
+ "predicate": {
7
+ "hexdebug:step_mode": 0.0
8
+ }
9
+ },
10
+ {
11
+ "model": "hexdebug:item/debugger/in/waiting_for_client",
12
+ "predicate": {
13
+ "hexdebug:state": 0.5,
14
+ "hexdebug:step_mode": 0.0
15
+ }
16
+ },
17
+ {
18
+ "model": "hexdebug:item/debugger/in/active",
19
+ "predicate": {
20
+ "hexdebug:state": 1.0,
21
+ "hexdebug:step_mode": 0.0
22
+ }
23
+ },
24
+ {
25
+ "model": "hexdebug:item/debugger/out/inactive",
26
+ "predicate": {
27
+ "hexdebug:step_mode": 0.33333334
28
+ }
29
+ },
30
+ {
31
+ "model": "hexdebug:item/debugger/out/waiting_for_client",
32
+ "predicate": {
33
+ "hexdebug:state": 0.5,
34
+ "hexdebug:step_mode": 0.33333334
35
+ }
36
+ },
37
+ {
38
+ "model": "hexdebug:item/debugger/out/active",
39
+ "predicate": {
40
+ "hexdebug:state": 1.0,
41
+ "hexdebug:step_mode": 0.33333334
42
+ }
43
+ },
44
+ {
45
+ "model": "hexdebug:item/debugger/over/inactive",
46
+ "predicate": {
47
+ "hexdebug:step_mode": 0.6666667
48
+ }
49
+ },
50
+ {
51
+ "model": "hexdebug:item/debugger/over/waiting_for_client",
52
+ "predicate": {
53
+ "hexdebug:state": 0.5,
54
+ "hexdebug:step_mode": 0.6666667
55
+ }
56
+ },
57
+ {
58
+ "model": "hexdebug:item/debugger/over/active",
59
+ "predicate": {
60
+ "hexdebug:state": 1.0,
61
+ "hexdebug:step_mode": 0.6666667
62
+ }
63
+ },
64
+ {
65
+ "model": "hexdebug:item/debugger/continue/inactive",
66
+ "predicate": {
67
+ "hexdebug:step_mode": 1.0
68
+ }
69
+ },
70
+ {
71
+ "model": "hexdebug:item/debugger/continue/waiting_for_client",
72
+ "predicate": {
73
+ "hexdebug:state": 0.5,
74
+ "hexdebug:step_mode": 1.0
75
+ }
76
+ },
77
+ {
78
+ "model": "hexdebug:item/debugger/continue/active",
79
+ "predicate": {
80
+ "hexdebug:state": 1.0,
81
+ "hexdebug:step_mode": 1.0
82
+ }
83
+ }
84
+ ],
85
+ "textures": {
86
+ "layer0": "hexdebug:item/debugger"
87
+ }
88
+ }
@@ -0,0 +1 @@
1
+ {"book_url":"https://hexdebug.hexxy.media/v/0.1.0/1.0.dev0/en_us","asset_url":"https://raw.githubusercontent.com/object-Object/HexDebug/3d5dcaeb73676436c29b7c8a917fa232b2f918af","textures":{"PNGTexture":{"hexdebug:textures/item/debugger.png":{"url":"https://raw.githubusercontent.com/object-Object/HexDebug/3d5dcaeb73676436c29b7c8a917fa232b2f918af/Common/src/main/resources/assets/hexdebug/textures/item/debugger.png","pixelated":true},"hexdebug:textures/item/debugger/step_mode/continue.png":{"url":"https://raw.githubusercontent.com/object-Object/HexDebug/3d5dcaeb73676436c29b7c8a917fa232b2f918af/Common/src/main/resources/assets/hexdebug/textures/item/debugger/step_mode/continue.png","pixelated":true},"hexdebug:textures/item/debugger/step_mode/over.png":{"url":"https://raw.githubusercontent.com/object-Object/HexDebug/3d5dcaeb73676436c29b7c8a917fa232b2f918af/Common/src/main/resources/assets/hexdebug/textures/item/debugger/step_mode/over.png","pixelated":true},"hexdebug:textures/item/debugger/step_mode/out.png":{"url":"https://raw.githubusercontent.com/object-Object/HexDebug/3d5dcaeb73676436c29b7c8a917fa232b2f918af/Common/src/main/resources/assets/hexdebug/textures/item/debugger/step_mode/out.png","pixelated":true},"hexdebug:textures/item/debugger/step_mode/in.png":{"url":"https://raw.githubusercontent.com/object-Object/HexDebug/3d5dcaeb73676436c29b7c8a917fa232b2f918af/Common/src/main/resources/assets/hexdebug/textures/item/debugger/step_mode/in.png","pixelated":true},"hexdebug:textures/item/debugger/state/active.png":{"url":"https://raw.githubusercontent.com/object-Object/HexDebug/3d5dcaeb73676436c29b7c8a917fa232b2f918af/Common/src/main/resources/assets/hexdebug/textures/item/debugger/state/active.png","pixelated":true},"hexdebug:textures/item/debugger/state/waiting_for_client.png":{"url":"https://raw.githubusercontent.com/object-Object/HexDebug/3d5dcaeb73676436c29b7c8a917fa232b2f918af/Common/src/main/resources/assets/hexdebug/textures/item/debugger/state/waiting_for_client.png","pixelated":true}},"SingleItemTexture":{"hexdebug:debugger":{"inner":{"url":"https://raw.githubusercontent.com/object-Object/HexDebug/3d5dcaeb73676436c29b7c8a917fa232b2f918af/Common/src/main/resources/assets/hexdebug/textures/item/debugger.png","pixelated":true}},"hexdebug:debugger/in/waiting_for_client":{"inner":{"url":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAACXBIWXMAAC4jAAAuIwF4pT92AAAAJElEQVQoz2NkwAF+MPzAKs7EQCIY1UAMYMQV3hwMHKOhRD8NAPogBA/DVsDEAAAAAElFTkSuQmCC","pixelated":true}},"hexdebug:debugger/over/waiting_for_client":{"inner":{"url":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAACXBIWXMAAC4jAAAuIwF4pT92AAAAJElEQVQoz2NkwAF+MPzAKs7EQCIY1UAMYMQV3hwMHKOhRD8NAPogBA/DVsDEAAAAAElFTkSuQmCC","pixelated":true}},"hexdebug:debugger/continue/inactive":{"inner":{"url":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAACXBIWXMAAC4jAAAuIwF4pT92AAAAJElEQVQoz2NkwAF+MPzAKs7EQCIY1UAMYMQV3hwMHKOhRD8NAPogBA/DVsDEAAAAAElFTkSuQmCC","pixelated":true}},"hexdebug:debugger/continue/waiting_for_client":{"inner":{"url":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAACXBIWXMAAC4jAAAuIwF4pT92AAAAJElEQVQoz2NkwAF+MPzAKs7EQCIY1UAMYMQV3hwMHKOhRD8NAPogBA/DVsDEAAAAAElFTkSuQmCC","pixelated":true}},"hexdebug:debugger/over/inactive":{"inner":{"url":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAACXBIWXMAAC4jAAAuIwF4pT92AAAAJElEQVQoz2NkwAF+MPzAKs7EQCIY1UAMYMQV3hwMHKOhRD8NAPogBA/DVsDEAAAAAElFTkSuQmCC","pixelated":true}},"hexdebug:debugger/in/active":{"inner":{"url":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAACXBIWXMAAC4jAAAuIwF4pT92AAAAJElEQVQoz2NkwAF+MPzAKs7EQCIY1UAMYMQV3hwMHKOhRD8NAPogBA/DVsDEAAAAAElFTkSuQmCC","pixelated":true}},"hexdebug:debugger/continue/active":{"inner":{"url":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAACXBIWXMAAC4jAAAuIwF4pT92AAAAJElEQVQoz2NkwAF+MPzAKs7EQCIY1UAMYMQV3hwMHKOhRD8NAPogBA/DVsDEAAAAAElFTkSuQmCC","pixelated":true}},"hexdebug:debugger/in/inactive":{"inner":{"url":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAACXBIWXMAAC4jAAAuIwF4pT92AAAAJElEQVQoz2NkwAF+MPzAKs7EQCIY1UAMYMQV3hwMHKOhRD8NAPogBA/DVsDEAAAAAElFTkSuQmCC","pixelated":true}},"hexdebug:debugger/over/active":{"inner":{"url":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAACXBIWXMAAC4jAAAuIwF4pT92AAAAJElEQVQoz2NkwAF+MPzAKs7EQCIY1UAMYMQV3hwMHKOhRD8NAPogBA/DVsDEAAAAAElFTkSuQmCC","pixelated":true}}}}}
@@ -0,0 +1 @@
1
+ {"patterns":[{"startdir":"EAST","signature":"qqqqqewaa","id":"hexdebug:const/debugging"},{"startdir":"SOUTH_WEST","signature":"awqdeew","id":"hexdebug:breakpoint/before"},{"startdir":"EAST","signature":"wqqaewd","id":"hexdebug:breakpoint/after"}]}
@@ -0,0 +1,57 @@
1
+ from importlib.resources import Package
2
+ from typing_extensions import override
3
+
4
+ from hexdoc.plugin import (
5
+ HookReturn,
6
+ ModPlugin,
7
+ ModPluginImpl,
8
+ ModPluginWithBook,
9
+ hookimpl,
10
+ )
11
+
12
+ import hexdoc_hexdebug
13
+
14
+ from .__gradle_version__ import FULL_VERSION, GRADLE_VERSION
15
+ from .__version__ import PY_VERSION
16
+
17
+
18
+ class HexDebugPlugin(ModPluginImpl):
19
+ @staticmethod
20
+ @hookimpl
21
+ def hexdoc_mod_plugin(branch: str) -> ModPlugin:
22
+ return HexDebugModPlugin(branch=branch)
23
+
24
+
25
+ class HexDebugModPlugin(ModPluginWithBook):
26
+ @property
27
+ @override
28
+ def modid(self) -> str:
29
+ return "hexdebug"
30
+
31
+ @property
32
+ @override
33
+ def full_version(self) -> str:
34
+ return FULL_VERSION
35
+
36
+ @property
37
+ @override
38
+ def mod_version(self) -> str:
39
+ return GRADLE_VERSION
40
+
41
+ @property
42
+ @override
43
+ def plugin_version(self) -> str:
44
+ return PY_VERSION
45
+
46
+ @override
47
+ def resource_dirs(self) -> HookReturn[Package]:
48
+ # lazy import because generated may not exist when this file is loaded
49
+ # eg. when generating the contents of generated
50
+ # so we only want to import it if we actually need it
51
+ from ._export import generated
52
+
53
+ return generated
54
+
55
+ @override
56
+ def jinja_template_root(self) -> tuple[Package, str]:
57
+ return hexdoc_hexdebug, "_templates"
@@ -0,0 +1,17 @@
1
+ # non-minecraft values
2
+ org.gradle.jvmargs=-Xmx2048M
3
+ jetbrainsAnnotationsVersion=23.0.0
4
+
5
+ # gradle kotlin jvm plugin breaks without this
6
+ kotlin.stdlib.default.dependency=false
7
+
8
+ # mod info
9
+ modId=hexdebug
10
+ modVersion=0.1.0
11
+ mavenGroup=gay.object.hexdebug
12
+
13
+ # publishing
14
+ curseforgeId=
15
+ modrinthId=
16
+
17
+ enabledPlatforms=fabric,forge
@@ -0,0 +1,150 @@
1
+ [build-system]
2
+ requires = [
3
+ "hatchling",
4
+ "hatch-gradle-version>=0.9.6",
5
+ ]
6
+ build-backend = "hatchling.build"
7
+
8
+ # project metadata
9
+
10
+ [project]
11
+ name = "hexdoc-hexdebug"
12
+ description = "Python web book docgen and hexdoc plugin for HexDebug."
13
+ readme = "doc/README.md"
14
+ authors = [
15
+ { name="object-Object" },
16
+ ]
17
+ keywords = ["hexdoc"]
18
+ requires-python = ">=3.11"
19
+ dynamic = ["version", "dependencies", "optional-dependencies"]
20
+
21
+ [project.urls]
22
+ Homepage = "https://hexdebug.hexxy.media"
23
+ Source = "https://github.com/object-Object/HexDebug"
24
+
25
+ # Gradle version/deps
26
+
27
+ [tool.hatch.version]
28
+ scheme = "gradle"
29
+ source = "gradle-properties"
30
+ py-path = "doc/src/hexdoc_hexdebug/__version__.py"
31
+ key = "modVersion"
32
+
33
+ [tool.hatch.metadata.hooks.version-catalog]
34
+ dependencies = [
35
+ "hexdoc>=1!0.1.0a13",
36
+ { package="hexdoc-hexcasting", op="~=", py-version="1.0", key="hexcasting" },
37
+ ]
38
+
39
+ [tool.hatch.metadata.hooks.version-catalog.optional-dependencies]
40
+ dev = [
41
+ "ruff~=0.3.7",
42
+ ]
43
+
44
+ # directory inclusion
45
+
46
+ [tool.hatch.build]
47
+ only-include = [
48
+ "doc/src/hexdoc_hexdebug",
49
+ "gradle.properties",
50
+ ]
51
+ artifacts = [
52
+ "/doc/src/hexdoc_hexdebug/_export/generated",
53
+ "/doc/src/hexdoc_hexdebug/__gradle_version__.py",
54
+ ]
55
+
56
+ [tool.hatch.build.targets.wheel]
57
+ sources = ["doc/src"]
58
+
59
+ # hexdoc entry points
60
+
61
+ [project.entry-points.hexdoc]
62
+ hexdebug = "hexdoc_hexdebug._hooks:HexDebugPlugin"
63
+
64
+ # linting/formatting
65
+
66
+ [tool.ruff]
67
+ extend-exclude = [
68
+ "venv",
69
+ "**/.*",
70
+ "**/node_modules",
71
+ "**/__pycache__",
72
+ ]
73
+
74
+ [tool.ruff.lint]
75
+ preview = true
76
+ extend-select = [
77
+ "I", # import sorting
78
+ "RUF022", # __all__ sorting
79
+ ]
80
+ extend-ignore = [
81
+ # covered by Pyright
82
+ "F821", # undefined variable
83
+ "F401", # imported but unused
84
+ "F841", # unused variable
85
+ ]
86
+
87
+ [tool.ruff.lint.isort]
88
+ combine-as-imports = true
89
+
90
+ [tool.pyright]
91
+ pythonVersion = "3.11"
92
+ pythonPlatform = "All"
93
+
94
+ include = ["doc/src"]
95
+ extraPaths = ["doc/src"]
96
+ exclude = [
97
+ "noxfile.py",
98
+ "**/venv",
99
+ "**/.*",
100
+ "**/node_modules",
101
+ "**/__pycache__",
102
+ ]
103
+
104
+ typeCheckingMode = "basic"
105
+
106
+ strictDictionaryInference = true
107
+ strictListInference = true
108
+ strictSetInference = true
109
+
110
+ reportAssertAlwaysTrue = "error"
111
+ reportConstantRedefinition = "error"
112
+ reportDeprecated = "error"
113
+ reportDuplicateImport = "error"
114
+ reportFunctionMemberAccess = "error"
115
+ reportIncompatibleMethodOverride = "error"
116
+ reportIncompatibleVariableOverride = "error"
117
+ reportIncompleteStub = "error"
118
+ reportInconsistentConstructor = "error"
119
+ reportInvalidStringEscapeSequence = "error"
120
+ reportInvalidStubStatement = "error"
121
+ reportInvalidTypeVarUse = "error"
122
+ reportMatchNotExhaustive = "error"
123
+ reportMissingParameterType = "error"
124
+ reportMissingTypeStubs = "error"
125
+ reportOverlappingOverload = "error"
126
+ reportSelfClsParameterName = "error"
127
+ reportTypeCommentUsage = "error"
128
+ reportUnknownParameterType = "error"
129
+ reportUnnecessaryCast = "error"
130
+ reportUnnecessaryContains = "error"
131
+ reportUnsupportedDunderAll = "error"
132
+ reportUntypedBaseClass = "error"
133
+ reportUntypedClassDecorator = "error"
134
+ reportUntypedFunctionDecorator = "error"
135
+ reportUntypedNamedTuple = "error"
136
+ reportWildcardImportFromLibrary = "error"
137
+
138
+ reportMissingTypeArgument = "warning"
139
+ reportPrivateUsage = "warning"
140
+ reportUnknownArgumentType = "warning"
141
+ reportUnknownLambdaType = "warning"
142
+ reportUnknownMemberType = "warning"
143
+ reportUnknownVariableType = "warning"
144
+ reportUnnecessaryComparison = "warning"
145
+ reportUnnecessaryIsInstance = "warning"
146
+ reportUnusedClass = "warning"
147
+ reportUnusedExpression = "warning"
148
+ reportUnusedFunction = "warning"
149
+ reportUnusedImport = "warning"
150
+ reportUnusedVariable = "warning"