diff --git a/.actions/assistant.py b/.actions/assistant.py index 7667cd85d2..ca30b13dec 100644 --- a/.actions/assistant.py +++ b/.actions/assistant.py @@ -161,13 +161,17 @@ def load_readme_description(path_dir: str, homepage: str, version: str) -> str: text = open(path_readme, encoding="utf-8").read() # drop images from readme - text = text.replace("![PT to PL](docs/source/_static/images/general/pl_quick_start_full_compressed.gif)", "") + text = text.replace( + "![PT to PL](docs/source-pytorch/_static/images/general/pl_quick_start_full_compressed.gif)", "" + ) # https://github.com/Lightning-AI/lightning/raw/master/docs/source/_static/images/lightning_module/pt_to_pl.png github_source_url = os.path.join(homepage, "raw", version) # replace relative repository path to absolute link to the release # do not replace all "docs" as in the readme we reger some other sources with particular path to docs - text = text.replace("docs/source/_static/", f"{os.path.join(github_source_url, 'docs/source/_static/')}") + text = text.replace( + "docs/source-pytorch/_static/", f"{os.path.join(github_source_url, 'docs/source-app/_static/')}" + ) # readthedocs badge text = text.replace("badge/?version=stable", f"badge/?version={version}") diff --git a/.github/checkgroup.yml b/.github/checkgroup.yml index 73e23d6737..2fd803f8ee 100644 --- a/.github/checkgroup.yml +++ b/.github/checkgroup.yml @@ -310,7 +310,7 @@ subprojects: - ".actions/**" - "src/lightning/app/**" - "src/lightning_app/*" - - "docs/source/**" + - "docs/source-app/**" - ".github/workflows/docs-checks.yml" - "requirements/docs.txt" - "requirements/app/**" @@ -319,8 +319,8 @@ subprojects: - "!*.md" - "!**/*.md" checks: - - "make-doctest (lightning)" - - "make-html (lightning)" + - "make-doctest (app)" + - "make-html (app)" # SECTION: common diff --git a/.github/labeler.yml b/.github/labeler.yml index 9800eac4bc..953db13adc 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -5,7 +5,7 @@ app: - 'tests/integrations_app/**' - 'tests/integrations_app_examples/**' - 'examples/app_*/**' - - 'docs/source/**' + - 'docs/source-app/**' - 'requirements/app/**' pl: diff --git a/.github/workflows/docs-checks.yml b/.github/workflows/docs-checks.yml index 563118b1e0..4b7acf4377 100644 --- a/.github/workflows/docs-checks.yml +++ b/.github/workflows/docs-checks.yml @@ -39,7 +39,7 @@ jobs: strategy: fail-fast: false matrix: - pkg-name: ["lightning", "pytorch"] + pkg-name: ["app", "pytorch"] steps: - uses: actions/checkout@v3 with: @@ -47,14 +47,14 @@ jobs: ref: ${{ github.event.pull_request.head.sha }} - uses: aws-actions/configure-aws-credentials@v1 - if: ${{ matrix.pkg-name == 'lightning' }} + if: ${{ matrix.pkg-name == 'app' }} with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_KEY_ID }} aws-region: us-east-1 - run: aws s3 sync s3://sphinx-packages/ pypi/ - if: ${{ matrix.pkg-name == 'lightning' }} + if: ${{ matrix.pkg-name == 'app' }} # Note: This uses an internal pip API and may not always work # https://github.com/actions/cache/blob/master/examples.md#multiple-oss-in-a-workflow @@ -65,28 +65,15 @@ jobs: key: docs-test-${{ matrix.pkg-name }}-${{ hashFiles('requirements/${{ matrix.pkg-name }}/*.txt') }} restore-keys: docs-test-${{ matrix.pkg-name }}- - - name: Adjust docs refs - if: ${{ matrix.pkg-name == 'lightning' }} - run: | - pip install -q -r .actions/requirements.txt - python .actions/assistant.py copy_replace_imports --source_dir="./docs" \ - --source_import="pytorch_lightning,lightning_fabric" \ - --target_import="lightning.pytorch,lightning.fabric" - - - name: adjust paths - run: | - python -c "n = '${{ matrix.pkg-name }}' ; print('DOCS_DIR=source' + {'lightning': '', 'pytorch': '-pytorch'}.get(n))" >> $GITHUB_ENV - python -c "n = '${{ matrix.pkg-name }}' ; print('REQ_DIR=' + {'lightning': 'app'}.get(n, n))" >> $GITHUB_ENV - - name: Install this package run: | - pip install -e .[extra,cloud,ui] -U -r requirements/${{ env.REQ_DIR }}/docs.txt -f pypi -f ${TORCH_URL} + pip install -e .[extra,cloud,ui] -U -r requirements/${{ matrix.pkg-name }}/docs.txt -f pypi -f ${TORCH_URL} pip list - name: Test Documentation env: SPHINX_MOCK_REQUIREMENTS: 0 - working-directory: ./docs/${{ env.DOCS_DIR }} + working-directory: ./docs/source-${{ matrix.pkg-name }} run: | make doctest make coverage @@ -98,7 +85,7 @@ jobs: strategy: fail-fast: false matrix: - pkg-name: ["lightning", "pytorch"] + pkg-name: ["app", "pytorch"] steps: - uses: actions/checkout@v3 with: @@ -124,24 +111,19 @@ jobs: key: docs-make-${{ hashFiles('requirements/${{ matrix.pkg-name }}/*.txt') }} restore-keys: docs-make- - - name: adjust paths - run: | - python -c "n = '${{ matrix.pkg-name }}' ; print('DOCS_DIR=source' + {'lightning': '', 'pytorch': '-pytorch'}.get(n))" >> $GITHUB_ENV - python -c "n = '${{ matrix.pkg-name }}' ; print('REQ_DIR=' + {'lightning': 'app'}.get(n, n))" >> $GITHUB_ENV - - name: Install package & dependencies run: | pip --version - pip install -e . -U -r requirements/${{ env.REQ_DIR }}/docs.txt -f pypi -f ${TORCH_URL} + pip install -e . -U -r requirements/${{ matrix.pkg-name }}/docs.txt -f pypi -f ${TORCH_URL} pip list shell: bash - name: Make Documentation - working-directory: ./docs/${{ env.DOCS_DIR }} + working-directory: ./docs/source-${{ matrix.pkg-name }} run: make html --debug --jobs $(nproc) SPHINXOPTS="-W --keep-going" - name: Check External Links in Sphinx Documentation (Optional) - working-directory: ./docs/${{ env.DOCS_DIR }} + working-directory: ./docs/source-${{ matrix.pkg-name }} run: make linkcheck continue-on-error: true diff --git a/.github/workflows/docs-deploy.yml b/.github/workflows/docs-deploy.yml index 73a9ff975e..e8e329e67e 100644 --- a/.github/workflows/docs-deploy.yml +++ b/.github/workflows/docs-deploy.yml @@ -53,7 +53,7 @@ jobs: pip list - name: Make Documentation - working-directory: ./docs/source + working-directory: ./docs/source-app run: | # First run the same pipeline as Read-The-Docs make clean diff --git a/.gitignore b/.gitignore index ebacb453f9..dc909922ff 100644 --- a/.gitignore +++ b/.gitignore @@ -7,8 +7,8 @@ lightning_logs/ .vscode/ # Documentations -docs/source/generated -docs/source/*/generated +docs/source-app/generated +docs/source-app/*/generated docs/source-pytorch/api docs/source-pytorch/*.md docs/source-pytorch/generated diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 52c72c7e6e..b9041192b5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -71,21 +71,21 @@ repos: hooks: - id: isort name: Format imports - exclude: docs/source + exclude: docs/source-app - repo: https://github.com/psf/black rev: 22.12.0 hooks: - id: black name: Format code - exclude: docs/source + exclude: docs/source-app - repo: https://github.com/asottile/blacken-docs rev: 1.13.0 hooks: - id: blacken-docs args: [--line-length=120] - exclude: docs/source + exclude: docs/source-app - repo: https://github.com/executablebooks/mdformat rev: 0.7.16 diff --git a/docs/source/Makefile b/docs/source-app/Makefile similarity index 100% rename from docs/source/Makefile rename to docs/source-app/Makefile diff --git a/docs/source/_static/copybutton.js b/docs/source-app/_static/copybutton.js similarity index 100% rename from docs/source/_static/copybutton.js rename to docs/source-app/_static/copybutton.js diff --git a/docs/source/_static/images/icon.svg b/docs/source-app/_static/images/icon.svg similarity index 100% rename from docs/source/_static/images/icon.svg rename to docs/source-app/_static/images/icon.svg diff --git a/docs/source/_static/images/logo-large.svg b/docs/source-app/_static/images/logo-large.svg similarity index 100% rename from docs/source/_static/images/logo-large.svg rename to docs/source-app/_static/images/logo-large.svg diff --git a/docs/source/_static/images/logo-small.svg b/docs/source-app/_static/images/logo-small.svg similarity index 100% rename from docs/source/_static/images/logo-small.svg rename to docs/source-app/_static/images/logo-small.svg diff --git a/docs/source/_static/images/logo.png b/docs/source-app/_static/images/logo.png similarity index 100% rename from docs/source/_static/images/logo.png rename to docs/source-app/_static/images/logo.png diff --git a/docs/source/_static/images/logo.svg b/docs/source-app/_static/images/logo.svg similarity index 100% rename from docs/source/_static/images/logo.svg rename to docs/source-app/_static/images/logo.svg diff --git a/docs/source/_static/main.css b/docs/source-app/_static/main.css similarity index 100% rename from docs/source/_static/main.css rename to docs/source-app/_static/main.css diff --git a/docs/source/_templates/classtemplate.rst b/docs/source-app/_templates/classtemplate.rst similarity index 100% rename from docs/source/_templates/classtemplate.rst rename to docs/source-app/_templates/classtemplate.rst diff --git a/docs/source/_templates/classtemplate_no_index.rst b/docs/source-app/_templates/classtemplate_no_index.rst similarity index 100% rename from docs/source/_templates/classtemplate_no_index.rst rename to docs/source-app/_templates/classtemplate_no_index.rst diff --git a/docs/source/_templates/layout.html b/docs/source-app/_templates/layout.html similarity index 100% rename from docs/source/_templates/layout.html rename to docs/source-app/_templates/layout.html diff --git a/docs/source/_templates/theme_variables.jinja b/docs/source-app/_templates/theme_variables.jinja similarity index 100% rename from docs/source/_templates/theme_variables.jinja rename to docs/source-app/_templates/theme_variables.jinja diff --git a/docs/source/api_reference/components.rst b/docs/source-app/api_reference/components.rst similarity index 100% rename from docs/source/api_reference/components.rst rename to docs/source-app/api_reference/components.rst diff --git a/docs/source/api_reference/core.rst b/docs/source-app/api_reference/core.rst similarity index 100% rename from docs/source/api_reference/core.rst rename to docs/source-app/api_reference/core.rst diff --git a/docs/source/api_reference/frontend.rst b/docs/source-app/api_reference/frontend.rst similarity index 100% rename from docs/source/api_reference/frontend.rst rename to docs/source-app/api_reference/frontend.rst diff --git a/docs/source/api_reference/runners.rst b/docs/source-app/api_reference/runners.rst similarity index 100% rename from docs/source/api_reference/runners.rst rename to docs/source-app/api_reference/runners.rst diff --git a/docs/source/api_reference/storage.rst b/docs/source-app/api_reference/storage.rst similarity index 100% rename from docs/source/api_reference/storage.rst rename to docs/source-app/api_reference/storage.rst diff --git a/docs/source/basics.rst b/docs/source-app/basics.rst similarity index 100% rename from docs/source/basics.rst rename to docs/source-app/basics.rst diff --git a/docs/source/cloud/customize_a_lightning_cluster.rst b/docs/source-app/cloud/customize_a_lightning_cluster.rst similarity index 100% rename from docs/source/cloud/customize_a_lightning_cluster.rst rename to docs/source-app/cloud/customize_a_lightning_cluster.rst diff --git a/docs/source/code_samples/basics/0.py b/docs/source-app/code_samples/basics/0.py similarity index 100% rename from docs/source/code_samples/basics/0.py rename to docs/source-app/code_samples/basics/0.py diff --git a/docs/source/code_samples/basics/1.py b/docs/source-app/code_samples/basics/1.py similarity index 100% rename from docs/source/code_samples/basics/1.py rename to docs/source-app/code_samples/basics/1.py diff --git a/docs/source/code_samples/convert_pl_to_app/app.py b/docs/source-app/code_samples/convert_pl_to_app/app.py similarity index 100% rename from docs/source/code_samples/convert_pl_to_app/app.py rename to docs/source-app/code_samples/convert_pl_to_app/app.py diff --git a/docs/source/code_samples/convert_pl_to_app/requirements.txt b/docs/source-app/code_samples/convert_pl_to_app/requirements.txt similarity index 100% rename from docs/source/code_samples/convert_pl_to_app/requirements.txt rename to docs/source-app/code_samples/convert_pl_to_app/requirements.txt diff --git a/docs/source/code_samples/convert_pl_to_app/train.py b/docs/source-app/code_samples/convert_pl_to_app/train.py similarity index 100% rename from docs/source/code_samples/convert_pl_to_app/train.py rename to docs/source-app/code_samples/convert_pl_to_app/train.py diff --git a/docs/source/code_samples/quickstart/__init__.py b/docs/source-app/code_samples/quickstart/__init__.py similarity index 100% rename from docs/source/code_samples/quickstart/__init__.py rename to docs/source-app/code_samples/quickstart/__init__.py diff --git a/docs/source/code_samples/quickstart/app/__init__.py b/docs/source-app/code_samples/quickstart/app/__init__.py similarity index 100% rename from docs/source/code_samples/quickstart/app/__init__.py rename to docs/source-app/code_samples/quickstart/app/__init__.py diff --git a/docs/source/code_samples/quickstart/app/app_0.py b/docs/source-app/code_samples/quickstart/app/app_0.py similarity index 100% rename from docs/source/code_samples/quickstart/app/app_0.py rename to docs/source-app/code_samples/quickstart/app/app_0.py diff --git a/docs/source/code_samples/quickstart/app/app_1.py b/docs/source-app/code_samples/quickstart/app/app_1.py similarity index 100% rename from docs/source/code_samples/quickstart/app/app_1.py rename to docs/source-app/code_samples/quickstart/app/app_1.py diff --git a/docs/source/code_samples/quickstart/app_01.py b/docs/source-app/code_samples/quickstart/app_01.py similarity index 100% rename from docs/source/code_samples/quickstart/app_01.py rename to docs/source-app/code_samples/quickstart/app_01.py diff --git a/docs/source/code_samples/quickstart/app_02.py b/docs/source-app/code_samples/quickstart/app_02.py similarity index 100% rename from docs/source/code_samples/quickstart/app_02.py rename to docs/source-app/code_samples/quickstart/app_02.py diff --git a/docs/source/code_samples/quickstart/app_03.py b/docs/source-app/code_samples/quickstart/app_03.py similarity index 100% rename from docs/source/code_samples/quickstart/app_03.py rename to docs/source-app/code_samples/quickstart/app_03.py diff --git a/docs/source/code_samples/quickstart/app_comp.py b/docs/source-app/code_samples/quickstart/app_comp.py similarity index 100% rename from docs/source/code_samples/quickstart/app_comp.py rename to docs/source-app/code_samples/quickstart/app_comp.py diff --git a/docs/source/code_samples/quickstart/hello_world/app.py b/docs/source-app/code_samples/quickstart/hello_world/app.py similarity index 100% rename from docs/source/code_samples/quickstart/hello_world/app.py rename to docs/source-app/code_samples/quickstart/hello_world/app.py diff --git a/docs/source/code_samples/quickstart/hello_world/app_ui.py b/docs/source-app/code_samples/quickstart/hello_world/app_ui.py similarity index 100% rename from docs/source/code_samples/quickstart/hello_world/app_ui.py rename to docs/source-app/code_samples/quickstart/hello_world/app_ui.py diff --git a/docs/source/code_samples/quickstart/hello_world/ui/index.html b/docs/source-app/code_samples/quickstart/hello_world/ui/index.html similarity index 100% rename from docs/source/code_samples/quickstart/hello_world/ui/index.html rename to docs/source-app/code_samples/quickstart/hello_world/ui/index.html diff --git a/docs/source/conf.py b/docs/source-app/conf.py similarity index 97% rename from docs/source/conf.py rename to docs/source-app/conf.py index 2eb479fff4..f507160f8d 100644 --- a/docs/source/conf.py +++ b/docs/source-app/conf.py @@ -136,8 +136,8 @@ master_doc = "index" # Usually you set "language" from the command line for these cases. language = None -# List of patterns, relative to source directory, that match files and -# directories to ignore when looking for source files. +# List of patterns, relative to source-app directory, that match files and +# directories to ignore when looking for source-app files. # This pattern also affects html_static_path and html_extra_path. exclude_patterns = [ "PULL_REQUEST_TEMPLATE.md", @@ -208,7 +208,7 @@ latex_elements = { } # Grouping the document tree into LaTeX files. List of tuples -# (source start file, target name, title, +# (source-app start file, target name, title, # author, documentclass [howto, manual, or own class]). latex_documents = [ (master_doc, project + ".tex", project + " Documentation", author, "manual"), @@ -217,13 +217,13 @@ latex_documents = [ # -- Options for manual page output ------------------------------------------ # One entry per manual page. List of tuples -# (source start file, name, description, authors, manual section). +# (source-app start file, name, description, authors, manual section). man_pages = [(master_doc, project, project + " Documentation", [author], 1)] # -- Options for Texinfo output ---------------------------------------------- # Grouping the document tree into Texinfo files. List of tuples -# (source start file, target name, title, author, +# (source-app start file, target name, title, author, # dir menu entry, description, category) texinfo_documents = [ ( @@ -324,7 +324,7 @@ autodoc_mock_imports = MOCK_PACKAGES # Resolve function -# This function is used to populate the (source) links in the API +# This function is used to populate the (source-app) links in the API def linkcode_resolve(domain, info): def find_source(): # try to find the file and line number, based on code from numpy: diff --git a/docs/source/contribute_app.rst b/docs/source-app/contribute_app.rst similarity index 100% rename from docs/source/contribute_app.rst rename to docs/source-app/contribute_app.rst diff --git a/docs/source/core_api/lightning_app/app.py b/docs/source-app/core_api/lightning_app/app.py similarity index 100% rename from docs/source/core_api/lightning_app/app.py rename to docs/source-app/core_api/lightning_app/app.py diff --git a/docs/source/core_api/lightning_app/communication.rst b/docs/source-app/core_api/lightning_app/communication.rst similarity index 100% rename from docs/source/core_api/lightning_app/communication.rst rename to docs/source-app/core_api/lightning_app/communication.rst diff --git a/docs/source/core_api/lightning_app/communication_content.rst b/docs/source-app/core_api/lightning_app/communication_content.rst similarity index 100% rename from docs/source/core_api/lightning_app/communication_content.rst rename to docs/source-app/core_api/lightning_app/communication_content.rst diff --git a/docs/source/core_api/lightning_app/compute_content.rst b/docs/source-app/core_api/lightning_app/compute_content.rst similarity index 100% rename from docs/source/core_api/lightning_app/compute_content.rst rename to docs/source-app/core_api/lightning_app/compute_content.rst diff --git a/docs/source/core_api/lightning_app/dynamic_work.rst b/docs/source-app/core_api/lightning_app/dynamic_work.rst similarity index 100% rename from docs/source/core_api/lightning_app/dynamic_work.rst rename to docs/source-app/core_api/lightning_app/dynamic_work.rst diff --git a/docs/source/core_api/lightning_app/dynamic_work_content.rst b/docs/source-app/core_api/lightning_app/dynamic_work_content.rst similarity index 100% rename from docs/source/core_api/lightning_app/dynamic_work_content.rst rename to docs/source-app/core_api/lightning_app/dynamic_work_content.rst diff --git a/docs/source/core_api/lightning_app/index.rst b/docs/source-app/core_api/lightning_app/index.rst similarity index 100% rename from docs/source/core_api/lightning_app/index.rst rename to docs/source-app/core_api/lightning_app/index.rst diff --git a/docs/source/core_api/lightning_app/lightning_app.rst b/docs/source-app/core_api/lightning_app/lightning_app.rst similarity index 100% rename from docs/source/core_api/lightning_app/lightning_app.rst rename to docs/source-app/core_api/lightning_app/lightning_app.rst diff --git a/docs/source/core_api/lightning_flow.rst b/docs/source-app/core_api/lightning_flow.rst similarity index 100% rename from docs/source/core_api/lightning_flow.rst rename to docs/source-app/core_api/lightning_flow.rst diff --git a/docs/source/core_api/lightning_work/compute.rst b/docs/source-app/core_api/lightning_work/compute.rst similarity index 100% rename from docs/source/core_api/lightning_work/compute.rst rename to docs/source-app/core_api/lightning_work/compute.rst diff --git a/docs/source/core_api/lightning_work/compute_content.rst b/docs/source-app/core_api/lightning_work/compute_content.rst similarity index 100% rename from docs/source/core_api/lightning_work/compute_content.rst rename to docs/source-app/core_api/lightning_work/compute_content.rst diff --git a/docs/source/core_api/lightning_work/handling_app_exception.rst b/docs/source-app/core_api/lightning_work/handling_app_exception.rst similarity index 100% rename from docs/source/core_api/lightning_work/handling_app_exception.rst rename to docs/source-app/core_api/lightning_work/handling_app_exception.rst diff --git a/docs/source/core_api/lightning_work/handling_app_exception_content.rst b/docs/source-app/core_api/lightning_work/handling_app_exception_content.rst similarity index 100% rename from docs/source/core_api/lightning_work/handling_app_exception_content.rst rename to docs/source-app/core_api/lightning_work/handling_app_exception_content.rst diff --git a/docs/source/core_api/lightning_work/index.rst b/docs/source-app/core_api/lightning_work/index.rst similarity index 100% rename from docs/source/core_api/lightning_work/index.rst rename to docs/source-app/core_api/lightning_work/index.rst diff --git a/docs/source/core_api/lightning_work/lightning_work.rst b/docs/source-app/core_api/lightning_work/lightning_work.rst similarity index 100% rename from docs/source/core_api/lightning_work/lightning_work.rst rename to docs/source-app/core_api/lightning_work/lightning_work.rst diff --git a/docs/source/core_api/lightning_work/payload.rst b/docs/source-app/core_api/lightning_work/payload.rst similarity index 100% rename from docs/source/core_api/lightning_work/payload.rst rename to docs/source-app/core_api/lightning_work/payload.rst diff --git a/docs/source/core_api/lightning_work/payload_content.rst b/docs/source-app/core_api/lightning_work/payload_content.rst similarity index 100% rename from docs/source/core_api/lightning_work/payload_content.rst rename to docs/source-app/core_api/lightning_work/payload_content.rst diff --git a/docs/source/core_api/lightning_work/status.rst b/docs/source-app/core_api/lightning_work/status.rst similarity index 100% rename from docs/source/core_api/lightning_work/status.rst rename to docs/source-app/core_api/lightning_work/status.rst diff --git a/docs/source/core_api/lightning_work/status_content.rst b/docs/source-app/core_api/lightning_work/status_content.rst similarity index 100% rename from docs/source/core_api/lightning_work/status_content.rst rename to docs/source-app/core_api/lightning_work/status_content.rst diff --git a/docs/source/core_api/overview.rst b/docs/source-app/core_api/overview.rst similarity index 100% rename from docs/source/core_api/overview.rst rename to docs/source-app/core_api/overview.rst diff --git a/docs/source/examples/dag/dag.rst b/docs/source-app/examples/dag/dag.rst similarity index 100% rename from docs/source/examples/dag/dag.rst rename to docs/source-app/examples/dag/dag.rst diff --git a/docs/source/examples/dag/dag_from_scratch.rst b/docs/source-app/examples/dag/dag_from_scratch.rst similarity index 100% rename from docs/source/examples/dag/dag_from_scratch.rst rename to docs/source-app/examples/dag/dag_from_scratch.rst diff --git a/docs/source/examples/data_explore_app.rst b/docs/source-app/examples/data_explore_app.rst similarity index 100% rename from docs/source/examples/data_explore_app.rst rename to docs/source-app/examples/data_explore_app.rst diff --git a/docs/source/examples/etl_app.rst b/docs/source-app/examples/etl_app.rst similarity index 100% rename from docs/source/examples/etl_app.rst rename to docs/source-app/examples/etl_app.rst diff --git a/docs/source/examples/file_server/app.py b/docs/source-app/examples/file_server/app.py similarity index 99% rename from docs/source/examples/file_server/app.py rename to docs/source-app/examples/file_server/app.py index fa0a773779..3afba48469 100644 --- a/docs/source/examples/file_server/app.py +++ b/docs/source-app/examples/file_server/app.py @@ -229,7 +229,7 @@ from lightning.app.testing import run_app_in_cloud def test_file_server_in_cloud(): # You need to provide the directory containing the app file. - app_dir = "docs/source/examples/file_server" + app_dir = "docs/source-app/examples/file_server" with run_app_in_cloud(app_dir) as (admin_page, view_page, get_logs_fn, name): """# 1. `admin_page` and `view_page` are playwright Page Objects. diff --git a/docs/source/examples/file_server/file_server.rst b/docs/source-app/examples/file_server/file_server.rst similarity index 100% rename from docs/source/examples/file_server/file_server.rst rename to docs/source-app/examples/file_server/file_server.rst diff --git a/docs/source/examples/file_server/file_server_content.rst b/docs/source-app/examples/file_server/file_server_content.rst similarity index 100% rename from docs/source/examples/file_server/file_server_content.rst rename to docs/source-app/examples/file_server/file_server_content.rst diff --git a/docs/source/examples/file_server/file_server_step_1.rst b/docs/source-app/examples/file_server/file_server_step_1.rst similarity index 100% rename from docs/source/examples/file_server/file_server_step_1.rst rename to docs/source-app/examples/file_server/file_server_step_1.rst diff --git a/docs/source/examples/file_server/file_server_step_2.rst b/docs/source-app/examples/file_server/file_server_step_2.rst similarity index 100% rename from docs/source/examples/file_server/file_server_step_2.rst rename to docs/source-app/examples/file_server/file_server_step_2.rst diff --git a/docs/source/examples/file_server/file_server_step_3.rst b/docs/source-app/examples/file_server/file_server_step_3.rst similarity index 100% rename from docs/source/examples/file_server/file_server_step_3.rst rename to docs/source-app/examples/file_server/file_server_step_3.rst diff --git a/docs/source/examples/file_server/file_server_step_4.rst b/docs/source-app/examples/file_server/file_server_step_4.rst similarity index 100% rename from docs/source/examples/file_server/file_server_step_4.rst rename to docs/source-app/examples/file_server/file_server_step_4.rst diff --git a/docs/source/examples/github_repo_runner/app.py b/docs/source-app/examples/github_repo_runner/app.py similarity index 100% rename from docs/source/examples/github_repo_runner/app.py rename to docs/source-app/examples/github_repo_runner/app.py diff --git a/docs/source/examples/github_repo_runner/github_repo_runner.rst b/docs/source-app/examples/github_repo_runner/github_repo_runner.rst similarity index 100% rename from docs/source/examples/github_repo_runner/github_repo_runner.rst rename to docs/source-app/examples/github_repo_runner/github_repo_runner.rst diff --git a/docs/source/examples/github_repo_runner/github_repo_runner_content.rst b/docs/source-app/examples/github_repo_runner/github_repo_runner_content.rst similarity index 100% rename from docs/source/examples/github_repo_runner/github_repo_runner_content.rst rename to docs/source-app/examples/github_repo_runner/github_repo_runner_content.rst diff --git a/docs/source/examples/github_repo_runner/github_repo_runner_step_1.rst b/docs/source-app/examples/github_repo_runner/github_repo_runner_step_1.rst similarity index 100% rename from docs/source/examples/github_repo_runner/github_repo_runner_step_1.rst rename to docs/source-app/examples/github_repo_runner/github_repo_runner_step_1.rst diff --git a/docs/source/examples/github_repo_runner/github_repo_runner_step_2.rst b/docs/source-app/examples/github_repo_runner/github_repo_runner_step_2.rst similarity index 100% rename from docs/source/examples/github_repo_runner/github_repo_runner_step_2.rst rename to docs/source-app/examples/github_repo_runner/github_repo_runner_step_2.rst diff --git a/docs/source/examples/github_repo_runner/github_repo_runner_step_3.rst b/docs/source-app/examples/github_repo_runner/github_repo_runner_step_3.rst similarity index 100% rename from docs/source/examples/github_repo_runner/github_repo_runner_step_3.rst rename to docs/source-app/examples/github_repo_runner/github_repo_runner_step_3.rst diff --git a/docs/source/examples/github_repo_runner/github_repo_runner_step_4.rst b/docs/source-app/examples/github_repo_runner/github_repo_runner_step_4.rst similarity index 100% rename from docs/source/examples/github_repo_runner/github_repo_runner_step_4.rst rename to docs/source-app/examples/github_repo_runner/github_repo_runner_step_4.rst diff --git a/docs/source/examples/github_repo_runner/github_repo_runner_step_5.rst b/docs/source-app/examples/github_repo_runner/github_repo_runner_step_5.rst similarity index 100% rename from docs/source/examples/github_repo_runner/github_repo_runner_step_5.rst rename to docs/source-app/examples/github_repo_runner/github_repo_runner_step_5.rst diff --git a/docs/source/examples/hands_on_example.rst b/docs/source-app/examples/hands_on_example.rst similarity index 100% rename from docs/source/examples/hands_on_example.rst rename to docs/source-app/examples/hands_on_example.rst diff --git a/docs/source/examples/index.rst b/docs/source-app/examples/index.rst similarity index 100% rename from docs/source/examples/index.rst rename to docs/source-app/examples/index.rst diff --git a/docs/source/examples/model_server_app/app.py b/docs/source-app/examples/model_server_app/app.py similarity index 100% rename from docs/source/examples/model_server_app/app.py rename to docs/source-app/examples/model_server_app/app.py diff --git a/docs/source/examples/model_server_app/load_testing.rst b/docs/source-app/examples/model_server_app/load_testing.rst similarity index 100% rename from docs/source/examples/model_server_app/load_testing.rst rename to docs/source-app/examples/model_server_app/load_testing.rst diff --git a/docs/source/examples/model_server_app/locust_component.py b/docs/source-app/examples/model_server_app/locust_component.py similarity index 100% rename from docs/source/examples/model_server_app/locust_component.py rename to docs/source-app/examples/model_server_app/locust_component.py diff --git a/docs/source/examples/model_server_app/locustfile.py b/docs/source-app/examples/model_server_app/locustfile.py similarity index 100% rename from docs/source/examples/model_server_app/locustfile.py rename to docs/source-app/examples/model_server_app/locustfile.py diff --git a/docs/source/examples/model_server_app/model_server.py b/docs/source-app/examples/model_server_app/model_server.py similarity index 100% rename from docs/source/examples/model_server_app/model_server.py rename to docs/source-app/examples/model_server_app/model_server.py diff --git a/docs/source/examples/model_server_app/model_server.rst b/docs/source-app/examples/model_server_app/model_server.rst similarity index 100% rename from docs/source/examples/model_server_app/model_server.rst rename to docs/source-app/examples/model_server_app/model_server.rst diff --git a/docs/source/examples/model_server_app/model_server_app.rst b/docs/source-app/examples/model_server_app/model_server_app.rst similarity index 100% rename from docs/source/examples/model_server_app/model_server_app.rst rename to docs/source-app/examples/model_server_app/model_server_app.rst diff --git a/docs/source/examples/model_server_app/model_server_app_content.rst b/docs/source-app/examples/model_server_app/model_server_app_content.rst similarity index 100% rename from docs/source/examples/model_server_app/model_server_app_content.rst rename to docs/source-app/examples/model_server_app/model_server_app_content.rst diff --git a/docs/source/examples/model_server_app/putting_everything_together.rst b/docs/source-app/examples/model_server_app/putting_everything_together.rst similarity index 100% rename from docs/source/examples/model_server_app/putting_everything_together.rst rename to docs/source-app/examples/model_server_app/putting_everything_together.rst diff --git a/docs/source/examples/model_server_app/train.py b/docs/source-app/examples/model_server_app/train.py similarity index 100% rename from docs/source/examples/model_server_app/train.py rename to docs/source-app/examples/model_server_app/train.py diff --git a/docs/source/examples/model_server_app/train.rst b/docs/source-app/examples/model_server_app/train.rst similarity index 100% rename from docs/source/examples/model_server_app/train.rst rename to docs/source-app/examples/model_server_app/train.rst diff --git a/docs/source/examples/research_demo_app.rst b/docs/source-app/examples/research_demo_app.rst similarity index 100% rename from docs/source/examples/research_demo_app.rst rename to docs/source-app/examples/research_demo_app.rst diff --git a/docs/source/get_started/add_an_interactive_demo.rst b/docs/source-app/get_started/add_an_interactive_demo.rst similarity index 100% rename from docs/source/get_started/add_an_interactive_demo.rst rename to docs/source-app/get_started/add_an_interactive_demo.rst diff --git a/docs/source/get_started/build_model.rst b/docs/source-app/get_started/build_model.rst similarity index 100% rename from docs/source/get_started/build_model.rst rename to docs/source-app/get_started/build_model.rst diff --git a/docs/source/get_started/go_beyond_training.rst b/docs/source-app/get_started/go_beyond_training.rst similarity index 100% rename from docs/source/get_started/go_beyond_training.rst rename to docs/source-app/get_started/go_beyond_training.rst diff --git a/docs/source/get_started/go_beyond_training_content.rst b/docs/source-app/get_started/go_beyond_training_content.rst similarity index 100% rename from docs/source/get_started/go_beyond_training_content.rst rename to docs/source-app/get_started/go_beyond_training_content.rst diff --git a/docs/source/get_started/jumpstart_from_app_gallery.rst b/docs/source-app/get_started/jumpstart_from_app_gallery.rst similarity index 100% rename from docs/source/get_started/jumpstart_from_app_gallery.rst rename to docs/source-app/get_started/jumpstart_from_app_gallery.rst diff --git a/docs/source/get_started/jumpstart_from_component_gallery.rst b/docs/source-app/get_started/jumpstart_from_component_gallery.rst similarity index 100% rename from docs/source/get_started/jumpstart_from_component_gallery.rst rename to docs/source-app/get_started/jumpstart_from_component_gallery.rst diff --git a/docs/source/get_started/training_with_apps.rst b/docs/source-app/get_started/training_with_apps.rst similarity index 100% rename from docs/source/get_started/training_with_apps.rst rename to docs/source-app/get_started/training_with_apps.rst diff --git a/docs/source/get_started/what_app_can_do.rst b/docs/source-app/get_started/what_app_can_do.rst similarity index 100% rename from docs/source/get_started/what_app_can_do.rst rename to docs/source-app/get_started/what_app_can_do.rst diff --git a/docs/source/glossary/app_tree.rst b/docs/source-app/glossary/app_tree.rst similarity index 100% rename from docs/source/glossary/app_tree.rst rename to docs/source-app/glossary/app_tree.rst diff --git a/docs/source/glossary/aws_arn.rst b/docs/source-app/glossary/aws_arn.rst similarity index 100% rename from docs/source/glossary/aws_arn.rst rename to docs/source-app/glossary/aws_arn.rst diff --git a/docs/source/glossary/build_config/build_config.rst b/docs/source-app/glossary/build_config/build_config.rst similarity index 100% rename from docs/source/glossary/build_config/build_config.rst rename to docs/source-app/glossary/build_config/build_config.rst diff --git a/docs/source/glossary/build_config/build_config_advanced.rst b/docs/source-app/glossary/build_config/build_config_advanced.rst similarity index 100% rename from docs/source/glossary/build_config/build_config_advanced.rst rename to docs/source-app/glossary/build_config/build_config_advanced.rst diff --git a/docs/source/glossary/build_config/build_config_basic.rst b/docs/source-app/glossary/build_config/build_config_basic.rst similarity index 100% rename from docs/source/glossary/build_config/build_config_basic.rst rename to docs/source-app/glossary/build_config/build_config_basic.rst diff --git a/docs/source/glossary/build_config/build_config_intermediate.rst b/docs/source-app/glossary/build_config/build_config_intermediate.rst similarity index 100% rename from docs/source/glossary/build_config/build_config_intermediate.rst rename to docs/source-app/glossary/build_config/build_config_intermediate.rst diff --git a/docs/source/glossary/command_lines/command_lines.rst b/docs/source-app/glossary/command_lines/command_lines.rst similarity index 100% rename from docs/source/glossary/command_lines/command_lines.rst rename to docs/source-app/glossary/command_lines/command_lines.rst diff --git a/docs/source/glossary/dag.rst b/docs/source-app/glossary/dag.rst similarity index 100% rename from docs/source/glossary/dag.rst rename to docs/source-app/glossary/dag.rst diff --git a/docs/source/glossary/debug_app.rst b/docs/source-app/glossary/debug_app.rst similarity index 100% rename from docs/source/glossary/debug_app.rst rename to docs/source-app/glossary/debug_app.rst diff --git a/docs/source/glossary/distributed_fe.rst b/docs/source-app/glossary/distributed_fe.rst similarity index 100% rename from docs/source/glossary/distributed_fe.rst rename to docs/source-app/glossary/distributed_fe.rst diff --git a/docs/source/glossary/distributed_hardware.rst b/docs/source-app/glossary/distributed_hardware.rst similarity index 100% rename from docs/source/glossary/distributed_hardware.rst rename to docs/source-app/glossary/distributed_hardware.rst diff --git a/docs/source/glossary/environment_variables.rst b/docs/source-app/glossary/environment_variables.rst similarity index 100% rename from docs/source/glossary/environment_variables.rst rename to docs/source-app/glossary/environment_variables.rst diff --git a/docs/source/glossary/event_loop.rst b/docs/source-app/glossary/event_loop.rst similarity index 100% rename from docs/source/glossary/event_loop.rst rename to docs/source-app/glossary/event_loop.rst diff --git a/docs/source/glossary/fault_tolerance.rst b/docs/source-app/glossary/fault_tolerance.rst similarity index 100% rename from docs/source/glossary/fault_tolerance.rst rename to docs/source-app/glossary/fault_tolerance.rst diff --git a/docs/source/glossary/index.rst b/docs/source-app/glossary/index.rst similarity index 100% rename from docs/source/glossary/index.rst rename to docs/source-app/glossary/index.rst diff --git a/docs/source/glossary/ios_and_android.rst b/docs/source-app/glossary/ios_and_android.rst similarity index 100% rename from docs/source/glossary/ios_and_android.rst rename to docs/source-app/glossary/ios_and_android.rst diff --git a/docs/source/glossary/lightning_app_overview/index.rst b/docs/source-app/glossary/lightning_app_overview/index.rst similarity index 100% rename from docs/source/glossary/lightning_app_overview/index.rst rename to docs/source-app/glossary/lightning_app_overview/index.rst diff --git a/docs/source/glossary/mount.rst b/docs/source-app/glossary/mount.rst similarity index 100% rename from docs/source/glossary/mount.rst rename to docs/source-app/glossary/mount.rst diff --git a/docs/source/glossary/restful_api/restful_api.rst b/docs/source-app/glossary/restful_api/restful_api.rst similarity index 100% rename from docs/source/glossary/restful_api/restful_api.rst rename to docs/source-app/glossary/restful_api/restful_api.rst diff --git a/docs/source/glossary/scheduling.rst b/docs/source-app/glossary/scheduling.rst similarity index 100% rename from docs/source/glossary/scheduling.rst rename to docs/source-app/glossary/scheduling.rst diff --git a/docs/source/glossary/secrets.rst b/docs/source-app/glossary/secrets.rst similarity index 100% rename from docs/source/glossary/secrets.rst rename to docs/source-app/glossary/secrets.rst diff --git a/docs/source/glossary/sharing_components.rst b/docs/source-app/glossary/sharing_components.rst similarity index 100% rename from docs/source/glossary/sharing_components.rst rename to docs/source-app/glossary/sharing_components.rst diff --git a/docs/source/glossary/storage/differences.rst b/docs/source-app/glossary/storage/differences.rst similarity index 100% rename from docs/source/glossary/storage/differences.rst rename to docs/source-app/glossary/storage/differences.rst diff --git a/docs/source/glossary/storage/drive.rst b/docs/source-app/glossary/storage/drive.rst similarity index 100% rename from docs/source/glossary/storage/drive.rst rename to docs/source-app/glossary/storage/drive.rst diff --git a/docs/source/glossary/storage/drive_content.rst b/docs/source-app/glossary/storage/drive_content.rst similarity index 100% rename from docs/source/glossary/storage/drive_content.rst rename to docs/source-app/glossary/storage/drive_content.rst diff --git a/docs/source/glossary/storage/drive_content_old.rst b/docs/source-app/glossary/storage/drive_content_old.rst similarity index 100% rename from docs/source/glossary/storage/drive_content_old.rst rename to docs/source-app/glossary/storage/drive_content_old.rst diff --git a/docs/source/glossary/storage/path.rst b/docs/source-app/glossary/storage/path.rst similarity index 100% rename from docs/source/glossary/storage/path.rst rename to docs/source-app/glossary/storage/path.rst diff --git a/docs/source/glossary/storage/storage.rst b/docs/source-app/glossary/storage/storage.rst similarity index 100% rename from docs/source/glossary/storage/storage.rst rename to docs/source-app/glossary/storage/storage.rst diff --git a/docs/source/glossary/use_local_lightning.rst b/docs/source-app/glossary/use_local_lightning.rst similarity index 100% rename from docs/source/glossary/use_local_lightning.rst rename to docs/source-app/glossary/use_local_lightning.rst diff --git a/docs/source/index.rst b/docs/source-app/index.rst similarity index 100% rename from docs/source/index.rst rename to docs/source-app/index.rst diff --git a/docs/source/install/install_beginner.rst b/docs/source-app/install/install_beginner.rst similarity index 100% rename from docs/source/install/install_beginner.rst rename to docs/source-app/install/install_beginner.rst diff --git a/docs/source/install/installation.rst b/docs/source-app/install/installation.rst similarity index 100% rename from docs/source/install/installation.rst rename to docs/source-app/install/installation.rst diff --git a/docs/source/install/mac.bash b/docs/source-app/install/mac.bash similarity index 100% rename from docs/source/install/mac.bash rename to docs/source-app/install/mac.bash diff --git a/docs/source/install/pip.bash b/docs/source-app/install/pip.bash similarity index 100% rename from docs/source/install/pip.bash rename to docs/source-app/install/pip.bash diff --git a/docs/source/install/windows.bash b/docs/source-app/install/windows.bash similarity index 100% rename from docs/source/install/windows.bash rename to docs/source-app/install/windows.bash diff --git a/docs/source/intro.rst b/docs/source-app/intro.rst similarity index 100% rename from docs/source/intro.rst rename to docs/source-app/intro.rst diff --git a/docs/source/landing_app.py b/docs/source-app/landing_app.py similarity index 100% rename from docs/source/landing_app.py rename to docs/source-app/landing_app.py diff --git a/docs/source/landing_app_run.bash b/docs/source-app/landing_app_run.bash similarity index 100% rename from docs/source/landing_app_run.bash rename to docs/source-app/landing_app_run.bash diff --git a/docs/source/levels/advanced/index.rst b/docs/source-app/levels/advanced/index.rst similarity index 100% rename from docs/source/levels/advanced/index.rst rename to docs/source-app/levels/advanced/index.rst diff --git a/docs/source/levels/advanced/level_16.rst b/docs/source-app/levels/advanced/level_16.rst similarity index 100% rename from docs/source/levels/advanced/level_16.rst rename to docs/source-app/levels/advanced/level_16.rst diff --git a/docs/source/levels/advanced/level_17.rst b/docs/source-app/levels/advanced/level_17.rst similarity index 100% rename from docs/source/levels/advanced/level_17.rst rename to docs/source-app/levels/advanced/level_17.rst diff --git a/docs/source/levels/advanced/level_18.rst b/docs/source-app/levels/advanced/level_18.rst similarity index 100% rename from docs/source/levels/advanced/level_18.rst rename to docs/source-app/levels/advanced/level_18.rst diff --git a/docs/source/levels/advanced/level_19.rst b/docs/source-app/levels/advanced/level_19.rst similarity index 100% rename from docs/source/levels/advanced/level_19.rst rename to docs/source-app/levels/advanced/level_19.rst diff --git a/docs/source/levels/advanced/level_20.rst b/docs/source-app/levels/advanced/level_20.rst similarity index 100% rename from docs/source/levels/advanced/level_20.rst rename to docs/source-app/levels/advanced/level_20.rst diff --git a/docs/source/levels/advanced/start_dynamic_components.rst b/docs/source-app/levels/advanced/start_dynamic_components.rst similarity index 100% rename from docs/source/levels/advanced/start_dynamic_components.rst rename to docs/source-app/levels/advanced/start_dynamic_components.rst diff --git a/docs/source/levels/basic/build_a_dag.rst b/docs/source-app/levels/basic/build_a_dag.rst similarity index 100% rename from docs/source/levels/basic/build_a_dag.rst rename to docs/source-app/levels/basic/build_a_dag.rst diff --git a/docs/source/levels/basic/build_a_lightning_component.rst b/docs/source-app/levels/basic/build_a_lightning_component.rst similarity index 100% rename from docs/source/levels/basic/build_a_lightning_component.rst rename to docs/source-app/levels/basic/build_a_lightning_component.rst diff --git a/docs/source/levels/basic/create_a_model_demo.rst b/docs/source-app/levels/basic/create_a_model_demo.rst similarity index 100% rename from docs/source/levels/basic/create_a_model_demo.rst rename to docs/source-app/levels/basic/create_a_model_demo.rst diff --git a/docs/source/levels/basic/deploy_ai_model_api.rst b/docs/source-app/levels/basic/deploy_ai_model_api.rst similarity index 100% rename from docs/source/levels/basic/deploy_ai_model_api.rst rename to docs/source-app/levels/basic/deploy_ai_model_api.rst diff --git a/docs/source/levels/basic/hello_components/code_run_cloud.bash b/docs/source-app/levels/basic/hello_components/code_run_cloud.bash similarity index 100% rename from docs/source/levels/basic/hello_components/code_run_cloud.bash rename to docs/source-app/levels/basic/hello_components/code_run_cloud.bash diff --git a/docs/source/levels/basic/hello_components/code_run_cloud_setup.bash b/docs/source-app/levels/basic/hello_components/code_run_cloud_setup.bash similarity index 100% rename from docs/source/levels/basic/hello_components/code_run_cloud_setup.bash rename to docs/source-app/levels/basic/hello_components/code_run_cloud_setup.bash diff --git a/docs/source/levels/basic/hello_components/code_run_cloud_yours.bash b/docs/source-app/levels/basic/hello_components/code_run_cloud_yours.bash similarity index 100% rename from docs/source/levels/basic/hello_components/code_run_cloud_yours.bash rename to docs/source-app/levels/basic/hello_components/code_run_cloud_yours.bash diff --git a/docs/source/levels/basic/hello_components/code_run_cloud_yours_setup.bash b/docs/source-app/levels/basic/hello_components/code_run_cloud_yours_setup.bash similarity index 100% rename from docs/source/levels/basic/hello_components/code_run_cloud_yours_setup.bash rename to docs/source-app/levels/basic/hello_components/code_run_cloud_yours_setup.bash diff --git a/docs/source/levels/basic/hello_components/code_run_local.bash b/docs/source-app/levels/basic/hello_components/code_run_local.bash similarity index 100% rename from docs/source/levels/basic/hello_components/code_run_local.bash rename to docs/source-app/levels/basic/hello_components/code_run_local.bash diff --git a/docs/source/levels/basic/hello_components/code_run_local_setup.bash b/docs/source-app/levels/basic/hello_components/code_run_local_setup.bash similarity index 100% rename from docs/source/levels/basic/hello_components/code_run_local_setup.bash rename to docs/source-app/levels/basic/hello_components/code_run_local_setup.bash diff --git a/docs/source/levels/basic/hello_components/deploy_model.py b/docs/source-app/levels/basic/hello_components/deploy_model.py similarity index 100% rename from docs/source/levels/basic/hello_components/deploy_model.py rename to docs/source-app/levels/basic/hello_components/deploy_model.py diff --git a/docs/source/levels/basic/hello_components/hello_world.py b/docs/source-app/levels/basic/hello_components/hello_world.py similarity index 100% rename from docs/source/levels/basic/hello_components/hello_world.py rename to docs/source-app/levels/basic/hello_components/hello_world.py diff --git a/docs/source/levels/basic/hello_components/hello_world_gpu.py b/docs/source-app/levels/basic/hello_components/hello_world_gpu.py similarity index 100% rename from docs/source/levels/basic/hello_components/hello_world_gpu.py rename to docs/source-app/levels/basic/hello_components/hello_world_gpu.py diff --git a/docs/source/levels/basic/hello_components/multi_node.py b/docs/source-app/levels/basic/hello_components/multi_node.py similarity index 100% rename from docs/source/levels/basic/hello_components/multi_node.py rename to docs/source-app/levels/basic/hello_components/multi_node.py diff --git a/docs/source/levels/basic/hello_components/pl_multinode.py b/docs/source-app/levels/basic/hello_components/pl_multinode.py similarity index 100% rename from docs/source/levels/basic/hello_components/pl_multinode.py rename to docs/source-app/levels/basic/hello_components/pl_multinode.py diff --git a/docs/source/levels/basic/hello_components/pt_multinode.py b/docs/source-app/levels/basic/hello_components/pt_multinode.py similarity index 100% rename from docs/source/levels/basic/hello_components/pt_multinode.py rename to docs/source-app/levels/basic/hello_components/pt_multinode.py diff --git a/docs/source/levels/basic/hello_components/run_ptl_script.py b/docs/source-app/levels/basic/hello_components/run_ptl_script.py similarity index 100% rename from docs/source/levels/basic/hello_components/run_ptl_script.py rename to docs/source-app/levels/basic/hello_components/run_ptl_script.py diff --git a/docs/source/levels/basic/hello_components/streamlit_demo.py b/docs/source-app/levels/basic/hello_components/streamlit_demo.py similarity index 100% rename from docs/source/levels/basic/hello_components/streamlit_demo.py rename to docs/source-app/levels/basic/hello_components/streamlit_demo.py diff --git a/docs/source/levels/basic/hello_components/terraform_example.bash b/docs/source-app/levels/basic/hello_components/terraform_example.bash similarity index 100% rename from docs/source/levels/basic/hello_components/terraform_example.bash rename to docs/source-app/levels/basic/hello_components/terraform_example.bash diff --git a/docs/source/levels/basic/hello_components/train_ptl.py b/docs/source-app/levels/basic/hello_components/train_ptl.py similarity index 100% rename from docs/source/levels/basic/hello_components/train_ptl.py rename to docs/source-app/levels/basic/hello_components/train_ptl.py diff --git a/docs/source/levels/basic/hello_components/train_pytorch.py b/docs/source-app/levels/basic/hello_components/train_pytorch.py similarity index 100% rename from docs/source/levels/basic/hello_components/train_pytorch.py rename to docs/source-app/levels/basic/hello_components/train_pytorch.py diff --git a/docs/source/levels/basic/hello_components/xgboost.py b/docs/source-app/levels/basic/hello_components/xgboost.py similarity index 100% rename from docs/source/levels/basic/hello_components/xgboost.py rename to docs/source-app/levels/basic/hello_components/xgboost.py diff --git a/docs/source/levels/basic/hello_components/xgboost_gpu.py b/docs/source-app/levels/basic/hello_components/xgboost_gpu.py similarity index 100% rename from docs/source/levels/basic/hello_components/xgboost_gpu.py rename to docs/source-app/levels/basic/hello_components/xgboost_gpu.py diff --git a/docs/source/levels/basic/hero_components.rst b/docs/source-app/levels/basic/hero_components.rst similarity index 100% rename from docs/source/levels/basic/hero_components.rst rename to docs/source-app/levels/basic/hero_components.rst diff --git a/docs/source/levels/basic/hero_run.rst b/docs/source-app/levels/basic/hero_run.rst similarity index 100% rename from docs/source/levels/basic/hero_run.rst rename to docs/source-app/levels/basic/hero_run.rst diff --git a/docs/source/levels/basic/hero_run_setup.rst b/docs/source-app/levels/basic/hero_run_setup.rst similarity index 100% rename from docs/source/levels/basic/hero_run_setup.rst rename to docs/source-app/levels/basic/hero_run_setup.rst diff --git a/docs/source/levels/basic/index.rst b/docs/source-app/levels/basic/index.rst similarity index 100% rename from docs/source/levels/basic/index.rst rename to docs/source-app/levels/basic/index.rst diff --git a/docs/source/levels/basic/key_features/accelerators.py b/docs/source-app/levels/basic/key_features/accelerators.py similarity index 100% rename from docs/source/levels/basic/key_features/accelerators.py rename to docs/source-app/levels/basic/key_features/accelerators.py diff --git a/docs/source/levels/basic/key_features/auto_timeout.py b/docs/source-app/levels/basic/key_features/auto_timeout.py similarity index 100% rename from docs/source/levels/basic/key_features/auto_timeout.py rename to docs/source-app/levels/basic/key_features/auto_timeout.py diff --git a/docs/source/levels/basic/key_features/custom_container.py b/docs/source-app/levels/basic/key_features/custom_container.py similarity index 100% rename from docs/source/levels/basic/key_features/custom_container.py rename to docs/source-app/levels/basic/key_features/custom_container.py diff --git a/docs/source/levels/basic/key_features/idle_machine.py b/docs/source-app/levels/basic/key_features/idle_machine.py similarity index 100% rename from docs/source/levels/basic/key_features/idle_machine.py rename to docs/source-app/levels/basic/key_features/idle_machine.py diff --git a/docs/source/levels/basic/key_features/massive_dataset.py b/docs/source-app/levels/basic/key_features/massive_dataset.py similarity index 100% rename from docs/source/levels/basic/key_features/massive_dataset.py rename to docs/source-app/levels/basic/key_features/massive_dataset.py diff --git a/docs/source/levels/basic/key_features/mount_data.py b/docs/source-app/levels/basic/key_features/mount_data.py similarity index 100% rename from docs/source/levels/basic/key_features/mount_data.py rename to docs/source-app/levels/basic/key_features/mount_data.py diff --git a/docs/source/levels/basic/key_features/spot.py b/docs/source-app/levels/basic/key_features/spot.py similarity index 100% rename from docs/source/levels/basic/key_features/spot.py rename to docs/source-app/levels/basic/key_features/spot.py diff --git a/docs/source/levels/basic/real_lightning_component_implementations.rst b/docs/source-app/levels/basic/real_lightning_component_implementations.rst similarity index 100% rename from docs/source/levels/basic/real_lightning_component_implementations.rst rename to docs/source-app/levels/basic/real_lightning_component_implementations.rst diff --git a/docs/source/levels/basic/run_jupyter_notebook_on_the_cloud.rst b/docs/source-app/levels/basic/run_jupyter_notebook_on_the_cloud.rst similarity index 100% rename from docs/source/levels/basic/run_jupyter_notebook_on_the_cloud.rst rename to docs/source-app/levels/basic/run_jupyter_notebook_on_the_cloud.rst diff --git a/docs/source/levels/basic/run_on_aws_account.rst b/docs/source-app/levels/basic/run_on_aws_account.rst similarity index 100% rename from docs/source/levels/basic/run_on_aws_account.rst rename to docs/source-app/levels/basic/run_on_aws_account.rst diff --git a/docs/source/levels/basic/save_money_on_cloud_costs.rst b/docs/source-app/levels/basic/save_money_on_cloud_costs.rst similarity index 100% rename from docs/source/levels/basic/save_money_on_cloud_costs.rst rename to docs/source-app/levels/basic/save_money_on_cloud_costs.rst diff --git a/docs/source/levels/basic/scripts/toy_app_1_component.py b/docs/source-app/levels/basic/scripts/toy_app_1_component.py similarity index 100% rename from docs/source/levels/basic/scripts/toy_app_1_component.py rename to docs/source-app/levels/basic/scripts/toy_app_1_component.py diff --git a/docs/source/levels/basic/scripts/toy_app_1_component_pdb.py b/docs/source-app/levels/basic/scripts/toy_app_1_component_pdb.py similarity index 100% rename from docs/source/levels/basic/scripts/toy_app_1_component_pdb.py rename to docs/source-app/levels/basic/scripts/toy_app_1_component_pdb.py diff --git a/docs/source/levels/basic/train_pytorch_on_the_cloud.rst b/docs/source-app/levels/basic/train_pytorch_on_the_cloud.rst similarity index 100% rename from docs/source/levels/basic/train_pytorch_on_the_cloud.rst rename to docs/source-app/levels/basic/train_pytorch_on_the_cloud.rst diff --git a/docs/source/levels/expert/index.rst b/docs/source-app/levels/expert/index.rst similarity index 100% rename from docs/source/levels/expert/index.rst rename to docs/source-app/levels/expert/index.rst diff --git a/docs/source/levels/intermediate/connect_lightning_components.rst b/docs/source-app/levels/intermediate/connect_lightning_components.rst similarity index 100% rename from docs/source/levels/intermediate/connect_lightning_components.rst rename to docs/source-app/levels/intermediate/connect_lightning_components.rst diff --git a/docs/source/levels/intermediate/debug_a_lightning_app.rst b/docs/source-app/levels/intermediate/debug_a_lightning_app.rst similarity index 100% rename from docs/source/levels/intermediate/debug_a_lightning_app.rst rename to docs/source-app/levels/intermediate/debug_a_lightning_app.rst diff --git a/docs/source/levels/intermediate/debug_app_scripts/debug_app.py b/docs/source-app/levels/intermediate/debug_app_scripts/debug_app.py similarity index 100% rename from docs/source/levels/intermediate/debug_app_scripts/debug_app.py rename to docs/source-app/levels/intermediate/debug_app_scripts/debug_app.py diff --git a/docs/source/levels/intermediate/debug_app_scripts/toy_app.py b/docs/source-app/levels/intermediate/debug_app_scripts/toy_app.py similarity index 100% rename from docs/source/levels/intermediate/debug_app_scripts/toy_app.py rename to docs/source-app/levels/intermediate/debug_app_scripts/toy_app.py diff --git a/docs/source/levels/intermediate/debug_app_scripts/toy_app_1_component.py b/docs/source-app/levels/intermediate/debug_app_scripts/toy_app_1_component.py similarity index 100% rename from docs/source/levels/intermediate/debug_app_scripts/toy_app_1_component.py rename to docs/source-app/levels/intermediate/debug_app_scripts/toy_app_1_component.py diff --git a/docs/source/levels/intermediate/debug_app_scripts/toy_app_1_component_pdb.py b/docs/source-app/levels/intermediate/debug_app_scripts/toy_app_1_component_pdb.py similarity index 100% rename from docs/source/levels/intermediate/debug_app_scripts/toy_app_1_component_pdb.py rename to docs/source-app/levels/intermediate/debug_app_scripts/toy_app_1_component_pdb.py diff --git a/docs/source/levels/intermediate/embed_web_ui_into_lightningwork.rst b/docs/source-app/levels/intermediate/embed_web_ui_into_lightningwork.rst similarity index 100% rename from docs/source/levels/intermediate/embed_web_ui_into_lightningwork.rst rename to docs/source-app/levels/intermediate/embed_web_ui_into_lightningwork.rst diff --git a/docs/source/levels/intermediate/index.rst b/docs/source-app/levels/intermediate/index.rst similarity index 100% rename from docs/source/levels/intermediate/index.rst rename to docs/source-app/levels/intermediate/index.rst diff --git a/docs/source/levels/intermediate/level_12.rst b/docs/source-app/levels/intermediate/level_12.rst similarity index 100% rename from docs/source/levels/intermediate/level_12.rst rename to docs/source-app/levels/intermediate/level_12.rst diff --git a/docs/source/levels/intermediate/level_2_scripts/code_run_cloud.bash b/docs/source-app/levels/intermediate/level_2_scripts/code_run_cloud.bash similarity index 100% rename from docs/source/levels/intermediate/level_2_scripts/code_run_cloud.bash rename to docs/source-app/levels/intermediate/level_2_scripts/code_run_cloud.bash diff --git a/docs/source/levels/intermediate/level_2_scripts/code_run_local.bash b/docs/source-app/levels/intermediate/level_2_scripts/code_run_local.bash similarity index 100% rename from docs/source/levels/intermediate/level_2_scripts/code_run_local.bash rename to docs/source-app/levels/intermediate/level_2_scripts/code_run_local.bash diff --git a/docs/source/levels/intermediate/level_2_scripts/hello_app.py b/docs/source-app/levels/intermediate/level_2_scripts/hello_app.py similarity index 100% rename from docs/source/levels/intermediate/level_2_scripts/hello_app.py rename to docs/source-app/levels/intermediate/level_2_scripts/hello_app.py diff --git a/docs/source/levels/intermediate/level_2_scripts/hello_app_auto_scale.py b/docs/source-app/levels/intermediate/level_2_scripts/hello_app_auto_scale.py similarity index 100% rename from docs/source/levels/intermediate/level_2_scripts/hello_app_auto_scale.py rename to docs/source-app/levels/intermediate/level_2_scripts/hello_app_auto_scale.py diff --git a/docs/source/levels/intermediate/level_2_scripts/hello_app_cron.py b/docs/source-app/levels/intermediate/level_2_scripts/hello_app_cron.py similarity index 100% rename from docs/source/levels/intermediate/level_2_scripts/hello_app_cron.py rename to docs/source-app/levels/intermediate/level_2_scripts/hello_app_cron.py diff --git a/docs/source/levels/intermediate/level_2_scripts/hello_app_scheduler.py b/docs/source-app/levels/intermediate/level_2_scripts/hello_app_scheduler.py similarity index 100% rename from docs/source/levels/intermediate/level_2_scripts/hello_app_scheduler.py rename to docs/source-app/levels/intermediate/level_2_scripts/hello_app_scheduler.py diff --git a/docs/source/levels/intermediate/level_2_scripts/multi_cloud.bash b/docs/source-app/levels/intermediate/level_2_scripts/multi_cloud.bash similarity index 100% rename from docs/source/levels/intermediate/level_2_scripts/multi_cloud.bash rename to docs/source-app/levels/intermediate/level_2_scripts/multi_cloud.bash diff --git a/docs/source/levels/intermediate/level_2_scripts/organized_app_python.py b/docs/source-app/levels/intermediate/level_2_scripts/organized_app_python.py similarity index 100% rename from docs/source/levels/intermediate/level_2_scripts/organized_app_python.py rename to docs/source-app/levels/intermediate/level_2_scripts/organized_app_python.py diff --git a/docs/source/levels/intermediate/level_2_scripts/tr.bash b/docs/source-app/levels/intermediate/level_2_scripts/tr.bash similarity index 100% rename from docs/source/levels/intermediate/level_2_scripts/tr.bash rename to docs/source-app/levels/intermediate/level_2_scripts/tr.bash diff --git a/docs/source/levels/intermediate/level_9.rst b/docs/source-app/levels/intermediate/level_9.rst similarity index 100% rename from docs/source/levels/intermediate/level_9.rst rename to docs/source-app/levels/intermediate/level_9.rst diff --git a/docs/source/levels/intermediate/run_lightning_work_in_parallel.rst b/docs/source-app/levels/intermediate/run_lightning_work_in_parallel.rst similarity index 100% rename from docs/source/levels/intermediate/run_lightning_work_in_parallel.rst rename to docs/source-app/levels/intermediate/run_lightning_work_in_parallel.rst diff --git a/docs/source/levels/intermediate/scripts/.storage/a b/docs/source-app/levels/intermediate/scripts/.storage/a similarity index 100% rename from docs/source/levels/intermediate/scripts/.storage/a rename to docs/source-app/levels/intermediate/scripts/.storage/a diff --git a/docs/source/levels/intermediate/scripts/.storage/embeddings b/docs/source-app/levels/intermediate/scripts/.storage/embeddings similarity index 100% rename from docs/source/levels/intermediate/scripts/.storage/embeddings rename to docs/source-app/levels/intermediate/scripts/.storage/embeddings diff --git a/docs/source/levels/intermediate/scripts/a b/docs/source-app/levels/intermediate/scripts/a similarity index 100% rename from docs/source/levels/intermediate/scripts/a rename to docs/source-app/levels/intermediate/scripts/a diff --git a/docs/source/levels/intermediate/scripts/comms_1.py b/docs/source-app/levels/intermediate/scripts/comms_1.py similarity index 100% rename from docs/source/levels/intermediate/scripts/comms_1.py rename to docs/source-app/levels/intermediate/scripts/comms_1.py diff --git a/docs/source/levels/intermediate/scripts/debug_app.py b/docs/source-app/levels/intermediate/scripts/debug_app.py similarity index 100% rename from docs/source/levels/intermediate/scripts/debug_app.py rename to docs/source-app/levels/intermediate/scripts/debug_app.py diff --git a/docs/source/levels/intermediate/scripts/embeddings b/docs/source-app/levels/intermediate/scripts/embeddings similarity index 100% rename from docs/source/levels/intermediate/scripts/embeddings rename to docs/source-app/levels/intermediate/scripts/embeddings diff --git a/docs/source/levels/intermediate/scripts/toy_app.py b/docs/source-app/levels/intermediate/scripts/toy_app.py similarity index 100% rename from docs/source/levels/intermediate/scripts/toy_app.py rename to docs/source-app/levels/intermediate/scripts/toy_app.py diff --git a/docs/source/levels/intermediate/scripts/toy_payload.py b/docs/source-app/levels/intermediate/scripts/toy_payload.py similarity index 100% rename from docs/source/levels/intermediate/scripts/toy_payload.py rename to docs/source-app/levels/intermediate/scripts/toy_payload.py diff --git a/docs/source/levels/intermediate/scripts/two_comms_non_ml.py b/docs/source-app/levels/intermediate/scripts/two_comms_non_ml.py similarity index 100% rename from docs/source/levels/intermediate/scripts/two_comms_non_ml.py rename to docs/source-app/levels/intermediate/scripts/two_comms_non_ml.py diff --git a/docs/source/levels/intermediate/scripts/two_work_comms.py b/docs/source-app/levels/intermediate/scripts/two_work_comms.py similarity index 100% rename from docs/source/levels/intermediate/scripts/two_work_comms.py rename to docs/source-app/levels/intermediate/scripts/two_work_comms.py diff --git a/docs/source/levels/intermediate/share_files_between_components.rst b/docs/source-app/levels/intermediate/share_files_between_components.rst similarity index 100% rename from docs/source/levels/intermediate/share_files_between_components.rst rename to docs/source-app/levels/intermediate/share_files_between_components.rst diff --git a/docs/source/levels/intermediate/share_variables_between_lightning_components.rst b/docs/source-app/levels/intermediate/share_variables_between_lightning_components.rst similarity index 100% rename from docs/source/levels/intermediate/share_variables_between_lightning_components.rst rename to docs/source-app/levels/intermediate/share_variables_between_lightning_components.rst diff --git a/docs/source/levels/intermediate/start_from_lightning_app_templates.rst b/docs/source-app/levels/intermediate/start_from_lightning_app_templates.rst similarity index 100% rename from docs/source/levels/intermediate/start_from_lightning_app_templates.rst rename to docs/source-app/levels/intermediate/start_from_lightning_app_templates.rst diff --git a/docs/source/make.bat b/docs/source-app/make.bat similarity index 100% rename from docs/source/make.bat rename to docs/source-app/make.bat diff --git a/docs/source/moving_to_the_cloud.rst b/docs/source-app/moving_to_the_cloud.rst similarity index 100% rename from docs/source/moving_to_the_cloud.rst rename to docs/source-app/moving_to_the_cloud.rst diff --git a/docs/source/quickstart.rst b/docs/source-app/quickstart.rst similarity index 100% rename from docs/source/quickstart.rst rename to docs/source-app/quickstart.rst diff --git a/docs/source/testing.rst b/docs/source-app/testing.rst similarity index 100% rename from docs/source/testing.rst rename to docs/source-app/testing.rst diff --git a/docs/source/ui_and_frontends.rst b/docs/source-app/ui_and_frontends.rst similarity index 100% rename from docs/source/ui_and_frontends.rst rename to docs/source-app/ui_and_frontends.rst diff --git a/docs/source/workflows/access_app_state/access_app_state.rst b/docs/source-app/workflows/access_app_state/access_app_state.rst similarity index 100% rename from docs/source/workflows/access_app_state/access_app_state.rst rename to docs/source-app/workflows/access_app_state/access_app_state.rst diff --git a/docs/source/workflows/add_components/index.rst b/docs/source-app/workflows/add_components/index.rst similarity index 100% rename from docs/source/workflows/add_components/index.rst rename to docs/source-app/workflows/add_components/index.rst diff --git a/docs/source/workflows/add_server/any_server.rst b/docs/source-app/workflows/add_server/any_server.rst similarity index 100% rename from docs/source/workflows/add_server/any_server.rst rename to docs/source-app/workflows/add_server/any_server.rst diff --git a/docs/source/workflows/add_server/flask_basic.rst b/docs/source-app/workflows/add_server/flask_basic.rst similarity index 100% rename from docs/source/workflows/add_server/flask_basic.rst rename to docs/source-app/workflows/add_server/flask_basic.rst diff --git a/docs/source/workflows/add_server/index.rst b/docs/source-app/workflows/add_server/index.rst similarity index 100% rename from docs/source/workflows/add_server/index.rst rename to docs/source-app/workflows/add_server/index.rst diff --git a/docs/source/workflows/add_server/index_content.rst b/docs/source-app/workflows/add_server/index_content.rst similarity index 100% rename from docs/source/workflows/add_server/index_content.rst rename to docs/source-app/workflows/add_server/index_content.rst diff --git a/docs/source/workflows/add_web_link.rst b/docs/source-app/workflows/add_web_link.rst similarity index 100% rename from docs/source/workflows/add_web_link.rst rename to docs/source-app/workflows/add_web_link.rst diff --git a/docs/source/workflows/add_web_ui/angular_js_intermediate.rst b/docs/source-app/workflows/add_web_ui/angular_js_intermediate.rst similarity index 100% rename from docs/source/workflows/add_web_ui/angular_js_intermediate.rst rename to docs/source-app/workflows/add_web_ui/angular_js_intermediate.rst diff --git a/docs/source/workflows/add_web_ui/dash/basic.rst b/docs/source-app/workflows/add_web_ui/dash/basic.rst similarity index 100% rename from docs/source/workflows/add_web_ui/dash/basic.rst rename to docs/source-app/workflows/add_web_ui/dash/basic.rst diff --git a/docs/source/workflows/add_web_ui/dash/index.rst b/docs/source-app/workflows/add_web_ui/dash/index.rst similarity index 100% rename from docs/source/workflows/add_web_ui/dash/index.rst rename to docs/source-app/workflows/add_web_ui/dash/index.rst diff --git a/docs/source/workflows/add_web_ui/dash/intermediate.rst b/docs/source-app/workflows/add_web_ui/dash/intermediate.rst similarity index 100% rename from docs/source/workflows/add_web_ui/dash/intermediate.rst rename to docs/source-app/workflows/add_web_ui/dash/intermediate.rst diff --git a/docs/source/workflows/add_web_ui/dash/intermediate_plot.py b/docs/source-app/workflows/add_web_ui/dash/intermediate_plot.py similarity index 100% rename from docs/source/workflows/add_web_ui/dash/intermediate_plot.py rename to docs/source-app/workflows/add_web_ui/dash/intermediate_plot.py diff --git a/docs/source/workflows/add_web_ui/dash/intermediate_state.py b/docs/source-app/workflows/add_web_ui/dash/intermediate_state.py similarity index 100% rename from docs/source/workflows/add_web_ui/dash/intermediate_state.py rename to docs/source-app/workflows/add_web_ui/dash/intermediate_state.py diff --git a/docs/source/workflows/add_web_ui/example_app.rst b/docs/source-app/workflows/add_web_ui/example_app.rst similarity index 100% rename from docs/source/workflows/add_web_ui/example_app.rst rename to docs/source-app/workflows/add_web_ui/example_app.rst diff --git a/docs/source/workflows/add_web_ui/glossary_front_end.rst b/docs/source-app/workflows/add_web_ui/glossary_front_end.rst similarity index 100% rename from docs/source/workflows/add_web_ui/glossary_front_end.rst rename to docs/source-app/workflows/add_web_ui/glossary_front_end.rst diff --git a/docs/source/workflows/add_web_ui/glossary_ui.rst b/docs/source-app/workflows/add_web_ui/glossary_ui.rst similarity index 100% rename from docs/source/workflows/add_web_ui/glossary_ui.rst rename to docs/source-app/workflows/add_web_ui/glossary_ui.rst diff --git a/docs/source/workflows/add_web_ui/gradio/basic.rst b/docs/source-app/workflows/add_web_ui/gradio/basic.rst similarity index 100% rename from docs/source/workflows/add_web_ui/gradio/basic.rst rename to docs/source-app/workflows/add_web_ui/gradio/basic.rst diff --git a/docs/source/workflows/add_web_ui/gradio/index.rst b/docs/source-app/workflows/add_web_ui/gradio/index.rst similarity index 100% rename from docs/source/workflows/add_web_ui/gradio/index.rst rename to docs/source-app/workflows/add_web_ui/gradio/index.rst diff --git a/docs/source/workflows/add_web_ui/gradio/intermediate.rst b/docs/source-app/workflows/add_web_ui/gradio/intermediate.rst similarity index 100% rename from docs/source/workflows/add_web_ui/gradio/intermediate.rst rename to docs/source-app/workflows/add_web_ui/gradio/intermediate.rst diff --git a/docs/source/workflows/add_web_ui/html/basic.rst b/docs/source-app/workflows/add_web_ui/html/basic.rst similarity index 100% rename from docs/source/workflows/add_web_ui/html/basic.rst rename to docs/source-app/workflows/add_web_ui/html/basic.rst diff --git a/docs/source/workflows/add_web_ui/html/index.rst b/docs/source-app/workflows/add_web_ui/html/index.rst similarity index 100% rename from docs/source/workflows/add_web_ui/html/index.rst rename to docs/source-app/workflows/add_web_ui/html/index.rst diff --git a/docs/source/workflows/add_web_ui/html/intermediate.rst b/docs/source-app/workflows/add_web_ui/html/intermediate.rst similarity index 100% rename from docs/source/workflows/add_web_ui/html/intermediate.rst rename to docs/source-app/workflows/add_web_ui/html/intermediate.rst diff --git a/docs/source/workflows/add_web_ui/index.rst b/docs/source-app/workflows/add_web_ui/index.rst similarity index 100% rename from docs/source/workflows/add_web_ui/index.rst rename to docs/source-app/workflows/add_web_ui/index.rst diff --git a/docs/source/workflows/add_web_ui/index_content.rst b/docs/source-app/workflows/add_web_ui/index_content.rst similarity index 100% rename from docs/source/workflows/add_web_ui/index_content.rst rename to docs/source-app/workflows/add_web_ui/index_content.rst diff --git a/docs/source/workflows/add_web_ui/integrate_any_javascript_framework.rst b/docs/source-app/workflows/add_web_ui/integrate_any_javascript_framework.rst similarity index 100% rename from docs/source/workflows/add_web_ui/integrate_any_javascript_framework.rst rename to docs/source-app/workflows/add_web_ui/integrate_any_javascript_framework.rst diff --git a/docs/source/workflows/add_web_ui/jupyter_basic.rst b/docs/source-app/workflows/add_web_ui/jupyter_basic.rst similarity index 100% rename from docs/source/workflows/add_web_ui/jupyter_basic.rst rename to docs/source-app/workflows/add_web_ui/jupyter_basic.rst diff --git a/docs/source/workflows/add_web_ui/justpy/index.rst b/docs/source-app/workflows/add_web_ui/justpy/index.rst similarity index 100% rename from docs/source/workflows/add_web_ui/justpy/index.rst rename to docs/source-app/workflows/add_web_ui/justpy/index.rst diff --git a/docs/source/workflows/add_web_ui/panel/basic.rst b/docs/source-app/workflows/add_web_ui/panel/basic.rst similarity index 100% rename from docs/source/workflows/add_web_ui/panel/basic.rst rename to docs/source-app/workflows/add_web_ui/panel/basic.rst diff --git a/docs/source/workflows/add_web_ui/panel/index.rst b/docs/source-app/workflows/add_web_ui/panel/index.rst similarity index 100% rename from docs/source/workflows/add_web_ui/panel/index.rst rename to docs/source-app/workflows/add_web_ui/panel/index.rst diff --git a/docs/source/workflows/add_web_ui/panel/intermediate.rst b/docs/source-app/workflows/add_web_ui/panel/intermediate.rst similarity index 100% rename from docs/source/workflows/add_web_ui/panel/intermediate.rst rename to docs/source-app/workflows/add_web_ui/panel/intermediate.rst diff --git a/docs/source/workflows/add_web_ui/react/communicate_between_react_and_lightning.rst b/docs/source-app/workflows/add_web_ui/react/communicate_between_react_and_lightning.rst similarity index 100% rename from docs/source/workflows/add_web_ui/react/communicate_between_react_and_lightning.rst rename to docs/source-app/workflows/add_web_ui/react/communicate_between_react_and_lightning.rst diff --git a/docs/source/workflows/add_web_ui/react/connect_react_and_lightning.rst b/docs/source-app/workflows/add_web_ui/react/connect_react_and_lightning.rst similarity index 100% rename from docs/source/workflows/add_web_ui/react/connect_react_and_lightning.rst rename to docs/source-app/workflows/add_web_ui/react/connect_react_and_lightning.rst diff --git a/docs/source/workflows/add_web_ui/react/create_react_template.rst b/docs/source-app/workflows/add_web_ui/react/create_react_template.rst similarity index 100% rename from docs/source/workflows/add_web_ui/react/create_react_template.rst rename to docs/source-app/workflows/add_web_ui/react/create_react_template.rst diff --git a/docs/source/workflows/add_web_ui/react/index.rst b/docs/source-app/workflows/add_web_ui/react/index.rst similarity index 100% rename from docs/source/workflows/add_web_ui/react/index.rst rename to docs/source-app/workflows/add_web_ui/react/index.rst diff --git a/docs/source/workflows/add_web_ui/react/react_development_workflow.rst b/docs/source-app/workflows/add_web_ui/react/react_development_workflow.rst similarity index 100% rename from docs/source/workflows/add_web_ui/react/react_development_workflow.rst rename to docs/source-app/workflows/add_web_ui/react/react_development_workflow.rst diff --git a/docs/source/workflows/add_web_ui/streamlit/basic.rst b/docs/source-app/workflows/add_web_ui/streamlit/basic.rst similarity index 100% rename from docs/source/workflows/add_web_ui/streamlit/basic.rst rename to docs/source-app/workflows/add_web_ui/streamlit/basic.rst diff --git a/docs/source/workflows/add_web_ui/streamlit/index.rst b/docs/source-app/workflows/add_web_ui/streamlit/index.rst similarity index 100% rename from docs/source/workflows/add_web_ui/streamlit/index.rst rename to docs/source-app/workflows/add_web_ui/streamlit/index.rst diff --git a/docs/source/workflows/add_web_ui/streamlit/intermediate.rst b/docs/source-app/workflows/add_web_ui/streamlit/intermediate.rst similarity index 100% rename from docs/source/workflows/add_web_ui/streamlit/intermediate.rst rename to docs/source-app/workflows/add_web_ui/streamlit/intermediate.rst diff --git a/docs/source/workflows/add_web_ui/vue_js_intermediate.rst b/docs/source-app/workflows/add_web_ui/vue_js_intermediate.rst similarity index 100% rename from docs/source/workflows/add_web_ui/vue_js_intermediate.rst rename to docs/source-app/workflows/add_web_ui/vue_js_intermediate.rst diff --git a/docs/source/workflows/arrange_tabs/arrange_app_basic.rst b/docs/source-app/workflows/arrange_tabs/arrange_app_basic.rst similarity index 100% rename from docs/source/workflows/arrange_tabs/arrange_app_basic.rst rename to docs/source-app/workflows/arrange_tabs/arrange_app_basic.rst diff --git a/docs/source/workflows/arrange_tabs/arrange_app_intermediate.rst b/docs/source-app/workflows/arrange_tabs/arrange_app_intermediate.rst similarity index 100% rename from docs/source/workflows/arrange_tabs/arrange_app_intermediate.rst rename to docs/source-app/workflows/arrange_tabs/arrange_app_intermediate.rst diff --git a/docs/source/workflows/arrange_tabs/index.rst b/docs/source-app/workflows/arrange_tabs/index.rst similarity index 100% rename from docs/source/workflows/arrange_tabs/index.rst rename to docs/source-app/workflows/arrange_tabs/index.rst diff --git a/docs/source/workflows/arrange_tabs/index_content.rst b/docs/source-app/workflows/arrange_tabs/index_content.rst similarity index 100% rename from docs/source/workflows/arrange_tabs/index_content.rst rename to docs/source-app/workflows/arrange_tabs/index_content.rst diff --git a/docs/source/workflows/build_command_line_interface/app.py b/docs/source-app/workflows/build_command_line_interface/app.py similarity index 100% rename from docs/source/workflows/build_command_line_interface/app.py rename to docs/source-app/workflows/build_command_line_interface/app.py diff --git a/docs/source/workflows/build_command_line_interface/cli.rst b/docs/source-app/workflows/build_command_line_interface/cli.rst similarity index 100% rename from docs/source/workflows/build_command_line_interface/cli.rst rename to docs/source-app/workflows/build_command_line_interface/cli.rst diff --git a/docs/source/workflows/build_command_line_interface/cli_client.rst b/docs/source-app/workflows/build_command_line_interface/cli_client.rst similarity index 100% rename from docs/source/workflows/build_command_line_interface/cli_client.rst rename to docs/source-app/workflows/build_command_line_interface/cli_client.rst diff --git a/docs/source/workflows/build_command_line_interface/commands/__init__.py b/docs/source-app/workflows/build_command_line_interface/commands/__init__.py similarity index 100% rename from docs/source/workflows/build_command_line_interface/commands/__init__.py rename to docs/source-app/workflows/build_command_line_interface/commands/__init__.py diff --git a/docs/source/workflows/build_command_line_interface/commands/notebook/__init__.py b/docs/source-app/workflows/build_command_line_interface/commands/notebook/__init__.py similarity index 100% rename from docs/source/workflows/build_command_line_interface/commands/notebook/__init__.py rename to docs/source-app/workflows/build_command_line_interface/commands/notebook/__init__.py diff --git a/docs/source/workflows/build_command_line_interface/commands/notebook/run.py b/docs/source-app/workflows/build_command_line_interface/commands/notebook/run.py similarity index 100% rename from docs/source/workflows/build_command_line_interface/commands/notebook/run.py rename to docs/source-app/workflows/build_command_line_interface/commands/notebook/run.py diff --git a/docs/source/workflows/build_command_line_interface/example_command.py b/docs/source-app/workflows/build_command_line_interface/example_command.py similarity index 100% rename from docs/source/workflows/build_command_line_interface/example_command.py rename to docs/source-app/workflows/build_command_line_interface/example_command.py diff --git a/docs/source/workflows/build_command_line_interface/index.rst b/docs/source-app/workflows/build_command_line_interface/index.rst similarity index 100% rename from docs/source/workflows/build_command_line_interface/index.rst rename to docs/source-app/workflows/build_command_line_interface/index.rst diff --git a/docs/source/workflows/build_command_line_interface/index_content.rst b/docs/source-app/workflows/build_command_line_interface/index_content.rst similarity index 100% rename from docs/source/workflows/build_command_line_interface/index_content.rst rename to docs/source-app/workflows/build_command_line_interface/index_content.rst diff --git a/docs/source/workflows/build_command_line_interface/post_example.py b/docs/source-app/workflows/build_command_line_interface/post_example.py similarity index 100% rename from docs/source/workflows/build_command_line_interface/post_example.py rename to docs/source-app/workflows/build_command_line_interface/post_example.py diff --git a/docs/source/workflows/build_lightning_app/from_pytorch_lightning_script.rst b/docs/source-app/workflows/build_lightning_app/from_pytorch_lightning_script.rst similarity index 100% rename from docs/source/workflows/build_lightning_app/from_pytorch_lightning_script.rst rename to docs/source-app/workflows/build_lightning_app/from_pytorch_lightning_script.rst diff --git a/docs/source/workflows/build_lightning_app/from_scratch.rst b/docs/source-app/workflows/build_lightning_app/from_scratch.rst similarity index 100% rename from docs/source/workflows/build_lightning_app/from_scratch.rst rename to docs/source-app/workflows/build_lightning_app/from_scratch.rst diff --git a/docs/source/workflows/build_lightning_app/from_scratch_content.rst b/docs/source-app/workflows/build_lightning_app/from_scratch_content.rst similarity index 100% rename from docs/source/workflows/build_lightning_app/from_scratch_content.rst rename to docs/source-app/workflows/build_lightning_app/from_scratch_content.rst diff --git a/docs/source/workflows/build_lightning_app/index.rst b/docs/source-app/workflows/build_lightning_app/index.rst similarity index 100% rename from docs/source/workflows/build_lightning_app/index.rst rename to docs/source-app/workflows/build_lightning_app/index.rst diff --git a/docs/source/workflows/build_lightning_app/index_content.rst b/docs/source-app/workflows/build_lightning_app/index_content.rst similarity index 100% rename from docs/source/workflows/build_lightning_app/index_content.rst rename to docs/source-app/workflows/build_lightning_app/index_content.rst diff --git a/docs/source/workflows/build_lightning_component/basic.rst b/docs/source-app/workflows/build_lightning_component/basic.rst similarity index 100% rename from docs/source/workflows/build_lightning_component/basic.rst rename to docs/source-app/workflows/build_lightning_component/basic.rst diff --git a/docs/source/workflows/build_lightning_component/from_scratch_component_content.rst b/docs/source-app/workflows/build_lightning_component/from_scratch_component_content.rst similarity index 100% rename from docs/source/workflows/build_lightning_component/from_scratch_component_content.rst rename to docs/source-app/workflows/build_lightning_component/from_scratch_component_content.rst diff --git a/docs/source/workflows/build_lightning_component/index.rst b/docs/source-app/workflows/build_lightning_component/index.rst similarity index 100% rename from docs/source/workflows/build_lightning_component/index.rst rename to docs/source-app/workflows/build_lightning_component/index.rst diff --git a/docs/source/workflows/build_lightning_component/index_content.rst b/docs/source-app/workflows/build_lightning_component/index_content.rst similarity index 100% rename from docs/source/workflows/build_lightning_component/index_content.rst rename to docs/source-app/workflows/build_lightning_component/index_content.rst diff --git a/docs/source/workflows/build_lightning_component/intermediate.rst b/docs/source-app/workflows/build_lightning_component/intermediate.rst similarity index 100% rename from docs/source/workflows/build_lightning_component/intermediate.rst rename to docs/source-app/workflows/build_lightning_component/intermediate.rst diff --git a/docs/source/workflows/build_lightning_component/publish_a_component.rst b/docs/source-app/workflows/build_lightning_component/publish_a_component.rst similarity index 100% rename from docs/source/workflows/build_lightning_component/publish_a_component.rst rename to docs/source-app/workflows/build_lightning_component/publish_a_component.rst diff --git a/docs/source/workflows/build_rest_api/add_api.rst b/docs/source-app/workflows/build_rest_api/add_api.rst similarity index 100% rename from docs/source/workflows/build_rest_api/add_api.rst rename to docs/source-app/workflows/build_rest_api/add_api.rst diff --git a/docs/source/workflows/build_rest_api/index.rst b/docs/source-app/workflows/build_rest_api/index.rst similarity index 100% rename from docs/source/workflows/build_rest_api/index.rst rename to docs/source-app/workflows/build_rest_api/index.rst diff --git a/docs/source/workflows/build_rest_api/index_content.rst b/docs/source-app/workflows/build_rest_api/index_content.rst similarity index 100% rename from docs/source/workflows/build_rest_api/index_content.rst rename to docs/source-app/workflows/build_rest_api/index_content.rst diff --git a/docs/source/workflows/build_rest_api/models.py b/docs/source-app/workflows/build_rest_api/models.py similarity index 100% rename from docs/source/workflows/build_rest_api/models.py rename to docs/source-app/workflows/build_rest_api/models.py diff --git a/docs/source/workflows/build_rest_api/post_example.py b/docs/source-app/workflows/build_rest_api/post_example.py similarity index 100% rename from docs/source/workflows/build_rest_api/post_example.py rename to docs/source-app/workflows/build_rest_api/post_example.py diff --git a/docs/source/workflows/build_rest_api/post_example_pydantic.py b/docs/source-app/workflows/build_rest_api/post_example_pydantic.py similarity index 100% rename from docs/source/workflows/build_rest_api/post_example_pydantic.py rename to docs/source-app/workflows/build_rest_api/post_example_pydantic.py diff --git a/docs/source/workflows/build_rest_api/request_validation.rst b/docs/source-app/workflows/build_rest_api/request_validation.rst similarity index 100% rename from docs/source/workflows/build_rest_api/request_validation.rst rename to docs/source-app/workflows/build_rest_api/request_validation.rst diff --git a/docs/source/workflows/byoc/aws_cli.rst b/docs/source-app/workflows/byoc/aws_cli.rst similarity index 100% rename from docs/source/workflows/byoc/aws_cli.rst rename to docs/source-app/workflows/byoc/aws_cli.rst diff --git a/docs/source/workflows/byoc/aws_console.rst b/docs/source-app/workflows/byoc/aws_console.rst similarity index 100% rename from docs/source/workflows/byoc/aws_console.rst rename to docs/source-app/workflows/byoc/aws_console.rst diff --git a/docs/source/workflows/byoc/create_cluster.rst b/docs/source-app/workflows/byoc/create_cluster.rst similarity index 100% rename from docs/source/workflows/byoc/create_cluster.rst rename to docs/source-app/workflows/byoc/create_cluster.rst diff --git a/docs/source/workflows/byoc/delete_cluster.rst b/docs/source-app/workflows/byoc/delete_cluster.rst similarity index 100% rename from docs/source/workflows/byoc/delete_cluster.rst rename to docs/source-app/workflows/byoc/delete_cluster.rst diff --git a/docs/source/workflows/byoc/index.rst b/docs/source-app/workflows/byoc/index.rst similarity index 100% rename from docs/source/workflows/byoc/index.rst rename to docs/source-app/workflows/byoc/index.rst diff --git a/docs/source/workflows/byoc/run_on_cluster.rst b/docs/source-app/workflows/byoc/run_on_cluster.rst similarity index 100% rename from docs/source/workflows/byoc/run_on_cluster.rst rename to docs/source-app/workflows/byoc/run_on_cluster.rst diff --git a/docs/source/workflows/debug_locally.rst b/docs/source-app/workflows/debug_locally.rst similarity index 100% rename from docs/source/workflows/debug_locally.rst rename to docs/source-app/workflows/debug_locally.rst diff --git a/docs/source/workflows/enable_fault_tolerance.rst b/docs/source-app/workflows/enable_fault_tolerance.rst similarity index 100% rename from docs/source/workflows/enable_fault_tolerance.rst rename to docs/source-app/workflows/enable_fault_tolerance.rst diff --git a/docs/source/workflows/extend_app.rst b/docs/source-app/workflows/extend_app.rst similarity index 100% rename from docs/source/workflows/extend_app.rst rename to docs/source-app/workflows/extend_app.rst diff --git a/docs/source/workflows/index.rst b/docs/source-app/workflows/index.rst similarity index 100% rename from docs/source/workflows/index.rst rename to docs/source-app/workflows/index.rst diff --git a/docs/source/workflows/mount_cloud_object_store.rst b/docs/source-app/workflows/mount_cloud_object_store.rst similarity index 100% rename from docs/source/workflows/mount_cloud_object_store.rst rename to docs/source-app/workflows/mount_cloud_object_store.rst diff --git a/docs/source/workflows/run_app_on_cloud/cloud_files.rst b/docs/source-app/workflows/run_app_on_cloud/cloud_files.rst similarity index 100% rename from docs/source/workflows/run_app_on_cloud/cloud_files.rst rename to docs/source-app/workflows/run_app_on_cloud/cloud_files.rst diff --git a/docs/source/workflows/run_app_on_cloud/index.rst b/docs/source-app/workflows/run_app_on_cloud/index.rst similarity index 100% rename from docs/source/workflows/run_app_on_cloud/index.rst rename to docs/source-app/workflows/run_app_on_cloud/index.rst diff --git a/docs/source/workflows/run_app_on_cloud/index_content.rst b/docs/source-app/workflows/run_app_on_cloud/index_content.rst similarity index 100% rename from docs/source/workflows/run_app_on_cloud/index_content.rst rename to docs/source-app/workflows/run_app_on_cloud/index_content.rst diff --git a/docs/source/workflows/run_app_on_cloud/lightning_cloud.rst b/docs/source-app/workflows/run_app_on_cloud/lightning_cloud.rst similarity index 100% rename from docs/source/workflows/run_app_on_cloud/lightning_cloud.rst rename to docs/source-app/workflows/run_app_on_cloud/lightning_cloud.rst diff --git a/docs/source/workflows/run_app_on_cloud/on_prem.rst b/docs/source-app/workflows/run_app_on_cloud/on_prem.rst similarity index 100% rename from docs/source/workflows/run_app_on_cloud/on_prem.rst rename to docs/source-app/workflows/run_app_on_cloud/on_prem.rst diff --git a/docs/source/workflows/run_app_on_cloud/on_your_own_machine.rst b/docs/source-app/workflows/run_app_on_cloud/on_your_own_machine.rst similarity index 100% rename from docs/source/workflows/run_app_on_cloud/on_your_own_machine.rst rename to docs/source-app/workflows/run_app_on_cloud/on_your_own_machine.rst diff --git a/docs/source/workflows/run_app_snippet.rst b/docs/source-app/workflows/run_app_snippet.rst similarity index 100% rename from docs/source/workflows/run_app_snippet.rst rename to docs/source-app/workflows/run_app_snippet.rst diff --git a/docs/source/workflows/run_components_on_different_hardware.rst b/docs/source-app/workflows/run_components_on_different_hardware.rst similarity index 100% rename from docs/source/workflows/run_components_on_different_hardware.rst rename to docs/source-app/workflows/run_components_on_different_hardware.rst diff --git a/docs/source/workflows/run_on_private_cloud.rst b/docs/source-app/workflows/run_on_private_cloud.rst similarity index 100% rename from docs/source/workflows/run_on_private_cloud.rst rename to docs/source-app/workflows/run_on_private_cloud.rst diff --git a/docs/source/workflows/run_work_in_parallel.rst b/docs/source-app/workflows/run_work_in_parallel.rst similarity index 100% rename from docs/source/workflows/run_work_in_parallel.rst rename to docs/source-app/workflows/run_work_in_parallel.rst diff --git a/docs/source/workflows/run_work_in_parallel_content.rst b/docs/source-app/workflows/run_work_in_parallel_content.rst similarity index 100% rename from docs/source/workflows/run_work_in_parallel_content.rst rename to docs/source-app/workflows/run_work_in_parallel_content.rst diff --git a/docs/source/workflows/run_work_once.rst b/docs/source-app/workflows/run_work_once.rst similarity index 100% rename from docs/source/workflows/run_work_once.rst rename to docs/source-app/workflows/run_work_once.rst diff --git a/docs/source/workflows/run_work_once_content.rst b/docs/source-app/workflows/run_work_once_content.rst similarity index 100% rename from docs/source/workflows/run_work_once_content.rst rename to docs/source-app/workflows/run_work_once_content.rst diff --git a/docs/source/workflows/schedule_apps.rst b/docs/source-app/workflows/schedule_apps.rst similarity index 100% rename from docs/source/workflows/schedule_apps.rst rename to docs/source-app/workflows/schedule_apps.rst diff --git a/docs/source/workflows/scripts/parallel/toy_app.py b/docs/source-app/workflows/scripts/parallel/toy_app.py similarity index 100% rename from docs/source/workflows/scripts/parallel/toy_app.py rename to docs/source-app/workflows/scripts/parallel/toy_app.py diff --git a/docs/source/workflows/scripts/parallel/toy_parallel.py b/docs/source-app/workflows/scripts/parallel/toy_parallel.py similarity index 100% rename from docs/source/workflows/scripts/parallel/toy_parallel.py rename to docs/source-app/workflows/scripts/parallel/toy_parallel.py diff --git a/docs/source/workflows/scripts/parallel/toy_two_parallel.py b/docs/source-app/workflows/scripts/parallel/toy_two_parallel.py similarity index 100% rename from docs/source/workflows/scripts/parallel/toy_two_parallel.py rename to docs/source-app/workflows/scripts/parallel/toy_two_parallel.py diff --git a/docs/source/workflows/scripts/parallel/toy_two_parallel_not_started.py b/docs/source-app/workflows/scripts/parallel/toy_two_parallel_not_started.py similarity index 100% rename from docs/source/workflows/scripts/parallel/toy_two_parallel_not_started.py rename to docs/source-app/workflows/scripts/parallel/toy_two_parallel_not_started.py diff --git a/docs/source/workflows/share_app.rst b/docs/source-app/workflows/share_app.rst similarity index 100% rename from docs/source/workflows/share_app.rst rename to docs/source-app/workflows/share_app.rst diff --git a/docs/source/workflows/share_files_between_components.rst b/docs/source-app/workflows/share_files_between_components.rst similarity index 100% rename from docs/source/workflows/share_files_between_components.rst rename to docs/source-app/workflows/share_files_between_components.rst diff --git a/docs/source/workflows/share_files_between_components/app.py b/docs/source-app/workflows/share_files_between_components/app.py similarity index 100% rename from docs/source/workflows/share_files_between_components/app.py rename to docs/source-app/workflows/share_files_between_components/app.py diff --git a/docs/source/workflows/ssh/index.rst b/docs/source-app/workflows/ssh/index.rst similarity index 100% rename from docs/source/workflows/ssh/index.rst rename to docs/source-app/workflows/ssh/index.rst diff --git a/docs/source/workflows/test_an_app.rst b/docs/source-app/workflows/test_an_app.rst similarity index 100% rename from docs/source/workflows/test_an_app.rst rename to docs/source-app/workflows/test_an_app.rst diff --git a/docs/source-pytorch/common/precision_basic.rst b/docs/source-pytorch/common/precision_basic.rst index 0b8706a194..033f58034f 100644 --- a/docs/source-pytorch/common/precision_basic.rst +++ b/docs/source-pytorch/common/precision_basic.rst @@ -36,10 +36,10 @@ Use 16-bit mixed precision to lower your memory consumption by up to half so tha .. testcode:: - Trainer(precision='32-true') + Trainer(precision="32-true") # or - Trainer(precision='32') + Trainer(precision="32") # or Trainer(precision=32) @@ -54,10 +54,10 @@ For certain scientific computations, 64-bit precision enables more accurate mode .. testcode:: - Trainer(precision='64-true') + Trainer(precision="64-true") # or - Trainer(precision='64') + Trainer(precision="64") # or Trainer(precision=64) diff --git a/docs/source-pytorch/common/precision_expert.rst b/docs/source-pytorch/common/precision_expert.rst index e63f355f0d..a4502972db 100644 --- a/docs/source-pytorch/common/precision_expert.rst +++ b/docs/source-pytorch/common/precision_expert.rst @@ -20,7 +20,7 @@ You can also customize and pass your own Precision Plugin by subclassing the :cl .. code-block:: python class CustomPrecisionPlugin(PrecisionPlugin): - precision = '16-mixed' + precision = "16-mixed" ... diff --git a/docs/source-pytorch/debug/debugging_intermediate.rst b/docs/source-pytorch/debug/debugging_intermediate.rst index c8fc293703..9895223372 100644 --- a/docs/source-pytorch/debug/debugging_intermediate.rst +++ b/docs/source-pytorch/debug/debugging_intermediate.rst @@ -51,6 +51,7 @@ You can keep an eye on the gradient norm by logging it in your LightningModule: from lightning.pytorch.utilities import grad_norm + def on_before_optimizer_step(self, optimizer): # Compute the 2-norm for each layer # If using mixed precision, the gradients are already unscaled here diff --git a/docs/source-pytorch/fabric/fundamentals/precision.rst b/docs/source-pytorch/fabric/fundamentals/precision.rst index 24a1b33a21..5f8cb65322 100644 --- a/docs/source-pytorch/fabric/fundamentals/precision.rst +++ b/docs/source-pytorch/fabric/fundamentals/precision.rst @@ -33,7 +33,7 @@ This is how you select the precision in Fabric: fabric = Fabric(precision="32") # FP16 mixed precision - fabric = Fabric(precision="16-mixed) + fabric = Fabric(precision="16-mixed") # BFloat16 precision (Volta GPUs and later) fabric = Fabric(precision="bf16-mixed") diff --git a/tests/tests_app/components/serve/test_model_inference_api.py b/tests/tests_app/components/serve/test_model_inference_api.py index 4e9b0606ec..cf58eec09d 100644 --- a/tests/tests_app/components/serve/test_model_inference_api.py +++ b/tests/tests_app/components/serve/test_model_inference_api.py @@ -39,7 +39,7 @@ def test_model_inference_api(workers): process = mp.Process(target=target_fn, args=(port, workers)) process.start() - image_path = os.path.join(_PROJECT_ROOT, "docs/source/_static/images/logo.png") + image_path = os.path.join(_PROJECT_ROOT, "docs/source-app/_static/images/logo.png") with open(image_path, "rb") as f: imgstr = base64.b64encode(f.read()).decode("UTF-8")