Skip to content

Commit

Permalink
update description and 'force arg
Browse files Browse the repository at this point in the history
  • Loading branch information
RJbalikian committed May 2, 2023
1 parent 9d336aa commit c592da6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/generate_docs_pdoc.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#This script generates simple documentation using the pdoc3 library that can easily be published on github pages
import os
import subprocess

Expand All @@ -8,6 +9,6 @@
os.environ['PYTHONPATH'] = '..' + os.pathsep + os.environ.get('PYTHONPATH', '')

# Run the pdoc command
subprocess.run(['pdoc3', '--html', mod, '-o', output_dir, --force])
subprocess.run(['pdoc3', '--html', mod, '-o', output_dir, '--force'])
os.chdir('./docs')
os.rename(mod[:-3]+'.html', 'index.html')

0 comments on commit c592da6

Please sign in to comment.