Closed ifokkema closed 9 months ago
Wow. This was an enormous amount of work @ifokkema . Thank you.
You're welcome!
It's too late now, but in the future I would very much appreciate smaller PRs with tighter focus. I would especially appreciate separating reformatting (without content changes) from other kinds of changes. However, I also know from personal experience with this site that it's very hard to resist the temptation (and sometimes the necessity) to fix multiple areas at the same time.
The main issue was actually time - fixing styling, typos, and mistakes in variant descriptions separately would require me to run over all pages three times. I estimate to already have taken about 50 hours for this work; separating all of this would have meant re-reading everything several times, comparing the new with the old pages multiple times, etc. And, of course, it would duplicate work as sometimes mistakes in variant descriptions were fixed by styling them. I anticipated this, which is why I suggested earlier to split my work into "functional" parts (DNA pages, RNA pages, protein pages, etc). But I fear that, nonetheless, each PR would have been very difficult to review fully.
In any case, I am very certain that you've substantially improved the consistency of the site. Again, thanks!
I certainly hope so! :smile:
Fix all remaining style issues, and many other issues
For this commit, I have reviewed every single page of the documentation. The intent was to fix all remaining style issues (mostly applying formatting and fixing broken lists), but since I was going through all the pages for this, it would be incredibly inefficient not to fix other issues that I encountered right away. I'm sure the diff will be unreadable, so I hope this PR will provide sufficient information to be able to review these changes.
Style issues
<br>
, instead.`c.100A>G`
.delA
variants orIVS2+2del
examples) where annotated as<code class="invalid">...</code>
. This highlights the variant descriptions in red, reminding the user never to use them.c.100del
or so) are always wrong.<code class="ins">...</code>
,<code class="del">...</code>
, etc. Because variant descriptions are currently styled to be a bit smaller than the original text, nesting these (`c.100A>G<code class="spot1">(;)</code>110G>C`
) got really ugly. Decided to not nest them, and use`c.100A>G`<code class="spot1">(;)</code>`110G>C`
, instead._
and*
as styling. I don't see the pattern when it works and when it doesn't, so I just escaped everything in variants that were styled by Markdown using their internal syntax.Other issues
_this_
into*this*
, but in some places, it had changed, e.g.,NC_000001.10
intoNC*000001.10
.Changes to the content
(603)
toN[603]
, as the former is invalid.p.
example tor.
on the RNA / allele page.r.0?
,r.(=)
, andp.0?
. The0?
variants are mentioned in the text on different pages, but never fully explained and therefore, deserved a spot here. Ther.(=)
variant is duplicated from thep.(=)
example already given on that page.