Changes
Note: The source code has now switched to a default branch named main
ahead of the changes planned by GitHub.
See their notes for more information.
Bugfixes
- The
pytest
config file now sets the local source path as the first search path for the main novelWriter package. This ensures that the tests can always find the correct version of the code when running tests. PR #381. - The
install.py
script was expecting an older file layout for assets files. This has now been updated to the curren file layout. PR #380.
User Interface
- A set of new exception handling functions have been added. Recoverable errors will now pop an error dialog with the error message and a traceback for the user. The application will not generally exit on such errors, unless it causes Python itself to abort. It is possible to copy and paste the error message so it can be used for a ticket in the issue tracker. PRs #376 and #378.
Documentation
- The full documentation for novelWriter, available at novelwriter.readthedocs.io has been rewritten. It was drifting out of sync with the development of the code. In addition, many improvements have been made to the reStructuredText formatting of the documentation source by providing better cross-reference linking and highlightings. The main repository README file has been updated to match. PRs #375, #382, and #384.
- The main
setup.py
script has been updated to also build documentation for the Qt Assistant when given aqthelp
flag. The compiled help files are copied into thenw/assets/help
folder, and bundled with the source when pushed to PyPi. The GUI has been altered to open the local help files instead of redirecting to the online documentation if the local files are both present and the Qt Assistant is installed. PR #375 and #379.
Other Changes
- Some minor changes to the source code has been made to more correctly use the Python
__package__
variable. PR #376.