diff --git a/doc/example/signed.camli b/doc/json-signing/example/signed.camli similarity index 100% rename from doc/example/signed.camli rename to doc/json-signing/example/signed.camli diff --git a/doc/example/signing-after.camli b/doc/json-signing/example/signing-after.camli similarity index 100% rename from doc/example/signing-after.camli rename to doc/json-signing/example/signing-after.camli diff --git a/doc/example/signing-before-J.camli b/doc/json-signing/example/signing-before-J.camli similarity index 100% rename from doc/example/signing-before-J.camli rename to doc/json-signing/example/signing-before-J.camli diff --git a/doc/example/signing-before.camli b/doc/json-signing/example/signing-before.camli similarity index 100% rename from doc/example/signing-before.camli rename to doc/json-signing/example/signing-before.camli diff --git a/doc/example/signing-before.camli.detachsig b/doc/json-signing/example/signing-before.camli.detachsig similarity index 100% rename from doc/example/signing-before.camli.detachsig rename to doc/json-signing/example/signing-before.camli.detachsig diff --git a/doc/example/signing-before.camli.sig b/doc/json-signing/example/signing-before.camli.sig similarity index 100% rename from doc/example/signing-before.camli.sig rename to doc/json-signing/example/signing-before.camli.sig diff --git a/doc/example/some-notes.txt b/doc/json-signing/example/some-notes.txt similarity index 100% rename from doc/example/some-notes.txt rename to doc/json-signing/example/some-notes.txt diff --git a/doc/example/some-notes.txt.camli b/doc/json-signing/example/some-notes.txt.camli similarity index 100% rename from doc/example/some-notes.txt.camli rename to doc/json-signing/example/some-notes.txt.camli diff --git a/doc/json-signing.txt b/doc/json-signing/json-signing.txt similarity index 100% rename from doc/json-signing.txt rename to doc/json-signing/json-signing.txt diff --git a/doc/blob-enumerate-protocol.txt b/doc/protocol/blob-enumerate-protocol.txt similarity index 100% rename from doc/blob-enumerate-protocol.txt rename to doc/protocol/blob-enumerate-protocol.txt diff --git a/doc/blob-get-protocol.txt b/doc/protocol/blob-get-protocol.txt similarity index 100% rename from doc/blob-get-protocol.txt rename to doc/protocol/blob-get-protocol.txt diff --git a/doc/blob-upload-protocol.txt b/doc/protocol/blob-upload-protocol.txt similarity index 100% rename from doc/blob-upload-protocol.txt rename to doc/protocol/blob-upload-protocol.txt diff --git a/doc/blob-upload-resume.txt b/doc/protocol/blob-upload-resume.txt similarity index 100% rename from doc/blob-upload-resume.txt rename to doc/protocol/blob-upload-resume.txt diff --git a/doc/spec.txt b/doc/schema/blob-magic.txt similarity index 100% rename from doc/spec.txt rename to doc/schema/blob-magic.txt