Skip to content

Commit 4a9e624

Browse files
committed
docs: cleanup docs
1 parent ab4878a commit 4a9e624

File tree

6 files changed

+16
-18
lines changed

6 files changed

+16
-18
lines changed

CONTRIBUTING.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323

2424
### First time setup
2525

26-
- Install uv, as described [here](https://github.com/astral-sh/uv/#installation).
27-
- `uv python install 3.10 3.11 3.12 3.13`
26+
- Install uv, as described [in their documentation](https://github.com/astral-sh/uv/#installation).
27+
- `uv python install 3.12 3.13`
2828
- `uv self update`
2929
- `uv sync --all-groups`
3030
- The `.venv/` directory will now be created with all project, development and documentation dependencies installed.
@@ -34,21 +34,18 @@
3434

3535
- [**tox**](https://tox.wiki/)
3636
- Creates virtual environments for CI or local pytest runs.
37-
- Note that the CI does not current execute calls to the production API by default.
37+
- Note that the CI does not currently execute calls to the production API by default.
3838
- Run `tox list` or see `tox.ini` for more info
3939
- [**pre-commit**](https://pre-commit.com/)
4040
- Creates virtual environments for formatting and linting tools
4141
- Run `pre-commit run --all-files` or see `.pre-commit-config.yaml` for more info.
4242

4343
> Note: Many of the tools below are run by `pre-commit` automatically, but can also be run manually if desired.
4444
45-
- [**black**](https://github.com/psf/black)
46-
- Whitespace formatter/code style formatter
47-
- Run with `black .`
4845
- [**ruff**](https://github.com/astral-sh/ruff)
4946
- Linting rules from a wide variety of selectable rule sets
5047
- See `pyproject.toml` for the rules used.
51-
- See all rules (but not necessarily used in the project) availible in rust [here](https://beta.ruff.rs/docs/rules/).
48+
- See all rules (but not necessarily used in the project) [available in ruff here](https://beta.ruff.rs/docs/rules/).
5249
- Run with `ruff check .`
5350
- Note: When using autofixing (`ruff check . --fix`), changes may be made that require running black, which can then result in needing to run `ruff check . --fix` again.
5451
- Consider running `black . && ruff check . --fix && black . && ruff check . --fix` to avoid this.

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,25 @@
1-
21
[![Tests](https://github.com/Haidra-Org/horde-sdk/actions/workflows/maintests.yml/badge.svg)](https://github.com/Haidra-Org/horde-sdk/actions/workflows/maintests.yml)
32
[![Documentation Status](https://readthedocs.org/projects/horde-sdk/badge/?version=latest)](https://horde-sdk.readthedocs.io/en/latest/?badge=latest)
43
[![Unstable Tests](https://github.com/Haidra-Org/horde-sdk/actions/workflows/prtests.yml/badge.svg)](https://github.com/Haidra-Org/horde-sdk/actions/workflows/prtests.yml)
4+
55
# horde_sdk
66

77
## Note
8+
89
horde_sdk is in **beta**. Everything is subject to change. Please feel free to report bugs or make suggestions on our [github issue page](https://https//github.com/Haidra-Org/horde-sdk)
910

1011
## About
12+
1113
This library simplifies interfacing with any API created by [Haidra](https://github.com/Haidra-Org) - the community organization
1214
behind the free projects such as AI-Horde ([homepage](https://aihorde.net/), [github](https://github.com/db0/AI-Horde)).
1315
The goal is to minimize the amount of time it takes to develop applications in python that use our free, volunteer driven, services which include:
1416

15-
- Stable Diffusion Image Generation (driven by [ComfyUI](https://github.com/comfyanonymous/ComfyUI))
16-
- Image captioning
17-
- Image rating (currently ratings are for [diffusiondb](https://poloclub.github.io/diffusiondb/), others coming in the future)
17+
- Image Generation (driven by [ComfyUI](https://github.com/comfyanonymous/ComfyUI))
1818
- Text Generation using LLMs (driven by [KoboldAI](https://github.com/KoboldAI/KoboldAI-Client))
19+
- Image captioning
1920

2021
From anything to requesting your own images, or rolling your own [worker](https://github.com/Haidra-Org/AI-Horde-Worker) software, this package may suit your needs.
2122

2223
## Documentation
23-
See the complete documentation at https://horde-sdk.readthedocs.io/en/latest/.
24+
25+
See the complete documentation at <https://horde-sdk.readthedocs.io/en/latest/>.

docs/concepts/package_structure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,6 @@ By convention, the following files within an api support package should always c
150150
- `worker/generations.py`
151151
- Contains the concrete implementations of `HordeSingleGeneration` for each supported generation type.
152152
- These classes should generally be limited in terms of their own logic and when appropriate, delegate to the `HordeSingleGeneration` class's methods or implementations.
153-
- `worker/jobs_base.py`
153+
- `worker/job_base.py`
154154
- Contains the base class for all job types, `HordeWorkerJob`
155155
- `HordeWorkerJob` wraps `HordeSingleGeneration`

docs/index.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,9 @@ This library simplifies interfacing with any API created by [Haidra](https://git
1111
behind the free projects such as AI-Horde ([homepage](https://aihorde.net/), [github](https://github.com/db0/AI-Horde)).
1212
The goal is to minimize the amount of time it takes to develop applications in python that use our free, volunteer driven, services which include:
1313

14-
- Stable Diffusion Image Generation (driven by [ComfyUI](https://github.com/comfyanonymous/ComfyUI))
15-
- Image captioning
16-
- Image rating (currently ratings are for [diffusiondb](https://poloclub.github.io/diffusiondb/), others coming in the future)
14+
- Image Generation (driven by [ComfyUI](https://github.com/comfyanonymous/ComfyUI))
1715
- Text Generation using LLMs (driven by [KoboldAI](https://github.com/KoboldAI/KoboldAI-Client))
16+
- Image captioning
1817

1918
From anything to requesting your own images, or rolling your own [worker](https://github.com/Haidra-Org/AI-Horde-Worker) software, this package may suit your needs.
2019

docs/worker/generation_states_flow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Typical States Flow
44

5-
This is visual depiction of the `base_generate_progress_transitions` map found in `horde_sdk/ai_horde_worker/consts.py`.
5+
This is visual depiction of the `base_generate_progress_transitions` map found in `horde_sdk/worker/consts.py`.
66

77
You should also see the [worker loop](../haidra-assets/docs/worker_loop.md) and [job lifecycle explanation](../haidra-assets/docs/workers.md) for additional details.
88

docs/worker/generations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ This guide should help you get started with the basic usage and required method
334334

335335
### Typical States Flow
336336

337-
This is visual depiction of the `base_generate_progress_transitions` map found in `horde_sdk/ai_horde_worker/consts.py`.
337+
This is visual depiction of the `base_generate_progress_transitions` map found in `horde_sdk/worker/consts.py`.
338338

339339
You should also see the [worker loop](../haidra-assets/docs/worker_loop.md) and [job lifecycle explanation](../haidra-assets/docs/workers.md) for additional details.
340340

0 commit comments

Comments
 (0)