Skip to content

Commit

Permalink
Workflow test branch (#5)
Browse files Browse the repository at this point in the history
* Update README.md

* Rename Nova-Server to DISCOVER in doc strings

* Update execution_handler.py

* Update index.rst

* Squashed commit of the following:

commit e015df5
Author: dominik <907555+shelm@users.noreply.github.com>
Date:   Wed Oct 9 13:20:42 2024 +0200

    Fix naming bug  for tmp dir variable

commit eac00df
Merge: 1ff233a b8593ee
Author: Dominik Schiller <shelm@users.noreply.github.com>
Date:   Wed Oct 9 13:11:57 2024 +0200

    Merge pull request #2 from hcmlab/workflow_test_branch

    Update Documentation Workflow

commit 1ff233a
Author: Dominik Schiller <shelm@users.noreply.github.com>
Date:   Wed Oct 9 13:06:02 2024 +0200

    Update build-doc.yml

commit 12900e4
Author: Dominik Schiller <shelm@users.noreply.github.com>
Date:   Wed Oct 9 13:04:14 2024 +0200

    Update build-doc.yml

commit d77cdd6
Author: Dominik Schiller <shelm@users.noreply.github.com>
Date:   Wed Oct 9 12:53:59 2024 +0200

    Update build-doc.yml

commit ad66db0
Author: Dominik Schiller <shelm@users.noreply.github.com>
Date:   Wed Oct 9 12:51:22 2024 +0200

    Update build-doc.yml

* Update build-doc.yml

* Update build-doc.yml

* Remove docbuild folder

* Update build-doc.yml

* Update build-doc.yml

* Squashed commit of the following:

commit fb62275
Author: Dominik Schiller <shelm@users.noreply.github.com>
Date:   Thu Oct 10 09:06:03 2024 +0200

    Update index.rst

commit 82ab1cc
Author: Dominik Schiller <shelm@users.noreply.github.com>
Date:   Thu Oct 10 09:02:52 2024 +0200

    Workflow test branch (#3)

    * Update README.md

    * Rename Nova-Server to DISCOVER in doc strings

    * Update execution_handler.py

    * Update index.rst

    * Squashed commit of the following:

    commit e015df5
    Author: dominik <907555+shelm@users.noreply.github.com>
    Date:   Wed Oct 9 13:20:42 2024 +0200

        Fix naming bug  for tmp dir variable

    commit eac00df
    Merge: 1ff233a b8593ee
    Author: Dominik Schiller <shelm@users.noreply.github.com>
    Date:   Wed Oct 9 13:11:57 2024 +0200

        Merge pull request #2 from hcmlab/workflow_test_branch

        Update Documentation Workflow

    commit 1ff233a
    Author: Dominik Schiller <shelm@users.noreply.github.com>
    Date:   Wed Oct 9 13:06:02 2024 +0200

        Update build-doc.yml

    commit 12900e4
    Author: Dominik Schiller <shelm@users.noreply.github.com>
    Date:   Wed Oct 9 13:04:14 2024 +0200

        Update build-doc.yml

    commit d77cdd6
    Author: Dominik Schiller <shelm@users.noreply.github.com>
    Date:   Wed Oct 9 12:53:59 2024 +0200

        Update build-doc.yml

    commit ad66db0
    Author: Dominik Schiller <shelm@users.noreply.github.com>
    Date:   Wed Oct 9 12:51:22 2024 +0200

        Update build-doc.yml

    ---------

    Co-authored-by: dominik <907555+shelm@users.noreply.github.com>

commit e015df5
Author: dominik <907555+shelm@users.noreply.github.com>
Date:   Wed Oct 9 13:20:42 2024 +0200

    Fix naming bug  for tmp dir variable

commit eac00df
Merge: 1ff233a b8593ee
Author: Dominik Schiller <shelm@users.noreply.github.com>
Date:   Wed Oct 9 13:11:57 2024 +0200

    Merge pull request #2 from hcmlab/workflow_test_branch

    Update Documentation Workflow

commit 1ff233a
Author: Dominik Schiller <shelm@users.noreply.github.com>
Date:   Wed Oct 9 13:06:02 2024 +0200

    Update build-doc.yml

commit 12900e4
Author: Dominik Schiller <shelm@users.noreply.github.com>
Date:   Wed Oct 9 13:04:14 2024 +0200

    Update build-doc.yml

commit d77cdd6
Author: Dominik Schiller <shelm@users.noreply.github.com>
Date:   Wed Oct 9 12:53:59 2024 +0200

    Update build-doc.yml

commit ad66db0
Author: Dominik Schiller <shelm@users.noreply.github.com>
Date:   Wed Oct 9 12:51:22 2024 +0200

    Update build-doc.yml

* Update Readme

* Add modules documentation

* Update index.rst

* Update blazeface_link.md

* Remove unnecessary api docs and add module rst file for blazeface

* Update build-doc.yml

* Update build-doc.yml

* Add mdinclude

* Update conf.py

* Update conf.py

* Test ne rst inclusion

* Update index.rst

* Update index.rst

* Update index.rst

* Update index.rst

* Test

* Update

* Update index.rst

* Update index.rst

* Update index.rst

* Update index.rst

* Update

* Update index.rst

* Update index.rst

* Update index.rst

* Update index.rst

* Update index.rst

* Update index.rst

* Add toml project to requirements

* Update readme and fix typos

---------

Co-authored-by: dominik <907555+shelm@users.noreply.github.com>
  • Loading branch information
shelm and shelm authored Oct 15, 2024
1 parent eca594f commit 0a6006c
Show file tree
Hide file tree
Showing 55 changed files with 33 additions and 385 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build-doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,17 @@ jobs:
with:
repository: hcmlab/discover-utils
path: discover-utils
ref: refs/heads/main
ref: refs/heads/main
- name: Checkout discover modules
uses: actions/checkout@master
with:
repository: hcmlab/discover-modules
path: docs/discover-modules
ref: refs/heads/main
- uses: actions/setup-python@v3
- name: Install dependencies
run: |
pip install sphinx sphinx_rtd_theme myst-parser sphinx-argparse==0.5.2
pip install sphinx sphinx_rtd_theme myst-parser sphinx-argparse==0.5.2 sphinx-mdinclude
- name: Sphinx build
run: |
sphinx-apidoc -e -M -d 8 -o docs/docsource/api discover
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ DISCOVER takes the following optional arguments as input:

Internally DISCOVER converts the input to environment variables with the following names:

```DISCOVER_SERVER_HOST```, ```DISCOVER_PORT```, ```DISCOVER_CML_DIR```, ```DISCOVER_CML_DIR```, ```DISCOVER_CML_DIR```, ```DISCOVER_CML_DIR```, ```DISCOVER_CML_DIR```
```DISCOVER_SERVER_HOST```, ```DISCOVER_PORT```, ```DISCOVER_CML_DIR```, ```DISCOVER_DATA_DIR```, ```DISCOVER_TMP_DIR```, ```DISCOVER_CML_DIR```, ```DISCOVER_LOG_DIR```


All variables can be either passed directly as commandline argument, set in a [dotenv](https://hexdocs.pm/dotenvy/dotenv-file-format.html) file or as system wide environment variables.
Expand Down
2 changes: 1 addition & 1 deletion discover/backend/virtual_environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ def run_shell_script(
raise subprocess.CalledProcessError(returncode=return_code, cmd=run_cmd)

def kill(self):
"""Kills parent and children processess"""
"""Kills parent and children processes"""
parent = psutil.Process(self.current_process.pid)
# kill all the child processes
for child in parent.children(recursive=True):
Expand Down
Empty file removed docs/docsource/api/.gitkeep
Empty file.
7 changes: 0 additions & 7 deletions docs/docsource/api/modules.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/docsource/api/nova_server.app.rst

This file was deleted.

15 changes: 0 additions & 15 deletions docs/docsource/api/nova_server.backend.rst

This file was deleted.

This file was deleted.

7 changes: 0 additions & 7 deletions docs/docsource/api/nova_server.data.adjectives.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/docsource/api/nova_server.data.animals.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/docsource/api/nova_server.data.colors.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/docsource/api/nova_server.data.countries.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/docsource/api/nova_server.data.languages.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/docsource/api/nova_server.data.names.rst

This file was deleted.

21 changes: 0 additions & 21 deletions docs/docsource/api/nova_server.data.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/docsource/api/nova_server.data.star_wars.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/docsource/api/nova_server.exec.execution_handler.rst

This file was deleted.

15 changes: 0 additions & 15 deletions docs/docsource/api/nova_server.exec.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/docsource/api/nova_server.route.cancel.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/docsource/api/nova_server.route.cml_info.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/docsource/api/nova_server.route.deprecated_extract.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/docsource/api/nova_server.route.deprecated_train.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/docsource/api/nova_server.route.explain.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/docsource/api/nova_server.route.extract.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/docsource/api/nova_server.route.fetch_result.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/docsource/api/nova_server.route.log.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/docsource/api/nova_server.route.predict.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/docsource/api/nova_server.route.process.rst

This file was deleted.

27 changes: 0 additions & 27 deletions docs/docsource/api/nova_server.route.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/docsource/api/nova_server.route.status.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/docsource/api/nova_server.route.train.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/docsource/api/nova_server.route.ui.rst

This file was deleted.

28 changes: 0 additions & 28 deletions docs/docsource/api/nova_server.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/docsource/api/nova_server.templates.rst

This file was deleted.

This file was deleted.

7 changes: 0 additions & 7 deletions docs/docsource/api/nova_server.utils.deprecated_db_utils.rst

This file was deleted.

This file was deleted.

7 changes: 0 additions & 7 deletions docs/docsource/api/nova_server.utils.env.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/docsource/api/nova_server.utils.import_utils.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/docsource/api/nova_server.utils.job_utils.rst

This file was deleted.

Loading

0 comments on commit 0a6006c

Please sign in to comment.