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

Docs #12

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from
Open

Docs #12

wants to merge 2 commits into from

Conversation

ManvithaMolakala
Copy link
Collaborator

Generated docs as per issue #8.

# 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)
Copy link
Contributor

@akiraonstarknet akiraonstarknet Nov 4, 2024

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)
Copy link
Contributor

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
Copy link
Contributor

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.

@akiraonstarknet
Copy link
Contributor

@ManvithaMolakala share screenshot of generated docs.

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