-
Notifications
You must be signed in to change notification settings - Fork 120
Configurable Help source #948
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
Comments
Maybe instead of using a web address, it can use the local path instead. The problem here is that it's different for every OS, so that's a complication. |
Yes, but I suppose we know the defaults. And we can add a browser window which allows the user to correct the defaults. |
We don't know it from within Stella. For Windows at least, the install path is set by the installer (InnoSetup), which is separate from Stella. Similarly in Linux, it's determined by the |
Would relative paths work? |
Only if the user doesn't change where Stella is installed, since that happens at install-time, long after Stella has been compiled. I ran into similar issues with |
I mean, wouldn't Stella know where its executable is? Or at least the relative path to the docs? |
Not easily in a cross-platform way. Here's the relevant code from the big 3 OS's:
Windows and macOS are using Qt-specific code, and Linux doesn't even have access to that. I guess we could look at the Qt source and see how it's done there. But that still doesn't solve the problem for Linux. |
We either find out or let the user navigate to the correct spot. I suppose he should know were the documentation is, no? At least for Windows we seem to already have the code ( Maybe |
I now remember that Windows is having problems passing parameters when opening a file. In our case it will then simply open the doc, but not navigate to the given context. The user can change this behavior by editing the registry, but I suppose that's not feasible here. How are Linux and MacOS behaving here? |
Currently all help is provided from the web. It should be possible to configure Stella so that it uses the local help instead.
The text was updated successfully, but these errors were encountered: