Skip to content

Commit

Permalink
chore: reorganize docs structure
Browse files Browse the repository at this point in the history
  • Loading branch information
XuehaiPan committed Jul 19, 2022
1 parent 6424cad commit 7210c0d
Show file tree
Hide file tree
Showing 20 changed files with 20 additions and 9 deletions.
12 changes: 10 additions & 2 deletions conda-recipe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ dependencies:
- pytorch::pytorch-mutex = *=*cuda*
- pip:
- functorch
- torchviz
- sphinxcontrib-katex # for documentation
- jax
- jaxlib >= 0.3=*cuda*
- optax
Expand Down Expand Up @@ -51,10 +53,16 @@ dependencies:

# Documentation
- sphinx
- sphinxcontrib-spelling
- sphinx_rtd_theme
- sphinx-autobuild
- sphinx-copybutton
- sphinx_rtd_theme
- sphinxcontrib-spelling
- sphinxcontrib-bibtex
- sphinx-autodoc-typehints
- myst-nb
- ipykernel
- pandoc
- docutils

# Testing
- pytest
Expand Down
4 changes: 2 additions & 2 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
# from the environment for the first two.
SPHINXOPTS ?=
SPHINXBUILD ?= sphinx-build
SOURCEDIR = .
BUILDDIR = _build
SOURCEDIR = source
BUILDDIR = build

# Put it first so that "make" without argument is like "make help".
help:
Expand Down
7 changes: 5 additions & 2 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@ functorch

--requirement ../requirements.txt

sphinx
sphinx_rtd_theme
sphinx >= 5.0
sphinx-autoapi
sphinx-autobuild
sphinx-copybutton
sphinx-rtd-theme
sphinxcontrib-katex
sphinxcontrib-bibtex
sphinx-autodoc-typehints
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/conf.py → docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@


HERE = pathlib.Path(__file__).absolute().parent
PROJECT_ROOT = HERE.parent
PROJECT_ROOT = HERE.parent.parent


def get_version() -> str:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Lint Check

We use several tools to secure code quality, including

- PEP8 code style: flake8, yapf, isort;
- PEP8 code style: flake8, isort, black;
- Type check: mypy;
- C++ Google-style: cpplint, clang-format;
- License: addlicense;
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pytest
pytest-cov
pytest-xdist
isort
yapf
black >= 22.6.0
mypy
flake8
flake8-bugbear
Expand Down

0 comments on commit 7210c0d

Please sign in to comment.