Skip to content

Commit

Permalink
update styles
Browse files Browse the repository at this point in the history
  • Loading branch information
otothea committed Jan 27, 2020
1 parent a36aaa2 commit 0dec69a
Show file tree
Hide file tree
Showing 18 changed files with 77 additions and 40 deletions.
20 changes: 20 additions & 0 deletions docs/_static/css/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
.wy-side-nav-search {
background-color: black;
}

a {
color: #5BC2A8;
}

a:visited {
color: #5BC2A8;
}

a:active {
color: #5BC2A8;
}

a:hover {
color: #5BC2A8;
text-decoration: underline;
}
4 changes: 0 additions & 4 deletions docs/commands/bridge.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ __ #delete
__ #join
__ #new

.. note::

If a command argument is required it will be wrapped in ``<`` ``>`` and if the argument is optional it will be wrapped in ``[`` ``]``.

delete
^^^^^^
Delete a bridge
Expand Down
4 changes: 0 additions & 4 deletions docs/commands/command.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@ __ #list
__ #new
__ #permission

.. note::

If a command argument is required it will be wrapped in ``<`` ``>`` and if the argument is optional it will be wrapped in ``[`` ``]``.

.. note::

Commands are enabled and disabled based on the platform (Twitch, Mixer, YouTube, etc.) the command was issued from. Commands will respond to the channel they are called from.
Expand Down
4 changes: 0 additions & 4 deletions docs/commands/giveaway.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ __ #rules
__ #view
__ #winner

.. note::

If a command argument is required it will be wrapped in ``<`` ``>`` and if the argument is optional it will be wrapped in ``[`` ``]``.

.. note::

You can display the active giveaway in your stream using the `stream overlay <https://botisimo.com/account/overlays>`_ for giveaways.
Expand Down
4 changes: 4 additions & 0 deletions docs/commands/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ Commands

Commands are used to allow you and your moderators/users to interact with the bot via chat.

.. note::

If a command argument is required it will be wrapped in ``<`` ``>`` and if the argument is optional it will be wrapped in ``[`` ``]``.

.. note::

If viewers are not receiving whispers from Botisimo in Twitch, they may need to send it a whisper first to get it working for their account.
Expand Down
2 changes: 2 additions & 0 deletions docs/commands/login.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
:orphan:

!login (Discord only)
=====================

Expand Down
2 changes: 2 additions & 0 deletions docs/commands/logout.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
:orphan:

!logout (Discord only)
======================

Expand Down
2 changes: 2 additions & 0 deletions docs/commands/playlists.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
:orphan:

!playlists (Discord only)
=========================

Expand Down
4 changes: 0 additions & 4 deletions docs/commands/poll.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ __ #open
__ #view
__ #winner

.. note::

If a command argument is required it will be wrapped in ``<`` ``>`` and if the argument is optional it will be wrapped in ``[`` ``]``.

.. note::

You can display the active poll in your stream using the `stream overlay <https://botisimo.com/account/overlays>`_ for polls.
Expand Down
4 changes: 0 additions & 4 deletions docs/commands/timer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ __ #new
__ #start
__ #stop

.. note::

If a command argument is required it will be wrapped in ``<`` ``>`` and if the argument is optional it will be wrapped in ``[`` ``]``.

.. note::

Timers are started and stopped based on the platform (Twitch, Mixer, YouTube, etc.) the command was issued from. Timers will only post to a single channel per platform.
Expand Down
4 changes: 0 additions & 4 deletions docs/commands/vote.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@

The ``!vote`` command is used to vote in `polls <https://botisimo.com/account/polls>`_ via chat.

.. note::

If a command argument is required it will be wrapped in ``<`` ``>`` and if the argument is optional it will be wrapped in ``[`` ``]``.

.. warning::

Casting multiple votes for a poll may disqualify you from the poll if enabled by the streamer.
Expand Down
28 changes: 28 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,34 @@
html_theme = 'sphinx_rtd_theme'
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]

