Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Group
R
robofish
Manage
Activity
Members
Labels
Plan
Issues
Epics
Issue boards
Epic boards
Roadmap
Milestones
Iterations
Wiki
Code
Merge requests
Deploy
Package registry
Operate
Terraform modules
Analyze
Insights
Issue analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bioroboticslab
robofish
Wiki
How to document your python package
Changes
Page history
New page
Templates
Clone repository
Update How to document your python package
authored
2 years ago
by
Andi Gerken
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
How-to-document-your-python-package.md
+0
-8
0 additions, 8 deletions
How-to-document-your-python-package.md
with
0 additions
and
8 deletions
How-to-document-your-python-package.md
0 → 100644
View page @
a8bdbc49
# How to document your python packages
1.
Add docstrings to your python code
2.
Use pdoc3
`pip install pdoc3`
to create docs from the docstrings
3.
Upload the docs to your userpage
4.
Mention the docs in your README.md and maybe add them here
Example on how to generate docs and upload them to your userpage:
```
bash
pdoc
-f
--html
-o
/home/mi/mhocke/documentation robofish.behavior_test_utils robofish.gym_guppy robofish.rl robofish.electrofish.behavior robofish_commander
rsync
-avz
--delete
/home/mi/mhocke/documentation mhocke@login.zedat.fu-berlin.de:/home/m/mhocke/public_html/robofish/
```
This diff is collapsed.
Click to expand it.