Skip to content

Commit

Permalink
docs: adds docs tool, material for mkdocs, along with more fleshed ou…
Browse files Browse the repository at this point in the history
…t docstrings.

this includes ability to serve up a local docs website.
  • Loading branch information
jaydrennan committed Jan 3, 2024
1 parent f84406f commit 4c174ad
Show file tree
Hide file tree
Showing 56 changed files with 704 additions and 7 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,11 @@ require_pyenv:
echo -e "\033[0;32m ✔️ pyenv-virtualenv installed\033[0m";\
fi

.PHONY: docs

docs:
mkdocs serve

update-stablestudio:
@echo "Updating stablestudio"
cd ../imaginAIry-StableStudio && \
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/bird-normal-generated.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/bird-normal.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/dog-hed-boundary-dalmation.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/dog-hed-boundary.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/fancy-living-depth-generated.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/fancy-living-depth.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/fancy-living.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/girl_with_a_pearl_earring.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/indiana-pose-polar-bear.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/indiana-pose.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/indiana.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/lena-canny-generated.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/lena-canny.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/lena.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/pearl-gray.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/pearl-recolor-a.jpg
Binary file added docs/assets/svd-rocket.gif
Binary file added docs/assets/wishbone_headshot_badscale.jpg
Binary file added docs/assets/wishbone_headshot_details.jpg
3 changes: 3 additions & 0 deletions docs/docs/CLI/colorize.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
::: mkdocs-click
:module: imaginairy.cli.colorize
:command: colorize_cmd
3 changes: 3 additions & 0 deletions docs/docs/CLI/describe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
::: mkdocs-click
:module: imaginairy.cli.describe
:command: describe_cmd
3 changes: 3 additions & 0 deletions docs/docs/CLI/edit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
::: mkdocs-click
:module: imaginairy.cli.edit
:command: edit_cmd
3 changes: 3 additions & 0 deletions docs/docs/CLI/imagine.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
::: mkdocs-click
:module: imaginairy.cli.imagine
:command: imagine_cmd
3 changes: 3 additions & 0 deletions docs/docs/CLI/upscale.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
::: mkdocs-click
:module: imaginairy.cli.upscale
:command: upscale_cmd
3 changes: 3 additions & 0 deletions docs/docs/CLI/videogen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
::: mkdocs-click
:module: imaginairy.cli.videogen
:command: videogen_cmd
2 changes: 2 additions & 0 deletions docs/docs/Python/ControlInput.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

::: imaginairy.schema.ControlInput
2 changes: 2 additions & 0 deletions docs/docs/Python/ImaginePrompt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

::: imaginairy.schema.ImaginePrompt
2 changes: 2 additions & 0 deletions docs/docs/Python/LazyLoadingImage.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

::: imaginairy.schema.LazyLoadingImage
2 changes: 2 additions & 0 deletions docs/docs/Python/WeightedPrompt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

::: imaginairy.schema.WeightedPrompt
2 changes: 2 additions & 0 deletions docs/docs/Python/colorize-img.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

::: imaginairy.api.colorize.colorize_img
2 changes: 2 additions & 0 deletions docs/docs/Python/generate-video.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

::: imaginairy.api.video_sample.generate_video
3 changes: 3 additions & 0 deletions docs/docs/Python/imagine-image-files.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@


::: imaginairy.api.generate.imagine_image_files
2 changes: 2 additions & 0 deletions docs/docs/Python/imagine.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

::: imaginairy.api.generate.imagine
Loading

0 comments on commit 4c174ad

Please sign in to comment.