This repository has been archived by the owner on Aug 26, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add documentation inline, generate the documentation, host somewhere (#…
…21) * Need to prod github into letting me make a PR * Initialized the sphinx documentation, currently ignoring the build directory * Added documentation for `__init__.py`'s methods Added some docstrings, setup the rst to autogenerate based on those docstrings * Prepped the docs files for the other files Still have to implement autodoc and improve the documentation for these * Heavily improved the documentation for bot.py, bot.rst bow autogenerates the correct documentation I also made some very small changes to some other files and to the sphinx config * Documented collector.py, got intersphinx working * Added a dev requirements, added a few more pages, added the toctree, Also fixed some issues in the docstrings * Makefile is now system-agnostic (needs active venv) * slowly and steadily, documentation is coming along * Removed 4 TODOs, details below __init__.py ~124: Made issue #23 covering the TODO __init__.py ~145: Fixed small error in intersphinx link in `collector.py` bot.py ~72: Made issue #22 covering the TODO bot.py ~102: Made issue #24, should be ez to fix * implement timeout in DiscordInteractiveInterface. Just one line. * Got quickstart done. finally getting the hang of rst syntax * prettier and clearer. * Quickstart looks great! Added a bit, tried to make the interface docs more clear I'm writing this on a long plane ride (again lol) so this might mostly be trash, I will try to review this again when I get back to internet and am less of a tired mess. Really great job on the quickstart! I might just leave this for you to do from now on though since you have a batter grasp on rst than me, if you're fine with that, we can chat on discord about it if you want. * Working on creating ci testing for the documentation * Updated travis.yml to include the sphinx test, let's see how this goes * Fixing issues in travis.yml * Pulled the remaining todos, they were not really necessary (thanks tired plane me) * Remove extraneous words and stuff. Let me know if there are any issues with this, if not I'll do the same sort of thing with all/most of the other pages in the coming days.
- Loading branch information
Showing
23 changed files
with
1,574 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,25 @@ | ||
dist: xenial | ||
language: python | ||
python: '3.7' | ||
python: "3.7" | ||
install: | ||
- pip install -r requirements.txt | ||
- pip install -r requirements-dev.txt | ||
- pip install . | ||
env: | ||
- TARGET_NAME=DistestUnitTestTarget | ||
matrix: | ||
include: | ||
- name: "library_test" | ||
python: "3.7" | ||
env: | ||
- TARGET_NAME=DistestUnitTestTarget | ||
- SCRIPT_NAME="run_tests.sh" | ||
- name: "documentation_test" | ||
python: "3.7" | ||
env: SCRIPT_NAME="test_sphinx.sh" | ||
script: | ||
- "./run_tests.sh" | ||
- ./$SCRIPT_NAME | ||
deploy: | ||
provider: pypi | ||
user: Cobular | ||
password: | ||
secure: b5+J4MyyBe789vl0ARRPALtpLMfdN5nZTUG4aESv38DhAd4m6Dpz1ELB6qyC90/tYsGDkFqf3muW4MgKtp1PTvC+Do0IG0MDEw1S0O8cvHP/6V/bQt/8TxeBWzvo19zzkHWV7ujW9ivug5wYMB8+yLQbhYAQR9SKD9LIvmuXB3GrGuc04FxYb328zCqzavA2HfisfOBGeG4d9P2Y8pEQGo8nHe9O/Ey9oBL3I7o4aaA4QXNXO1RPSDrjV/4nwdAvU+VnkZXA/TwkneFnWf9CbJ0zxxbn+nQxKo3dUfSvfDeHqWlWaquelkVmlacoIlR2UM0/xMrYDOdSTHDoquGDODS9jOt5uJzGr9NH0Nbn/FFFrlbE4+3wuiIM0RPHvdv5Z31d3cJDiurCW8qnV1b83yay94n9N7eeJyuPknEtoWGKgEUp8BjtovDmMydG/WbcPb8tQ4bs2nLn/OPUiIgF5tFXnpnTQbMeJBCp+wIVe7tbclM1RCcdLCSeVquroRTgJKGk/i/WNpm4adi36OxCaXcmurIjqWNFb0pPQL5I0txOnLZ9sNeT4Pzy3ujkc35qqJsgVt5LEuztTchpYtUpbF4eSEjYD85RcrewPmEK3A20d8xEXdFu2r//sXd8BCwJA5UJJOXPLxISa+WTEataZiKixE836VhIEg9bq3qkOoE= | ||
on: | ||
branch: master | ||
branch: master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.