Browse Source

Setup sphinx, added channel docs

pull/177/head
Zwork101 5 years ago
parent
commit
266978118a
No known key found for this signature in database GPG Key ID: 259D6C0D5A9CCF67
  1. 8
      .biblio.yaml
  2. 0
      bot_tutorial/README.md
  3. 0
      bot_tutorial/SUMMARY.md
  4. 0
      bot_tutorial/advanced.md
  5. 0
      bot_tutorial/building_block_commands.md
  6. 0
      bot_tutorial/building_block_listeners.md
  7. 0
      bot_tutorial/building_block_plugins.md
  8. 0
      bot_tutorial/first_steps.md
  9. 0
      bot_tutorial/installation.md
  10. 0
      bot_tutorial/message_embeds.md
  11. 10
      docs/book.json
  12. 20
      docs/build.sh
  13. 0
      docs/types/channel.rst
  14. 0
      docs/types/index.rst

8
.biblio.yaml

@ -1,8 +0,0 @@
name: Disco
rules:
disco/*.py:
parser: numpy
outputs:
- {type: markdown, path: docs/api/, title: 'Disco Documentation'}

0
docs/README.md → bot_tutorial/README.md

0
docs/SUMMARY.md → bot_tutorial/SUMMARY.md

0
docs/bot_tutorial/advanced.md → bot_tutorial/advanced.md

0
docs/bot_tutorial/building_block_commands.md → bot_tutorial/building_block_commands.md

0
docs/bot_tutorial/building_block_listeners.md → bot_tutorial/building_block_listeners.md

0
docs/bot_tutorial/building_block_plugins.md → bot_tutorial/building_block_plugins.md

0
docs/bot_tutorial/first_steps.md → bot_tutorial/first_steps.md

0
docs/installation.md → bot_tutorial/installation.md

0
docs/bot_tutorial/message_embeds.md → bot_tutorial/message_embeds.md

10
docs/book.json

@ -1,10 +0,0 @@
{
"title": "Disco",
"plugins": ["prism", "-highlight", "hints", "anchorjs"],
"pluginsConfig": {
"anchorjs": {
"placement": "left",
"visible": "always"
}
}
}

20
docs/build.sh

@ -1,20 +0,0 @@
#!/bin/bash
echo "Building Autogenerated API Docs"
pushd ..
python -m biblio.cli ../disco/.biblio.yaml
popd
echo "Running Gitbook Build"
gitbook build
if [ ! -z "${GH_TOKEN:-}" ]; then
echo "Deploying to Github Pages"
pushd _book/
git init
git config user.name "AutoDoc"
git config user.email "<>"
git add .
git commit -m "Generated Documentation"
git push --force --quiet "https://${GH_TOKEN}@github.com/b1naryth1ef/disco" master:gh-pages
popd
fi

0
docs/types/channel.rst

0
docs/types/index.rst

Loading…
Cancel
Save