diff --git a/.github/workflows/docs-checks.yml b/.github/workflows/docs-checks.yml index 35ff31364a..c4c97fd916 100644 --- a/.github/workflows/docs-checks.yml +++ b/.github/workflows/docs-checks.yml @@ -31,7 +31,7 @@ jobs: strategy: fail-fast: false matrix: - pkg-name: ["app", "pytorch"] # TODO: , "lit" + pkg-name: ["app", "pytorch"] env: FREEZE_REQUIREMENTS: "1" steps: diff --git a/.gitignore b/.gitignore index 28606a12d9..54502a6f42 100644 --- a/.gitignore +++ b/.gitignore @@ -9,9 +9,6 @@ lightning_logs/ # Documentations docs/source-app/generated docs/source-app/*/generated -docs/source-lit/generated -docs/source-lit/*/generated -docs/source-lit/api docs/source-pytorch/api docs/source-pytorch/*.md docs/source-pytorch/generated diff --git a/Makefile b/Makefile index 33326c9f28..d94a09ce5b 100644 --- a/Makefile +++ b/Makefile @@ -22,9 +22,6 @@ clean: rm -rf ./docs/source-pytorch/api rm -rf ./docs/source-app/generated rm -rf ./docs/source-app/*/generated - rm -rf ./docs/source-lit/api - rm -rf ./docs/source-lit/generated - rm -rf ./docs/source-lit/*/generated rm -rf build rm -rf dist rm -rf *.egg-info diff --git a/docs/create-symlinks.py b/docs/create-symlinks.py deleted file mode 100644 index 41dcf8bc53..0000000000 --- a/docs/create-symlinks.py +++ /dev/null @@ -1,27 +0,0 @@ -import glob -import os - - -def symlink_folder(source_dir, target_dir: str = "source-lit") -> None: - assert os.path.isdir(source_dir) - assert os.path.isdir(target_dir) - ls = glob.glob(os.path.join(source_dir, "**"), recursive=True) - for path_ in ls: - path_target = path_.replace(source_dir, target_dir) - if os.path.isdir(path_) or os.path.exists(path_target): - continue - if os.path.islink(path_target): - print(path_target) - continue - path_dir = os.path.dirname(path_target) - os.makedirs(path_dir, exist_ok=True) - depth = path_.count(os.path.sep) - path_root = os.path.sep.join([".."] * depth) - path_source = os.path.join(path_root, path_) - # print(path_source, path_target, os.path.exists(path_target)) - os.symlink(path_source, path_target) - - -if __name__ == "__main__": - for name in ("app", "pytorch"): - symlink_folder(f"source-{name}") diff --git a/requirements/lit/base.txt b/requirements/lit/base.txt deleted file mode 100644 index 51c5f41437..0000000000 --- a/requirements/lit/base.txt +++ /dev/null @@ -1 +0,0 @@ -# this is just compatibility placeholder for the future fused docs diff --git a/requirements/lit/devel.txt b/requirements/lit/devel.txt deleted file mode 100644 index 19ff735754..0000000000 --- a/requirements/lit/devel.txt +++ /dev/null @@ -1 +0,0 @@ --r ../pytorch/examples.txt diff --git a/requirements/lit/docs.txt b/requirements/lit/docs.txt deleted file mode 100644 index 8885ea76a2..0000000000 --- a/requirements/lit/docs.txt +++ /dev/null @@ -1,8 +0,0 @@ --r ../docs.txt - -ipython[notebook] -ipython_genutils - -lai-sphinx-theme - --r ../../_notebooks/.actions/requirements.txt