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 Dec 30, 2023
1 parent 26d1ff9 commit 3395c42
Show file tree
Hide file tree
Showing 50 changed files with 567 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
4 changes: 4 additions & 0 deletions docs/docs/Python/colorize.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# colorize_img()


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


::: imaginairy.api.video_sample.generate_video
10 changes: 10 additions & 0 deletions docs/docs/Python/generate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# imagine()

::: imaginairy.api.generate.imagine


# imagine_image_files()

::: imaginairy.api.generate.imagine_image_files


Loading

0 comments on commit 3395c42

Please sign in to comment.