Skip to content
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

Convert docs from reStructuredText to MyST markdown #2980

Merged
merged 3 commits into from
Jan 12, 2023

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
@@ -128,6 +128,5 @@
"security-responses/log4shell": "2021-12-15_log4shell.html",
"security-responses/cve-2021-44521": "2022-02-21_cve-2021-44521.html",
"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