Repository navigation
5.4: the documentation site, MkDocs on GitHub Pages under webauthn-doc.spomky-labs.com - #63
Merged
Merged
Conversation
MkDocs reads its pages from a directory of their own, and GitBook follows them there through .gitbook.yaml.
The hints become admonitions, the code blocks carry their title on the fence, the code blocks GitBook exported as HTML become fences with their highlighted lines, the images move to docs/assets/images under names without spaces, and the images no page used are dropped. Converted by tools/gitbook2material.py of Spomky-Labs/docs, then read page by page.
The Slabs guidelines set every title on the web in sentence case. The names keep their capitals: WebAuthn, Symfony, Symfony UX, Stimulus, Doctrine, JavaScript, the acronyms and the extension names.
The registration of an authenticator linked to the serializer on the page of the WebAuthn server, which documents it on the page of input loading.
The toolchain of the documentation site of 5.2, with the navigation of 5.4 and edit_uri pointing at 5.4. Published under webauthn-doc.spomky-labs.com, in the look of the Slabs brand guidelines v2.0, with the project mark of WebAuthn Framework in the header; 5.4 carries the latest alias. docs/SUMMARY.md and .gitbook.yaml keep the GitBook space working until the domain moves.
The figure GitBook wrote in HTML kept a relative src that MkDocs does not rewrite, so the logo pointed at nothing once the page had its own directory. It becomes a figure of Material holding a Markdown image, whose path MkDocs rewrites.
The root of the GitBook site served 5.3, whose guide was migration/from-v5.x-to-v6.0; in 5.4, the latest version the root now goes to, it is migration/from-v5.4-to-v6.0.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The documentation leaves GitBook for MkDocs and Material for MkDocs, published on GitHub Pages under
webauthn-doc.spomky-labs.com, in the look of the Slabs brand guidelines v2.0, with the project mark of WebAuthn Framework in the header. It follows the record of Spomky-Labs/docs, MIGRATING.md.One pull request per published version: 5.2, 5.3 and 5.4, the three minor versions the library maintains; 5.4 carries
latest. The three branches do not contain each other, so each one is converted on its own. Merge them one by one, each after the publication of the previous one: the workflow keeps one run waiting, and a newer one cancels it.Commits
docs/: pure renames.tools/gitbook2material.pyof Spomky-Labs/docs: admonitions, titled fences, the code blocks GitBook exported as HTML become fences with their highlighted lines, the images move todocs/assets/images/under names without spaces, and the images no page used are dropped.symfony-bundle/).Versions and addresses
The GitBook variants
v5.2andv5.4go to their version. The root (which served 5.3) and every other variant (v5.1down tov1.x-1) go to the same page oflatest, or to its home page when the page is gone. In 5.4,migration/from-v5.x-to-v6.0, the guide the root served, is redirected tomigration/from-v5.4-to-v6.0.Checked
mkdocs build --strictpasses on the three branches.v5.2andv5.4on its own page.Before the DNS moves
The organization web-auth must verify the domain first (Settings of the organization → Pages → Add a domain →
webauthn-doc.spomky-labs.com, then the TXT record at Infomaniak): Spomky-Labs has verifiedspomky-labs.com, and Pages refuses the domain to a repository of another organization until its own organization has verified it. Then: Settings → Pages of this repository, deploy fromgh-pages; the CNAME ofwebauthn-doc.spomky-labs.commoves fromhosting.gitbook.comtoweb-auth.github.io; the domain is declared, then HTTPS enforced.