# Theme options
html_theme_options = {
# 'typekit_id': 'hiw1hhg',
# 'analytics_id': '',
# 'sticky_navigation': True # Set to False to disable the sticky nav while scrolling.
'logo_only': True, # if we have a html_logo below, this shows /only/ the logo with no title text
'collapse_navigation': False, # Collapse navigation (False makes it tree-like)
# 'display_version': True, # Display the docs version
# 'navigation_depth': 4, # Depth of the headers shown in the navigation bar
}

# VCS options: https://docs.readthedocs.io/en/latest/vcs.html#github
html_context = {
"display_github": True, # Integrate GitHub
"github_user": "botisimochatbot", # Username
"github_repo": "botisimo-documentation", # Repo name
"github_version": "master", # Version
"conf_py_path": "/", # Path in the checkout to the docs root
}

html_logo = 'images/botisimo-logo.png'

# These paths are either relative to html_static_path
# or fully qualified paths (eg. https://...)
html_css_files = [
'css/custom.css',
]

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
Expand Down
4 changes: 4 additions & 0 deletions docs/directives/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ Directives

Response directives are used to make dynamic actions for your `custom commands <https://botisimo.com/account/commands>`_. Directives will be processed after :doc:`response variables </variables/index>` and in the order they appear in the response text.

.. note::

If a directive argument is required it will be wrapped in ``<`` ``>`` and if the argument is optional it will be wrapped in ``[`` ``]``.

.. toctree::
:maxdepth: 1
:name: toc-directives
Expand Down
Binary file added docs/images/botisimo-avatar.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/botisimo-logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 7 additions & 14 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,12 @@ Many features of Botisimo require moderator privileges in your channel. It is hi

:doc:`Learn How to Make Botisimo a Moderator → <moderator>`

.. toctree::
:maxdepth: 1
:name: sec-moderation
:hidden:

moderator

Commands
^^^^^^^^

Commands are used to allow you and your moderators/users to interact with the bot via chat.

:doc:`View All Available Commands → <commands/index>`
:doc:`View All Commands → <commands/index>`

.. toctree::
:maxdepth: 1
Expand All @@ -47,12 +40,12 @@ Commands are used to allow you and your moderators/users to interact with the bo

commands/index

Response Variables
^^^^^^^^^^^^^^^^^^
Variables
^^^^^^^^^

Response variables are used to make dynamic `custom command <https://botisimo.com/account/commands>`_ responses.

:doc:`View All Available Variables → <variables/index>`
:doc:`View All Variables → <variables/index>`

.. toctree::
:maxdepth: 1
Expand All @@ -61,12 +54,12 @@ Response variables are used to make dynamic `custom command <https://botisimo.co

variables/index

Response Directives
^^^^^^^^^^^^^^^^^^^
Directives
^^^^^^^^^^

Response directives are used to make dynamic actions for your `custom commands <https://botisimo.com/account/commands>`_. Directives will be processed after :doc:`response variables <variables/index>` and in the order they appear in the response text.

:doc:`View All Available Directives → <directives/index>`
:doc:`View All Directives → <directives/index>`

.. toctree::
:maxdepth: 1
Expand Down
6 changes: 4 additions & 2 deletions docs/moderator.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
Making Botisimo Moderator
=========================
:orphan:

Make Botisimo Moderator
=======================

Many features of Botisimo will require moderator privileges in your channel. For example, if you want to create commands to respond with hyperlinks or if you want to use the spam filters to automatically delete unwanted messages and timeout users.

Expand Down
4 changes: 4 additions & 0 deletions docs/variables/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ Variables

Response variables are used to make dynamic `custom command <https://botisimo.com/account/commands>`_ responses. See also :doc:`response directives </directives/index>`.

.. note::

If a variable argument is required it will be wrapped in ``<`` ``>`` and if the argument is optional it will be wrapped in ``[`` ``]``.

.. toctree::
:maxdepth: 1
:name: toc-variables
Expand Down

0 comments on commit 0dec69a

Please sign in to comment.