Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions .gitbook.yaml

This file was deleted.

4 changes: 3 additions & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,15 @@ jobs:

# The highest version branch of the repository, by version order, in which a "1.x" branch comes
# after "1.2" and "1.2.x": it is where the next minor is written. sort -V alone puts "1.x" first,
# so each name is sorted by a key where "x" is a large number. Only that branch carries "latest".
# so each name is sorted by a key where "x" is a large number. A branch without mkdocs.yml is not a
# published version (a branch left from GitBook). Only that branch carries "latest".
- name: Is this the newest version?
id: newest
run: |
git fetch --quiet origin '+refs/heads/*:refs/remotes/origin/*'
newest=$(git for-each-ref --format='%(refname:lstrip=3)' 'refs/remotes/origin/*' \
| grep -E '^[0-9]+\.([0-9]+(\.x)?|x)$' \
| while read -r branch; do git cat-file -e "origin/$branch:mkdocs.yml" 2>/dev/null && echo "$branch"; done \
| awk '{ key = $0; if (key ~ /^[0-9]+\.x$/) sub(/x$/, "999999", key); else sub(/\.x$/, "", key); print key " " $0 }' \
| sort -V -k1,1 \
| tail -n 1 \
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ navigation or a navigation entry without a page fails the build.
| `.github/workflows/check.yml` | The strict build, on every pull request |
| `.github/workflows/pages.yml` | The publication: one version per branch, through mike |
| `.github/workflows/default-branch.yml` | A new version branch becomes the default branch |
| `docs/SUMMARY.md`, `.gitbook.yaml` | The GitBook space, until the domain points to GitHub Pages |

How the documentation left GitBook, and the rules every documentation site of Slabs follows, are in
[Spomky-Labs/docs](https://github.com/Spomky-Labs/docs/blob/main/MIGRATING.md).
Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: >-
Tutorials
---

# WebAuthn: Strong authentication for your PHP applications
# WebAuthn Framework

Welcome to WebAuthn, the solution for strong authentication on the web. With WebAuthn, you can offer your users a secure, simple, and convenient authentication experience that seamlessly integrates with your PHP or Symfony application.

Expand Down
79 changes: 0 additions & 79 deletions docs/SUMMARY.md

This file was deleted.

4 changes: 0 additions & 4 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ edit_uri: https://github.com/web-auth/doc/edit/5.3/docs/
docs_dir: docs
site_dir: site

# The GitBook table of contents. It stays while GitBook serves the domain, and the navigation below says the
# same thing in the words of MkDocs.
exclude_docs: |
SUMMARY.md

theme:
name: material
Expand Down
Loading