Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make docs dev command failed on main branch #664

Closed
pankajastro opened this issue Sep 23, 2022 · 4 comments
Closed

make docs dev command failed on main branch #664

pankajastro opened this issue Sep 23, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@pankajastro
Copy link
Contributor

Describe the bug
Recently I'm facing an issue while running make docs in my env. may be related to executablebooks/sphinx-copybutton#170 issue but not sure

To Reproduce
run make docs in astronomer-providers

Screenshot 2022-09-24 at 12 38 31 AM

@pankajastro pankajastro added the bug Something isn't working label Sep 23, 2022
@kaxil
Copy link
Collaborator

kaxil commented Sep 23, 2022

Did you build the image from scratch?

The following library should be installed

sphinx-copybutton

@pankajastro
Copy link
Contributor Author

Did you build the image from scratch?

The following library should be installed

sphinx-copybutton

hmm, After your comments, I build it from scratch with

make stop
make clean
docker system prune -a
make build-run

but the issue persists. I was trying this from pychram terminal in conda env but after manually installing sphinx-copybutton in env with conda install -c conda-forge sphinx-copybutton it started working

@kaxil
Copy link
Collaborator

kaxil commented Sep 26, 2022

Looks like it is because the make docs command does not currently use docker.. maybe run pip install -e .[docs] in that?

docs: ## Build the docs using Sphinx
cd docs && make clean html && cd .. && echo "Documentation built in $(shell pwd)/docs/_build/html/index.html"

@pankajastro
Copy link
Contributor Author

running

pip install -e .[docs]

and then make docs worked!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants