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

Add /home/docs/node_modules/.bin to PATH #108

Closed
humitos opened this issue Jul 11, 2019 · 3 comments · Fixed by #166
Closed

Add /home/docs/node_modules/.bin to PATH #108

humitos opened this issue Jul 11, 2019 · 3 comments · Fixed by #166

Comments

@humitos
Copy link
Member

humitos commented Jul 11, 2019

It would be good to add this directory to the PATH so we can use these commands when building.

I'm currently doing this as a workaround when building.

os.environ['PATH'] = '/home/docs/node_modules/.bin/:{}'.format(os.environ.get('PATH'))
@stsewd
Copy link
Member

stsewd commented Jul 11, 2019

I'm currently doing this as a workaround when building.

Do you mean when building documentation or when you build the docker images? I think we delete the whole path env when building.

@humitos
Copy link
Member Author

humitos commented Jul 11, 2019

When building documentation. I'm adding that into a conf.py file for now.

@stsewd
Copy link
Member

stsewd commented Jul 11, 2019

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 a pull request may close this issue.

2 participants