When block-level comments enabled...
Posted: Fri Aug 25, 2023 6:18 am
Hi,
I hate complaining this and that like a babusha at a bazaar on a rainy day but still, this time, it's about the webhelp topic page layout when block-level comments enabled at the feedback site configuration.
Background:
1/ The DITA 2.0 bookmap I'm using contains MD (90%) files and DITA 2.0 topic/task/ref/concept files (10%)
2/ I generated IDs for all files within the bookmap hierarchy. Elements including p, li, sl, title, ul, ol, pre, etc.
3/ Topic toc was enabled as it's was specified in the .opt file.
4/ Block-level comments feature was enabled.
5/ All the following issues occur on html pages converted from markdown files.
Here's what happened:
1. When clicking a section title at the topic toc on the right side of the page, the page will not be repositioned to the section title itself, but the 1st or 2nd paragraph of list below the title. For example, on this page, https://docs.dolphindb.cn/help/dita/api ... E%E9%A2%98
If I click the last section title on the topic toc, the page will navigate to the second paragraph of this section. However, it should be here: Note: This occurs to pages converted from MD files only. On pages converted from DITA, everything looks great. For example: https://docs.dolphindb.cn/help/dita/iot ... qn_dwf_myb
2. When clicking a section title on the topic toc, sometimes the page will navigate to the section title after the first click, but for the second click on the same section title in topic toc, the page will navigate to the 1st or the 2nd paragraph of that section. For example, on this page, https://docs.dolphindb.cn/help/dita/plu ... #odbcclose if you click "odbc::close" on the topic toc, you will be taken to its title for the first click, then click it again, you'll find an offset similar to the previous issue.
Note: This occurs to pages converted from MD files only too.
3. When opening a page converted from MD, during the first couple of seconds, you will notice a quick progress (not quick enough to hide from my eyes though) that line spacing are increasing among paragraphs, lists, or sections. This could be reproduced on this page: https://docs.dolphindb.cn/help/dita/plu ... EADME.html . My guess was it takes time for the browser to load the frames of various block-level comments within the page, but it occurs to pages converted from markdown files again!
I hate complaining this and that like a babusha at a bazaar on a rainy day but still, this time, it's about the webhelp topic page layout when block-level comments enabled at the feedback site configuration.
Background:
1/ The DITA 2.0 bookmap I'm using contains MD (90%) files and DITA 2.0 topic/task/ref/concept files (10%)
2/ I generated IDs for all files within the bookmap hierarchy. Elements including p, li, sl, title, ul, ol, pre, etc.
3/ Topic toc was enabled as it's was specified in the .opt file.
4/ Block-level comments feature was enabled.
5/ All the following issues occur on html pages converted from markdown files.
Here's what happened:
1. When clicking a section title at the topic toc on the right side of the page, the page will not be repositioned to the section title itself, but the 1st or 2nd paragraph of list below the title. For example, on this page, https://docs.dolphindb.cn/help/dita/api ... E%E9%A2%98
If I click the last section title on the topic toc, the page will navigate to the second paragraph of this section. However, it should be here: Note: This occurs to pages converted from MD files only. On pages converted from DITA, everything looks great. For example: https://docs.dolphindb.cn/help/dita/iot ... qn_dwf_myb
2. When clicking a section title on the topic toc, sometimes the page will navigate to the section title after the first click, but for the second click on the same section title in topic toc, the page will navigate to the 1st or the 2nd paragraph of that section. For example, on this page, https://docs.dolphindb.cn/help/dita/plu ... #odbcclose if you click "odbc::close" on the topic toc, you will be taken to its title for the first click, then click it again, you'll find an offset similar to the previous issue.
Note: This occurs to pages converted from MD files only too.
3. When opening a page converted from MD, during the first couple of seconds, you will notice a quick progress (not quick enough to hide from my eyes though) that line spacing are increasing among paragraphs, lists, or sections. This could be reproduced on this page: https://docs.dolphindb.cn/help/dita/plu ... EADME.html . My guess was it takes time for the browser to load the frames of various block-level comments within the page, but it occurs to pages converted from markdown files again!