Skip to content

Docs#12

Open
ManvithaMolakala wants to merge 2 commits intotrovesfi:devfrom
ManvithaMolakala:docs
Open

Docs#12
ManvithaMolakala wants to merge 2 commits intotrovesfi:devfrom
ManvithaMolakala:docs

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