Skip to content

Commit

Permalink
docs: change the html theme to "furo"
Browse files Browse the repository at this point in the history
  • Loading branch information
graczhual committed Nov 18, 2021
1 parent 168d77a commit 1e037f7
Show file tree
Hide file tree
Showing 7 changed files with 34 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
14 changes: 14 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#
# Copyright 2021 Graviti. Licensed under MIT License.
#

---
version: 2

sphinx:
configuration: docs/source/conf.py

python:
version: "3.8"
install:
- requirements: docs/requirements.txt
17 changes: 17 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#
# Copyright 2021 Graviti. Licensed under MIT License.
#

click >= 7.0.0
filetype >= 1.0.0
numpy >= 1.20.0, <= 1.20.3; python_version >= '3.7'
numpy >= 1.16.0; python_version < '3.7'
numpy-quaternion >= 2021.3.17.16.51.43
furo==2021.11.16
requests >= 2.4.2
requests_toolbelt >= 0.3.0
sphinx==4.2.0
tqdm >= 4.14.0
typing_extensions >= 3.7.2
ulid-py >= 1.1.0
urllib3 >= 1.26.0
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

0 comments on commit 1e037f7

Please sign in to comment.