Skip to content

Commit

Permalink
update requirements (#49)
Browse files Browse the repository at this point in the history
* update requirements

* fix RTD requirements
  • Loading branch information
liruilong940607 authored Oct 5, 2022
1 parent d67b8c3 commit 8c58be5
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 41 deletions.
7 changes: 2 additions & 5 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,5 @@ python:
# Equivalent to 'pip install .'
- method: pip
path: .
# Equivalent to 'pip install .[docs]'
- method: pip
path: .
extra_requirements:
- docs
# Equivalent to 'pip install -r docs/requirements.txt'
- requirements: docs/requirements.txt
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# NerfAcc
[![Core Tests.](https://github.com/KAIR-BAIR/nerfacc/actions/workflows/code_checks.yml/badge.svg)](https://github.com/KAIR-BAIR/nerfacc/actions/workflows/code_checks.yml)
[![Documentation Status](https://readthedocs.com/projects/plenoptix-nerfacc/badge/?version=latest)](https://plenoptix-nerfacc.readthedocs-hosted.com/en/latest/?badge=latest)
[![Documentation Status](https://readthedocs.com/projects/plenoptix-nerfacc/badge/?version=latest)](https://www.nerfacc.com/en/latest/?badge=latest)

https://www.nerfacc.com/

Expand Down
4 changes: 4 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
pytorch_sphinx_theme @ git+https://github.com/liruilong940607/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme
sphinx==5.2.1
sphinx-copybutton==0.5.0
sphinx-design==0.2.0
40 changes: 20 additions & 20 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,29 +47,29 @@
# documentation.
html_theme_options = {
# The target url that the logo directs to. Unset to do nothing
"logo_url": "https://plenoptix-nerfacc.readthedocs-hosted.com/en/latest/index.html",
"logo_url": "https://www.nerfacc.com/en/latest/index.html",
# "menu" is a list of dictionaries where you can specify the content and the
# behavior of each item in the menu. Each item can either be a link or a
# dropdown menu containing a list of links.
"menu": [
# A link
{"name": "GitHub", "url": "https://github.com/KAIR-BAIR/nerfacc"},
# A dropdown menu
{
"name": "Projects",
"children": [
# A vanilla dropdown item
{
"name": "nerfstudio",
"url": "https://docs.nerf.studio/",
"description": "The all-in-one repo for NeRFs",
},
],
# Optional, determining whether this dropdown menu will always be
# highlighted.
# "active": True,
},
],
# "menu": [
# # A link
# {"name": "GitHub", "url": "https://github.com/KAIR-BAIR/nerfacc"},
# # A dropdown menu
# {
# "name": "Projects",
# "children": [
# # A vanilla dropdown item
# {
# "name": "nerfstudio",
# "url": "https://docs.nerf.studio/",
# "description": "The all-in-one repo for NeRFs",
# },
# ],
# # Optional, determining whether this dropdown menu will always be
# # highlighted.
# # "active": True,
# },
# ],
}
# html_theme_options = {
# "canonical_url": "",
Expand Down
17 changes: 2 additions & 15 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,21 +40,8 @@ dev = [
"pytest-xdist==2.5.0",
"typeguard>=2.13.3",
"pyyaml==6.0",
]
# Documentation packages
docs = [
"pytorch_sphinx_theme @ git+https://github.com/liruilong940607/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme",
"sphinx==5.2.1",
"sphinx-copybutton==0.5.0",
"sphinx-design==0.2.0"
]
# Example packages
examples = [
"tinycudann @ git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch",
"imageio",
"opencv-python",
"numpy",
"tqdm"
"build",
"twine",
]

# [tool.setuptools.packages.find]
Expand Down

0 comments on commit 8c58be5

Please sign in to comment.