Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add docs-generating script that allows for specifying input and output path #1466

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

Sfonxu
Copy link
Collaborator

@Sfonxu Sfonxu commented Dec 13, 2024

regarding #1445

@Sfonxu Sfonxu changed the title added docs-generating script add docs-generating script that allows for specifying input and output path Dec 13, 2024
@Sfonxu Sfonxu requested a review from slayoo December 13, 2024 08:12
.github/workflows/docs.py Outdated Show resolved Hide resolved
.github/workflows/docs.py Outdated Show resolved Hide resolved
.github/workflows/docs.py Outdated Show resolved Hide resolved
os.chdir(code_path)
os.environ["PDOC_ALLOW_EXEC"] = "1"

for notebook_path in glob.glob("examples/PySDM_examples/*/*.ipynb"):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we could use the devops_tests find_files function that limits the search to files tracked in git: https://github.com/open-atmos/devops_tests/blob/8eb4d96a1ea8afa09a409a99dccbd0ddd48f80a7/utils.py#L10

@slayoo
Copy link
Member

slayoo commented Dec 13, 2024

Thanks @Sfonxu! I've added a few comments that could help make the code more bullet-proof

Copy link

codecov bot commented Dec 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.22%. Comparing base (bcb51e0) to head (952bb4e).
Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1466   +/-   ##
=======================================
  Coverage   85.22%   85.22%           
=======================================
  Files         376      376           
  Lines        9265     9265           
=======================================
  Hits         7896     7896           
  Misses       1369     1369           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants