-
Notifications
You must be signed in to change notification settings - Fork 4
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
Docs #12
base: dev
Are you sure you want to change the base?
Docs #12
Conversation
# Default target: Generate HTML documentation with pdoc, ensuring PYTHONPATH is set correctly (Windows compatible) | ||
docs: | ||
@echo "Generating documentation with pdoc..." | ||
@set PYTHONPATH=C:/Users/molak/strategy-research;C:/Users/molak/AppData/Local/pypoetry/Cache/virtualenvs/strategy-research-dv98sU_e-py3.9/lib/python3.9/site-packages && poetry run pdoc --output-dir $(DOCS_DIR) $(SOURCE_DIR) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code is using paths specific to your system.
# Target to run tests, ensuring pytest runs within the Poetry environment (Windows compatible) | ||
test: | ||
@echo "Running tests..." | ||
@set PYTHONPATH=C:/Users/molak/strategy-research;C:/Users/molak/AppData/Local/pypoetry/Cache/virtualenvs/strategy-research-dv98sU_e-py3.9/lib/python3.9/site-packages && poetry run pytest $(TEST_DIR) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here.
@@ -0,0 +1,2 @@ | |||
# src/__init__.py |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unnecessary files. Please fix gitignore.
@ManvithaMolakala share screenshot of generated docs. |
Generated docs as per issue #8.