Skip to content

Commit 0ef6dde

Browse files
committed
Move docs/_build to docs/build
1 parent 7f7bb36 commit 0ef6dde

File tree

5 files changed

+12
-6
lines changed

5 files changed

+12
-6
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ instance/
9292

9393
# Sphinx documentation
9494
docs/_build/
95+
docs/build/
9596

9697
# PyBuilder
9798
.pybuilder/

.readthedocs.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ build:
1414
- asdf install uv latest
1515
- asdf global uv latest
1616
- uv venv "${READTHEDOCS_VIRTUALENV_PATH}"
17-
- UV_PROJECT_ENVIRONMENT="${READTHEDOCS_VIRTUALENV_PATH}" uv sync --all-extras --no-dev
18-
- UV_PROJECT_ENVIRONMENT="${READTHEDOCS_VIRTUALENV_PATH}" uv sync --package pystac-docs --inexact # we need inexact to keep the top-level sync packages
17+
- UV_PROJECT_ENVIRONMENT="${READTHEDOCS_VIRTUALENV_PATH}" sync --group docs --link-mode=copy
1918

2019
formats:
2120
- pdf

docs/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
SPHINXOPTS =
66
SPHINXBUILD = sphinx-build
77
SOURCEDIR = .
8-
BUILDDIR = _build
8+
BUILDDIR = build
99

1010
# Put it first so that "make" without argument is like "make help".
1111
help:
1212
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
1313

1414
livehtml:
15-
sphinx-autobuild --watch ../pystac --host 0.0.0.0 ${SOURCEDIR} $(BUILDDIR)/html -d _build/doctrees
15+
sphinx-autobuild --watch ../pystac --host 0.0.0.0 ${SOURCEDIR} $(BUILDDIR)/html -d build/doctrees
1616

1717
.PHONY: help Makefile
1818

docs/conf.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,13 @@
106106
# List of patterns, relative to source directory, that match files and
107107
# directories to ignore when looking for source files.
108108
# This pattern also affects html_static_path and html_extra_path.
109-
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store", "**.ipynb_checkpoints"]
109+
exclude_patterns = [
110+
"_build",
111+
"build/*",
112+
"Thumbs.db",
113+
".DS_Store",
114+
"**.ipynb_checkpoints",
115+
]
110116

111117
# The name of the Pygments (syntax highlighting) style to use.
112118
pygments_style = None

docs/make.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ if "%SPHINXBUILD%" == "" (
88
set SPHINXBUILD=sphinx-build
99
)
1010
set SOURCEDIR=.
11-
set BUILDDIR=_build
11+
set BUILDDIR=build
1212

1313
if "%1" == "" goto help
1414

0 commit comments

Comments
 (0)