-
-
Notifications
You must be signed in to change notification settings - Fork 820
Convert website from rST to Markdown! #629
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Visit the preview URL for this PR (updated for commit cc13d9b): https://beeware-org--pr629-markdown-dhic7esr.web.app (expires Mon, 02 Jun 2025 01:49:26 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: b0da44bc067e7d9a4255c77cb2c5fce572218cec |
|
Reviewing this on a diff basis is going to be almost impossible, so a visual inspection of the output seems the best review approach. To that end:
|
My strategy was to go through an arbitrary list of pages and compare. This turned out to be coincidentally effective, as we caught some issues with the initial conversion that would have otherwise been missed. I obviously did not go through the entire site either.
The homepage required manual updates, but everything else played quite nice. I would suggest a deep comparison of the homepage to itself. Otherwise, as I did, perhaps grab an arbitrary sample of rendered pages to compare. |
freakboy3742
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the most part, this looks great. All the English text content seems to have done what we expect, and the handful of pages with images look like they've come across clean as well.
Four issues that I've noticed in my audit pass:
- The
Sprintssubheading in the contribution page gutter (/contributing) looks like it has converted badly; I can't find any other examples of this bug, though. - It looks like in the case of translations, a non-existent body in the translation file has been turned into an empty body in the translation file, which results in the page rendering as empty, rather than "fallback". Maybe this could be an "if field" vs "if field is None" issue in the conversion?
- Some of the translations have duplicated gutter content. I noticed this on
/community; Turkish and Spanish are duplicating the English content under the translation. This problem looks like it might be pre-existing, though; I'm happy to punt this to a follow up issue if you want. - There's some stray "reStructuredText" references in the model and flowblock definitions. They're not surfacing anywhere (other than the admin), but we might as well clean them up.
Also - can you point me at an example of an admonition/note in use? I can see the style changes, but my grep-fu is failing me in finding one in the actual text...
On it.
Hmm. Can you point me to an example of this so I have some idea what I'm looking for? I can't find what exactly you're referring to.
I'll see whether this is easily sorted, and if not, we'll punt it.
On it.
There's a note on this page: https://beeware.org/contributing/first-time/github/ |
The one I noticed was
Awesome - looks great; although I did notice that the bullet points on the gutter of that page have been "quoted" - that's usually an indicator of too much indentation in the markdown. It's not clear if that might be a problem with the original content - the indentation is definitely off, but it's not rendering as a block quote. |
So, there is no Danish translation of Unless I'm missing something!
This was an issue with how rST was rendering lists, which was beginning with a space. The indentation was read by |
Huh... I swear I checked and those were working on the main site... Regardless - I wonder if it might be better to just delete the translations, rather than display an empty page. The only translated content we'd be losing is the titles, which aren't that hard to resurrect... Or, we can punt this one as well, and treat it as a separate bug.
👍 |
I went through every instance of
There were summaries as well, but I couldn't figure out where those were even rendered. I deleted the empty translations under That should be everything at this point! |
| Sprint Guide counts as a contribution to BeeWare! | ||
| ### Improving this guide | ||
|
|
||
| If you've got any suggestions on how to improve this sprint guide, let us know. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hah! I had this on my todo list for my next PR. I figured it should be separate. Done now!
freakboy3742
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm going to call this done. It's almost certainly not perfect, but then the original site had a bunch of pre-existing bugs (as we've found in reviewing this PR), and we can resolve those issues as we find them.
@johnzhou721 Please keep in mind that while dropping into a PR to make a joke like this might seem like "harmless fun", it's adding a message to the inbox of everyone who was involved in the discussion. I've indicated to you previously that you need to post fewer, more considered comments - and avoiding off-topic jokes is an extension of this. If this was a one off, I wouldn't be concerned; but you've made a habit of dropping into threads where you're not involved just to make a pun - and that's a distraction we can do without. |
Converts the website from rST to Markdown.
Updates include:
lektor-markdown-admonitionplugin.lektor-rstplugin.This PR is the long-awaited continuation and completion of #472.
PR Checklist:
Conversion script
The following is the script used to convert the content.