Developer Guide: Fix not parsed headers - #12332
Merged
seanbudd merged 3 commits intoApr 28, 2021
Merged
Conversation
Member
|
@Qchristensen - do you know if this change would have any impact with external documentation (see "Known issues with pull request")? |
seanbudd
requested changes
Apr 28, 2021
Member
There was a problem hiding this comment.
@JulienCochuyt, Thanks for looking into this. I think I found the source of the original problem, the sub-lists above the headers weren't being terminated properly.
If you apply this patch to master the indentation after the bullet list will be fixed, as is the monospace formatting for the changed bullet points. Do you mind using this patch or if I apply it on this branch?
diff --git a/devDocs/developerGuide.t2t b/devDocs/developerGuide.t2t
index a5179638b..7528d1e84 100644
--- a/devDocs/developerGuide.t2t
+++ b/devDocs/developerGuide.t2t
@@ -724,12 +724,14 @@ Otherwise, the add-on will not install.
- e.g "2019.1.1"
- Must be a three part version string I.E. Year.Major.Minor, or a two part version string of Year.Major. In the second case, Minor defaults to 0.
- Defaults to "0.0.0"
- - Must be less than or equal to `lastTestedNVDAVersion`
+ - Must be less than or equal to ``lastTestedNVDAVersion``
+ -
- lastTestedNVDAVersion (string): The last version of NVDA this add-on has been tested with.
- e.g "2019.1.0"
- Must be a three part version string I.E. Year.Major.Minor, or a two part version string of Year.Major. In the second case, Minor defaults to 0.
- Defaults to "0.0.0"
- - Must be greater than or equal to `minimumNVDAVersion`
+ - Must be greater than or equal to ``minimumNVDAVersion``
+ -
-
All string values must be enclosed in quotes as shown in the example below.Co-authored-by: Sean Budd <sean@nvaccess.org>
Contributor
Author
seanbudd
approved these changes
Apr 28, 2021
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Link to issue number:
None
Summary of the issue:
The following two snippets can be found in the current Developer Guide as rendered in HTML format:
+++ An Example Manifest File +++These have been around for quite some time.
It seems quite obvious they should be rendered as headers, respectively:
4.2.2. An Example Manifest File4.3. Plugins and DriversDescription of how this pull request fixes the issue:
Adding a blank line above the first snippet fixes both issues.
I have no clue why this is.
I also removed a trailing whitespace before the second one, which does not seem to change anything.
Oddly enough, I've first discovered the second snippet, which can be also fixed on its own by adding a blank line before it.
It turns out to be unnecessary once the first snippet is fixed, though, as both get automagically rendered correctly.
Testing strategy:
Rendered the modified Developer Guide and checked both snippets are now rendered as expected.
Known issues with pull request:
4.3. Optional install / Uninstall codebecomes
4.4. Optional install / Uninstall codeand so forth.
Any eventual external reference should be updated accordingly.
I'm not aware of any.
Change log entries:
This IMHO does not deserve a change log entry.
If deemed otherwise, I would propose the following:
For Developers
A few rendering issues have been fixed in the Developer Guide, impacting headers numbering from 4.3 to 4.6.
Code Review Checklist: