Skip to content

Commit

Permalink
docs: change the html theme to "furo"
Browse files Browse the repository at this point in the history
PR Closed: #1061
  • Loading branch information
graczhual committed Dec 28, 2021
1 parent 8c6b192 commit 3094c33
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:

- name: Install dependencies
run: |
pip install sphinx sphinx_rtd_theme
pip install sphinx furo
pip install -r requirements.txt
- name: Build docs
Expand Down
15 changes: 15 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#
# Copyright 2021 Graviti. Licensed under MIT License.
#

---
version: 2

sphinx:
configuration: docs/source/conf.py

python:
version: "3.8"
install:
- requirements: requirments_docs.txt
- requirements: requirements.txt
3 changes: 1 addition & 2 deletions docs/source/advanced_features/request_configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ Note that the default settings can satisfy most use cases.
.. _request_config_table:

.. table:: Requests Configuration Tables
:align: center
:widths: auto

===================== ======================================================================================
Expand Down Expand Up @@ -41,4 +40,4 @@ Usage
.. literalinclude:: ../../../docs/code/request_configuration.py
:language: python
:start-after: """Example of request config"""
:end-before: """"""
:end-before: """"""
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme = "sphinx_rtd_theme"
html_theme = "furo"
html_favicon = "images/favicon.svg"


Expand Down
1 change: 0 additions & 1 deletion docs/source/quick_start/examples/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ The following table lists a series of examples to help developers to use TensorB
.. _examples_table:

.. table:: Examples
:align: center
:widths: auto

====================================================================== =========================================================================
Expand Down
1 change: 0 additions & 1 deletion docs/source/tensorbay_cli/cli_commands.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ The following table lists the currently supported CLI commands.(:numref:`Table.
.. _cli_commands_table:

.. table:: CLI Commands
:align: center
:widths: auto

======================================================= ===========================================================
Expand Down
6 changes: 6 additions & 0 deletions requirments_docs.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#
# Copyright 2021 Graviti. Licensed under MIT License.
#

furo >= 2021.11.23
sphinx == 4.2.0

0 comments on commit 3094c33

Please sign in to comment.