Skip to content

Update .gitignore to include _build/ folder from docs/source#8911

Merged
JukkaL merged 1 commit intopython:masterfrom
ChetanKhanna:update-gitignore
Jun 8, 2020
Merged

Update .gitignore to include _build/ folder from docs/source#8911
JukkaL merged 1 commit intopython:masterfrom
ChetanKhanna:update-gitignore

Conversation

@ChetanKhanna
Copy link
Copy Markdown
Contributor

While sending a PR for a documentation update I noticed an untracked docs/source/_build/ folder, containing html files for the documentation. I added the same to gitignore so to avoid them getting pushed mistakenly.

@TH3CHARLie
Copy link
Copy Markdown
Collaborator

I am curious about how you compile/generate the HTML files, would you mind sharing the commands you run?

@ChetanKhanna
Copy link
Copy Markdown
Contributor Author

I didn't run any particular command other than the usual git commands after making the changes. The only thing unusual was probably a sphinx popup on my vs code editor while opening the rst file which I might have clicked 🤔
Unfortunately I don't have any knowledge of sphinx so I don't have any further details

@TH3CHARLie
Copy link
Copy Markdown
Collaborator

TH3CHARLie commented May 28, 2020

I didn't run any particular command other than the usual git commands after making the changes. The only thing unusual was probably a sphinx popup on my vs code editor while opening the rst file which I might have clicked 🤔
Unfortunately I don't have any knowledge of sphinx so I don't have any further details

What I originally mean is that, for usual cases, people build docs by:

cd docs
make html

Following this workflow usually doesn't generate anything that hasn't been git-ignored. In your cases, I bet the docs/source/_build folder is generated by vscode plugin.

@ChetanKhanna
Copy link
Copy Markdown
Contributor Author

What I originally mean is that, for usual cases, people build docs by:

cd docs
make html

Following this workflow usually doesn't generate anything that hasn't been git-ignored. In your cases, I bet the docs/source/_build folder is generated by vscode plugin.

Agreed since I never executed these commands.

@JukkaL
Copy link
Copy Markdown
Collaborator

JukkaL commented Jun 8, 2020

Ignoring this directory seems no big deal even if it's not necessary when using the official workflow.

@JukkaL JukkaL merged commit fe216a3 into python:master Jun 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants