Skip to content

Commit

Permalink
edit documentation.yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
SevgiAkten committed Aug 13, 2024
1 parent 8a6171d commit a6d6c70
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,9 @@ jobs:

- name: Generate HTML Documentation
run: |
export PATH="$PATH:/usr/local/bin/python3"
mkdir -p docs
for file in $(find . -name "*.py"); do
module=$(basename "$file" .py)
python3 -m pydoc -w "$module"
mv "$module.html" docs/
done
python3 -m pydoc -w optimizer
mv optimizer.html docs/index.html
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
Expand Down

0 comments on commit a6d6c70

Please sign in to comment.