Skip to content

Commit

Permalink
fix: add build.os to RTD & install proper youtube sphinx dep (#72)
Browse files Browse the repository at this point in the history
* fix: add build.os to RTD

* chore: upgrade dependencies & fix youtube extension

* refactor: remove release key from project

* fix: add blank line to the end
  • Loading branch information
bra-i-am authored Apr 11, 2024
1 parent 2b5e5b1 commit 134ed7f
Show file tree
Hide file tree
Showing 8 changed files with 130 additions and 112 deletions.
7 changes: 5 additions & 2 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,18 @@
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
# Set the version of Python and other tools you might need
version: 2
build:
os: ubuntu-22.04
tools:
python: "3.11"

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/source/conf.py
fail_on_warning: true

python:
version: 3.8
install:
- requirements: requirements/doc.txt
3 changes: 1 addition & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,12 @@
project = 'TVM'
copyright = '2022, eduNEXT'
author = 'eduNEXT'
release = 'v2.1.1'

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

extensions = [
"sphinxcontrib.yt",
"sphinxcontrib.youtube",
"sphinxcontrib.images",
"sphinx_panels",
"sphinxcontrib.contentui",
Expand Down
36 changes: 18 additions & 18 deletions requirements/base.txt
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
#
# This file is autogenerated by pip-compile with python 3.10
# To update, run:
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
# make upgrade
#
certifi==2022.9.24
certifi==2024.2.2
# via requests
charset-normalizer==2.1.1
charset-normalizer==3.3.2
# via requests
click==8.1.3
click==8.1.7
# via -r requirements/base.in
distlib==0.3.6
distlib==0.3.8
# via virtualenv
filelock==3.8.0
filelock==3.13.3
# via virtualenv
gitdb==4.0.9
gitdb==4.0.11
# via gitpython
gitpython==3.1.27
gitpython==3.1.43
# via -r requirements/base.in
idna==3.4
idna==3.6
# via requests
jinja2==3.1.2
jinja2==3.1.3
# via -r requirements/base.in
markupsafe==2.1.1
markupsafe==2.1.5
# via jinja2
platformdirs==2.5.2
platformdirs==4.2.0
# via virtualenv
pyyaml==6.0
pyyaml==6.0.1
# via -r requirements/base.in
requests==2.28.1
requests==2.31.0
# via -r requirements/base.in
smmap==5.0.0
smmap==5.0.1
# via gitdb
urllib3==1.26.12
urllib3==2.2.1
# via requests
virtualenv==20.16.5
virtualenv==20.25.1
# via -r requirements/base.in
84 changes: 42 additions & 42 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
@@ -1,99 +1,95 @@
#
# This file is autogenerated by pip-compile with python 3.10
# To update, run:
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
# make upgrade
#
astroid==2.11.7
# via pylint
attrs==22.1.0
# via pytest
certifi==2022.9.24
certifi==2024.2.2
# via
# -r requirements/base.txt
# requests
charset-normalizer==2.1.1
charset-normalizer==3.3.2
# via
# -r requirements/base.txt
# requests
click==8.1.3
click==8.1.7
# via -r requirements/base.txt
coverage==6.5.0
coverage==7.4.4
# via -r requirements/dev.in
dill==0.3.5.1
dill==0.3.8
# via pylint
distlib==0.3.6
distlib==0.3.8
# via
# -r requirements/base.txt
# virtualenv
filelock==3.8.0
exceptiongroup==1.2.0
# via pytest
filelock==3.13.3
# via
# -r requirements/base.txt
# virtualenv
gitdb==4.0.9
gitdb==4.0.11
# via
# -r requirements/base.txt
# gitpython
gitpython==3.1.27
gitpython==3.1.43
# via -r requirements/base.txt
idna==3.4
idna==3.6
# via
# -r requirements/base.txt
# requests
iniconfig==1.1.1
iniconfig==2.0.0
# via pytest
isort==5.10.1
isort==5.13.2
# via pylint
jedi==0.18.1
jedi==0.19.1
# via pudb
jinja2==3.1.2
jinja2==3.1.3
# via -r requirements/base.txt
lazy-object-proxy==1.7.1
lazy-object-proxy==1.10.0
# via astroid
markupsafe==2.1.1
markupsafe==2.1.5
# via
# -r requirements/base.txt
# jinja2
mccabe==0.7.0
# via pylint
packaging==21.3
packaging==24.0
# via
# pudb
# pytest
parso==0.8.3
parso==0.8.4
# via jedi
platformdirs==2.5.2
platformdirs==4.2.0
# via
# -r requirements/base.txt
# pylint
# virtualenv
pluggy==1.0.0
pluggy==1.4.0
# via pytest
pudb==2022.1.2
pudb==2024.1
# via -r requirements/dev.in
py==1.11.0
# via pytest
pycodestyle==2.9.1
pycodestyle==2.11.1
# via -r requirements/dev.in
pydocstyle==6.1.1
pydocstyle==6.3.0
# via -r requirements/dev.in
pygments==2.13.0
pygments==2.17.2
# via pudb
pylint==2.14.5
# via
# -c requirements/constraints.txt
# -r requirements/dev.in
pyparsing==3.0.9
# via packaging
pytest==7.1.3
pytest==8.1.1
# via -r requirements/dev.in
pyyaml==6.0
pyyaml==6.0.1
# via -r requirements/base.txt
requests==2.28.1
requests==2.31.0
# via
# -r requirements/base.txt
# -r requirements/dev.in
smmap==5.0.0
smmap==5.0.1
# via
# -r requirements/base.txt
# gitdb
Expand All @@ -103,21 +99,25 @@ tomli==2.0.1
# via
# pylint
# pytest
tomlkit==0.11.5
tomlkit==0.12.4
# via pylint
urllib3==1.26.12
typing-extensions==4.11.0
# via urwid
urllib3==2.2.1
# via
# -r requirements/base.txt
# requests
urwid==2.1.2
urwid==2.6.10
# via
# pudb
# urwid-readline
urwid-readline==0.13
urwid-readline==0.14
# via pudb
virtualenv==20.16.5
virtualenv==20.25.1
# via -r requirements/base.txt
wrapt==1.14.1
wcwidth==0.2.13
# via urwid
wrapt==1.16.0
# via astroid

# The following packages are considered to be unsafe in a requirements file:
Expand Down
8 changes: 7 additions & 1 deletion requirements/doc.in
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
sphinx==4.2.0
sphinx-book-theme==0.3.3
recommonmark==0.6.0
sphinxcontrib.yt==0.2.2
sphinxcontrib.images==0.9.4
sphinx_panels==0.6.0
sphinxcontrib.contentui==0.2.5
sphinx_copybutton==0.5.0
sphinxcontrib.mermaid==0.7.1
sphinxcontrib-applehelp==1.0.4
sphinxcontrib-devhelp==1.0.2
sphinxcontrib-htmlhelp==2.0.1
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-serializinghtml==1.1.5
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-youtube==1.3.0
Loading

0 comments on commit 134ed7f

Please sign in to comment.