Skip to content

Convert docs from reStructuredText to MyST markdown#2980

Merged
smatting merged 3 commits intodevelopfrom
convert-docs-to-md
Jan 12, 2023
Merged

Convert docs from reStructuredText to MyST markdown#2980
smatting merged 3 commits intodevelopfrom
convert-docs-to-md

Conversation

@smatting
Copy link
Contributor

@smatting smatting commented Jan 12, 2023

The conversition was perfomed with rst-to-myst.
A lot of manul preparation work was needed and has been squashed into a single commit.

I've QA'd the result using selenium to obtain screenshots of each of the 115 pages and diffing them with Imagemagick against the screenshots of the reference pages from http://docs.wire.com.
For non-trivial diffs I've inspected manually to find problems and fix.

The result builds with only a few warnings concerning duplicated labels and some minor layout problems, which I'll fix in a followup PR.

The scripts to convert and generate the screenshots are included in the convert/ directory.

@smatting smatting temporarily deployed to cachix January 12, 2023 16:07 — with GitHub Actions Inactive
@smatting smatting temporarily deployed to cachix January 12, 2023 16:07 — with GitHub Actions Inactive
@zebot zebot added the ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist label Jan 12, 2023
@smatting smatting temporarily deployed to cachix January 12, 2023 16:12 — with GitHub Actions Inactive
@smatting smatting temporarily deployed to cachix January 12, 2023 16:12 — with GitHub Actions Inactive
@smatting smatting temporarily deployed to cachix January 12, 2023 16:16 — with GitHub Actions Inactive
@smatting smatting temporarily deployed to cachix January 12, 2023 16:16 — with GitHub Actions Inactive
@smatting smatting merged commit 36507cf into develop Jan 12, 2023
@smatting smatting deleted the convert-docs-to-md branch January 12, 2023 16:22
"security-responses/2022-05_website_outage": "2022-05-23_website_outage.html",
"how-to/single-sign-on/index": "../../understand/single-sign-on/main.html#setting-up-sso-externally",
"how-to/scim/index": "../../understand/single-sign-on/main.html#user-provisioning",
"how-to/scim/index": "../../understand/single-sign-on/main.html#user-provisioning"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These links are for people who may have bookmarked old URLs, they then get a redirect and the old links still work.
I'm not sure how important this is; but it's certainly nice user experience if previous links someone may have saved/bookmarked still work. Perhaps we should add a comment here for the next person stumbling over this

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought about this, since how-to-/single-sign-on/index now points to https://docs.wire.com/how-to/single-sign-on/index.html which is a nice index of all thing sso I thought it's okay enough

@jschaul
Copy link
Member

jschaul commented Jan 12, 2023

Cool beans! 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments