Skip to content

Commit

Permalink
Merge pull request #68 from mosbth/pydoc
Browse files Browse the repository at this point in the history
Add code and api documentation using pdoc
  • Loading branch information
mosbth authored Oct 3, 2024
2 parents a29b47a + d6413cf commit e6758c7
Show file tree
Hide file tree
Showing 13 changed files with 9,908 additions and 0 deletions.
1 change: 1 addition & 0 deletions .requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ coverage
flake8
flake8-docstrings
pycodestyle
pdoc
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,14 @@ coverage:



# target: pdoc - Create documentation of the code.
.PHONY: pdoc
pdoc:
@$(call MESSAGE,$@)
pdoc --output-dir docs/pdoc *.py



# target: install-tools - Install needed devtools.
.PHONY: install-tools
install-tools:
Expand Down
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,19 @@ Marvin will join your channel and then you can start playing.



API documentation
--------------------------

The code and API documentation is generated using pdoc and make.

```bash
make pdoc
```

The docs are saved at `docs/pdoc` and can be [viewed online](https://mosbth.github.io/irc2phpbb/pdoc/).



History
--------------------------
The python script, `irc2phpbb.py`, is a implementation of an irc bot. The bot can answer
Expand Down
520 changes: 520 additions & 0 deletions docs/pdoc/bot.html

Large diffs are not rendered by default.

548 changes: 548 additions & 0 deletions docs/pdoc/discord_bot.html

Large diffs are not rendered by default.

223 changes: 223 additions & 0 deletions docs/pdoc/index.html

Large diffs are not rendered by default.

1,239 changes: 1,239 additions & 0 deletions docs/pdoc/irc_bot.html

Large diffs are not rendered by default.

745 changes: 745 additions & 0 deletions docs/pdoc/main.html

Large diffs are not rendered by default.

2,115 changes: 2,115 additions & 0 deletions docs/pdoc/marvin_actions.html

Large diffs are not rendered by default.

508 changes: 508 additions & 0 deletions docs/pdoc/marvin_general_actions.html

Large diffs are not rendered by default.

46 changes: 46 additions & 0 deletions docs/pdoc/search.js

Large diffs are not rendered by default.

1,966 changes: 1,966 additions & 0 deletions docs/pdoc/test_main.html

Large diffs are not rendered by default.

1,976 changes: 1,976 additions & 0 deletions docs/pdoc/test_marvin_actions.html

Large diffs are not rendered by default.

0 comments on commit e6758c7

Please sign in to comment.