-
-
Notifications
You must be signed in to change notification settings - Fork 651
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
keyCommandsDoc.py: Refactored _handleSetting to fix the following iss…
…ues: * Previous headings for single settings were accidentally being included in the document before the start of a settings table. E.g. Browse Mode -> Maximum line length (which has no keyboard shortcut, was being included before Use Screen layout). This therefore also broke the Browse Mode table in to smaller tables. * Tables were not being correctly ended with a blank line as markdown requires, so sometimes subsequent headings were being shown as raw markdown as part of the previous table. e.g. The Synth settings ring heading was being shown as raw markdown within the Synthesizer Selection table. Also correct 0-based heading level counting: the first heading symbol in t2t is of length 1, but in markdown it is of length 2. this stops the "Introduction" heading from accidentally appearing at the top of the key commands doc.
- Loading branch information
1 parent
dbf6ff3
commit 1992f9e
Showing
1 changed file
with
63 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters