Closed
Description
MCVE
Apologies if this has already been noted, but I can't find an open issue. When I create the docs from scratch, I see a couple temporary files and directories that appear to have been created by accident. If this is a legitimate issue, I'm happy to put together a PR.
Here is an MCVE:
(xarray-docs) gwg:doc gwg$ make clean
rm -rf _build/*
rm -rf generated/*
rm -rf auto_gallery/
(xarray-docs) gwg:doc gwg$ git status
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
(xarray-docs) gwg:doc gwg$ make html
sphinx-build -b html -d _build/doctrees . _build/html'
...
Build finished. The HTML pages are in _build/html.
(xarray-docs) gwg:doc gwg$ git status
On branch master
Your branch is up to date with 'origin/master'.
Untracked files:
(use "git add <file>..." to include in what will be committed)
example-no-leap.nc
foo.zarr/
manipulated-example-data.nc
path/
nothing added to commit but untracked files present (use "git add" to track)
Expected Output
I would expect no files to be created by make html
in the doc
directory.
Problem Description
It's not clear this will happen and may result in some people (me!) accidentally committing these files with git commit -A
.
Metadata
Metadata
Assignees
Labels
No labels