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

Document how to display a local file #4

Open
kubilayeksioglu opened this issue Nov 19, 2014 · 1 comment
Open

Document how to display a local file #4

kubilayeksioglu opened this issue Nov 19, 2014 · 1 comment

Comments

@kubilayeksioglu
Copy link

Documentation displays how to open up http://breach.cc but there's no option to display a local file.

Currently this is what I'm using:

ROOT_FOLDER = os.path.abspath(os.path.dirname(__file__))
window = api.window({'root_url': 'file://%s/html/index.html' % ROOT_FOLDER})

but there might be a better option which I do not know.

@spolu
Copy link
Member

spolu commented Nov 19, 2014

This is correct. Feel free to open a pull request with documentation (even a small subset) if you want. You can look at the https://github.com/breach/thrust project for the documentation structure!

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

No branches or pull requests

2 participants