Skip to content

Commit

Permalink
Fix doc structure & sphinx warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
synrg committed Mar 17, 2024
1 parent 316305a commit e08371d
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 13 deletions.
2 changes: 2 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@
# "sphinxcontrib_trio",
]

intersphinx_mapping = {"redbot": ("https://docs.discord.red/en/stable", None)}

# Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"]

Expand Down
16 changes: 8 additions & 8 deletions docs/dronefly.rst → docs/dronefly_bot.rst
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
.. Dronefly
.. Dronefly Bot
========
Dronefly
========

Overview
--------
========

.. image:: https://img.shields.io/badge/Red--DiscordBot-cogs-red.svg
:target: https://github.com/Cog-Creators/Red-DiscordBot/tree/V3/develop
Expand All @@ -30,8 +27,9 @@ https://discord.gg/pUbZFDbDdD if:
- you already use Dronefly and need support
- you want to be involved with Dronefly development

=======================
Dronefly cog repository
-----------------------
=======================

Dronefly bot is based on `Red Discord
Bot <https://github.com/Cog-Creators/Red-DiscordBot>`__ but it is also the
Expand All @@ -46,13 +44,15 @@ download anything from this site to do that.
If you do want to run your own bot with the cogs from Dronefly repository on
it, see the Installation instructions below.

==================================
User Guide - iNaturalist (inatcog)
----------------------------------
==================================

TODO: migrate Guide for Participant material here.

==================
Server Owner Guide
------------------
==================

TODO: migrate `Server owner guide
<https://github.com/dronefly-garden/dronefly/wiki/Server-owner-guide>`__ here.
10 changes: 5 additions & 5 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,25 @@ Welcome to Dronefly's documentation!

.. toctree::
:maxdepth: 2
:caption: Dronefly:
:caption: Dronefly Bot

dronefly
dronefly_bot

.. toctree::
:maxdepth: 2
:caption: iNaturalist Discord Server:
:caption: iNaturalist Discord Server

guide_for_participants

.. toctree::
:maxdepth: 2
:caption: Developer's Reference:
:caption: Developer's Reference

development_plan

.. toctree::
:maxdepth: 2
:caption: Dronefly cogs API:
:caption: Dronefly cogs API

source/modules.rst

Expand Down

0 comments on commit e08371d

Please sign in to comment.