mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-05-04 21:12:34 +12:00
Page:
Contributing guidelines for developers
Pages
Adding a Spellcheck Language Dictionary to Manuskript
Bundle manuskript for OS X with Platypus
Configuration Settings Storage Locations
Contributing guidelines for developers
Creating manuskript binary for Android and IOS
Documentation Snippets
Fullscreen Mode
Home
How To Directory
How to Add Images to a Project
How to Display Remote Pictures
How to Enable Dark Theme
How to Export with Manuskript and Post Process with Calibre
How to format your project with book and research notes in separate root level folders
How to keep track of important items
How to run manuskript globally, from anywhere
How to start a new project
Import and Export capabilities
Keyboard Shortcuts
Notes for linux packagers: removable files
Overview of Manuskript Menu
Overview of Manuskript Panes
Overview of Manuskript Right Sidebar
Overview of Manuskript Settings
Package Manuskript for Linux with PyInstaller
Package Manuskript for Linux with Stdeb
Package Manuskript for Linux with dpkg
Package Manuskript for Linux with rpm
Package Manuskript for Windows with PyInstaller
Package Manuskript for Windows with wine
Package manuskript for OS X
Roadmap
Run Manuskript from Source Code on Linux
Run Manuskript from Source Code on Windows
Run manuskript on OS X
Steps To Create An Official Manuskript Release
Submitting an issue on Github
Technical Support
Translate Manuskript
[Packaging] Generate Windows binaries with pyInstaller (HowTo)
2
Contributing guidelines for developers
Barthélemy edited this page 2022-09-18 20:19:25 +02:00
Table of Contents
This page is a draft.
Please review these guidelines before submitting a PR, to make the maintainers' jobs easier:
(!) From the wiki homepage; some of these may be outdated.
- Manuskript is written in Python3 and PyQt5
- All code changes and Pull Requests should be based on the develop branch.
- The minimum target screen resolution is 1024x600 (was popular with small laptops / netbooks)
- We strive to conform to Qt guidelines. E.g.: User Interface Text Guidelines
- Tip: Add
--console
as last option on command line to use IPython Jupyter QT Console as a debugging aid. - DRAFT
We try to ensure that Manuskript will run on currently supported Operating Systems with Qt integration. This includes several GNU/Linux distributions, in addition to recent versions of proprietary Windows and macOS X.
OSes we often use in our testing include: Debian, Fedora, Ubuntu, and Windows.
No promise of support is provided. See also GNU General Public License. - Roadmap contains some potential future plans.
New
Code Style
- The codebase mostly follows PEP8.
Documentation
- (In-code documentation)
- If you add or change a feature, please update the end-user docs or request for someone in the community to do so.
Logging
Avoid using print()
statements in the code, which will be seen by end users. All logging should be done through the python logging
module as follows:
import logging
LOGGER = logging.getLogger(__name__)
# Inside your code
LOGGER.warning("This is my warning message.")
See here for more on the logging module and the different message levels.