8 Star 41 Fork 48

EdgeGallery / docs

 / 详情

Table headers has an extra line with the column and row division line blurred

Open
缺陷(Bug)
创建于  
2021-05-11 20:04

###环境信息

###问题描述

###重现步骤

###期望结果

###实际结果
BUG 1: FIXED
DESCRIPTION:
.pot files do not have translatable source for tables.

ANALYSIS:
With myst_parser, I am unable to make .pot file accept any table files. In aspect to this, I worked on the below items,
• I installed po4a conveter of md to pot file, which generated plain md table as msgid. But, this didn't get supported in sphinx-doc with myst_parser or without mysr_parser.
• Before myst_parser's presence in local, the html file was able to absorb the translated table, which was again filled with html tags, but the same wasn't reflected in mainline html page, as locally, the build was using myst_parser.
• With myst_parser, there is no support of table files, either in md format, or html format,
For the above issue, the conclusion I was able to draw was that, sphinx never had in-built md table conversion. In order to support md table files, the tool sphinx-markdown-tables was added additionally to the extensions of conf.py. And both reconnmark and myst_parser, merely assist building docutils library with what sphinx-markdown-table provided as output.

W.r.t .pot file, the entire md table translation isn't aided by myst_parser, as it (might) not be able to do what sphinx-markdown-tables was doing in a normal sphinx build.

I am in a blocker here, as I didn't find any sufficient information, or guideline to move forward with respect to table of md files.
####################################################################################################

BUG 2:

In order to solve BUG 1, I removed the new line, present above a pipe option in table beginning of .md files. Every table in .md files, will have a content in previous line, rather than maintaining a new line.

This resulted in proper .pot and .po file generation, where the .po files rendered option for translating content inside tables.

Although, this resulted in exatra line being added for a table header, with invisible shadow for column and row divider.

Currently, this issue is a blocker and no solution has been found.

评论 (0)

Janani 创建了缺陷(Bug)
Janani 关联仓库设置为EdgeGallery/docs
Janani 负责人设置为Janani
Janani 修改了描述
Janani 修改了标题
zhangbeiyuan 任务状态待确认(已删除) 修改为开发定位(已删除)
zhangbeiyuan 任务状态开发定位(已删除) 修改为Open
kanag 负责人Janani 修改为未设置
kanag 负责人设置为Prakash
展开全部操作日志

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(1)
1
https://gitee.com/edgegallery/docs.git
git@gitee.com:edgegallery/docs.git
edgegallery
docs
docs

搜索帮助