diff --git a/docs/index.txt b/docs/index.md
similarity index 100%
rename from docs/index.txt
rename to docs/index.md
diff --git a/docs/simplesamlphp-advancedfeatures.txt b/docs/simplesamlphp-advancedfeatures.md
similarity index 100%
rename from docs/simplesamlphp-advancedfeatures.txt
rename to docs/simplesamlphp-advancedfeatures.md
diff --git a/docs/simplesamlphp-artifact-idp.txt b/docs/simplesamlphp-artifact-idp.md
similarity index 100%
rename from docs/simplesamlphp-artifact-idp.txt
rename to docs/simplesamlphp-artifact-idp.md
diff --git a/docs/simplesamlphp-artifact-sp.txt b/docs/simplesamlphp-artifact-sp.md
similarity index 100%
rename from docs/simplesamlphp-artifact-sp.txt
rename to docs/simplesamlphp-artifact-sp.md
diff --git a/docs/simplesamlphp-authproc.txt b/docs/simplesamlphp-authproc.md
similarity index 100%
rename from docs/simplesamlphp-authproc.txt
rename to docs/simplesamlphp-authproc.md
diff --git a/docs/simplesamlphp-authsource.txt b/docs/simplesamlphp-authsource.md
similarity index 100%
rename from docs/simplesamlphp-authsource.txt
rename to docs/simplesamlphp-authsource.md
diff --git a/docs/simplesamlphp-automated_metadata.txt b/docs/simplesamlphp-automated_metadata.md
similarity index 100%
rename from docs/simplesamlphp-automated_metadata.txt
rename to docs/simplesamlphp-automated_metadata.md
diff --git a/docs/simplesamlphp-changelog.txt b/docs/simplesamlphp-changelog.md
similarity index 100%
rename from docs/simplesamlphp-changelog.txt
rename to docs/simplesamlphp-changelog.md
diff --git a/docs/simplesamlphp-customauth.txt b/docs/simplesamlphp-customauth.md
similarity index 100%
rename from docs/simplesamlphp-customauth.txt
rename to docs/simplesamlphp-customauth.md
diff --git a/docs/simplesamlphp-database.txt b/docs/simplesamlphp-database.md
similarity index 100%
rename from docs/simplesamlphp-database.txt
rename to docs/simplesamlphp-database.md
diff --git a/docs/simplesamlphp-errorhandling.txt b/docs/simplesamlphp-errorhandling.md
similarity index 100%
rename from docs/simplesamlphp-errorhandling.txt
rename to docs/simplesamlphp-errorhandling.md
diff --git a/docs/simplesamlphp-googleapps.txt b/docs/simplesamlphp-googleapps.md
similarity index 100%
rename from docs/simplesamlphp-googleapps.txt
rename to docs/simplesamlphp-googleapps.md
diff --git a/docs/simplesamlphp-hok-idp.txt b/docs/simplesamlphp-hok-idp.md
similarity index 100%
rename from docs/simplesamlphp-hok-idp.txt
rename to docs/simplesamlphp-hok-idp.md
diff --git a/docs/simplesamlphp-hok-sp.txt b/docs/simplesamlphp-hok-sp.md
similarity index 100%
rename from docs/simplesamlphp-hok-sp.txt
rename to docs/simplesamlphp-hok-sp.md
diff --git a/docs/simplesamlphp-idp-more.txt b/docs/simplesamlphp-idp-more.md
similarity index 100%
rename from docs/simplesamlphp-idp-more.txt
rename to docs/simplesamlphp-idp-more.md
diff --git a/docs/simplesamlphp-idp.txt b/docs/simplesamlphp-idp.md
similarity index 100%
rename from docs/simplesamlphp-idp.txt
rename to docs/simplesamlphp-idp.md
diff --git a/docs/simplesamlphp-install-repo.txt b/docs/simplesamlphp-install-repo.md
similarity index 100%
rename from docs/simplesamlphp-install-repo.txt
rename to docs/simplesamlphp-install-repo.md
diff --git a/docs/simplesamlphp-install.txt b/docs/simplesamlphp-install.md
similarity index 100%
rename from docs/simplesamlphp-install.txt
rename to docs/simplesamlphp-install.md
diff --git a/docs/simplesamlphp-maintenance.txt b/docs/simplesamlphp-maintenance.md
similarity index 100%
rename from docs/simplesamlphp-maintenance.txt
rename to docs/simplesamlphp-maintenance.md
diff --git a/docs/simplesamlphp-metadata-endpoints.txt b/docs/simplesamlphp-metadata-endpoints.md
similarity index 100%
rename from docs/simplesamlphp-metadata-endpoints.txt
rename to docs/simplesamlphp-metadata-endpoints.md
diff --git a/docs/simplesamlphp-metadata-extensions-attributes.txt b/docs/simplesamlphp-metadata-extensions-attributes.md
similarity index 100%
rename from docs/simplesamlphp-metadata-extensions-attributes.txt
rename to docs/simplesamlphp-metadata-extensions-attributes.md
diff --git a/docs/simplesamlphp-metadata-extensions-rpi.txt b/docs/simplesamlphp-metadata-extensions-rpi.md
similarity index 100%
rename from docs/simplesamlphp-metadata-extensions-rpi.txt
rename to docs/simplesamlphp-metadata-extensions-rpi.md
diff --git a/docs/simplesamlphp-metadata-extensions-ui.txt b/docs/simplesamlphp-metadata-extensions-ui.md
similarity index 100%
rename from docs/simplesamlphp-metadata-extensions-ui.txt
rename to docs/simplesamlphp-metadata-extensions-ui.md
diff --git a/docs/simplesamlphp-metadata-pdostoragehandler.txt b/docs/simplesamlphp-metadata-pdostoragehandler.md
similarity index 100%
rename from docs/simplesamlphp-metadata-pdostoragehandler.txt
rename to docs/simplesamlphp-metadata-pdostoragehandler.md
diff --git a/docs/simplesamlphp-modules.txt b/docs/simplesamlphp-modules.md
similarity index 100%
rename from docs/simplesamlphp-modules.txt
rename to docs/simplesamlphp-modules.md
diff --git a/docs/simplesamlphp-nostate.txt b/docs/simplesamlphp-nostate.md
similarity index 100%
rename from docs/simplesamlphp-nostate.txt
rename to docs/simplesamlphp-nostate.md
diff --git a/docs/simplesamlphp-reference-idp-hosted.txt b/docs/simplesamlphp-reference-idp-hosted.md
similarity index 100%
rename from docs/simplesamlphp-reference-idp-hosted.txt
rename to docs/simplesamlphp-reference-idp-hosted.md
diff --git a/docs/simplesamlphp-reference-idp-remote.txt b/docs/simplesamlphp-reference-idp-remote.md
similarity index 100%
rename from docs/simplesamlphp-reference-idp-remote.txt
rename to docs/simplesamlphp-reference-idp-remote.md
diff --git a/docs/simplesamlphp-reference-sp-remote.txt b/docs/simplesamlphp-reference-sp-remote.md
similarity index 100%
rename from docs/simplesamlphp-reference-sp-remote.txt
rename to docs/simplesamlphp-reference-sp-remote.md
diff --git a/docs/simplesamlphp-scoping.txt b/docs/simplesamlphp-scoping.md
similarity index 100%
rename from docs/simplesamlphp-scoping.txt
rename to docs/simplesamlphp-scoping.md
diff --git a/docs/simplesamlphp-sp-api.txt b/docs/simplesamlphp-sp-api.md
similarity index 100%
rename from docs/simplesamlphp-sp-api.txt
rename to docs/simplesamlphp-sp-api.md
diff --git a/docs/simplesamlphp-sp-migration.txt b/docs/simplesamlphp-sp-migration.md
similarity index 100%
rename from docs/simplesamlphp-sp-migration.txt
rename to docs/simplesamlphp-sp-migration.md
diff --git a/docs/simplesamlphp-sp.txt b/docs/simplesamlphp-sp.md
similarity index 100%
rename from docs/simplesamlphp-sp.txt
rename to docs/simplesamlphp-sp.md
diff --git a/docs/simplesamlphp-theming.txt b/docs/simplesamlphp-theming.md
similarity index 100%
rename from docs/simplesamlphp-theming.txt
rename to docs/simplesamlphp-theming.md
diff --git a/docs/simplesamlphp-translation.txt b/docs/simplesamlphp-translation.md
similarity index 100%
rename from docs/simplesamlphp-translation.txt
rename to docs/simplesamlphp-translation.md
diff --git a/docs/simplesamlphp-upgrade-notes-1.10.txt b/docs/simplesamlphp-upgrade-notes-1.10.md
similarity index 100%
rename from docs/simplesamlphp-upgrade-notes-1.10.txt
rename to docs/simplesamlphp-upgrade-notes-1.10.md
diff --git a/docs/simplesamlphp-upgrade-notes-1.11.txt b/docs/simplesamlphp-upgrade-notes-1.11.md
similarity index 100%
rename from docs/simplesamlphp-upgrade-notes-1.11.txt
rename to docs/simplesamlphp-upgrade-notes-1.11.md
diff --git a/docs/simplesamlphp-upgrade-notes-1.12.txt b/docs/simplesamlphp-upgrade-notes-1.12.md
similarity index 100%
rename from docs/simplesamlphp-upgrade-notes-1.12.txt
rename to docs/simplesamlphp-upgrade-notes-1.12.md
diff --git a/docs/simplesamlphp-upgrade-notes-1.13.txt b/docs/simplesamlphp-upgrade-notes-1.13.md
similarity index 100%
rename from docs/simplesamlphp-upgrade-notes-1.13.txt
rename to docs/simplesamlphp-upgrade-notes-1.13.md
diff --git a/docs/simplesamlphp-upgrade-notes-1.14.txt b/docs/simplesamlphp-upgrade-notes-1.14.md
similarity index 100%
rename from docs/simplesamlphp-upgrade-notes-1.14.txt
rename to docs/simplesamlphp-upgrade-notes-1.14.md
diff --git a/docs/simplesamlphp-upgrade-notes-1.5.txt b/docs/simplesamlphp-upgrade-notes-1.5.md
similarity index 100%
rename from docs/simplesamlphp-upgrade-notes-1.5.txt
rename to docs/simplesamlphp-upgrade-notes-1.5.md
diff --git a/docs/simplesamlphp-upgrade-notes-1.6.txt b/docs/simplesamlphp-upgrade-notes-1.6.md
similarity index 100%
rename from docs/simplesamlphp-upgrade-notes-1.6.txt
rename to docs/simplesamlphp-upgrade-notes-1.6.md
diff --git a/docs/simplesamlphp-upgrade-notes-1.7.txt b/docs/simplesamlphp-upgrade-notes-1.7.md
similarity index 100%
rename from docs/simplesamlphp-upgrade-notes-1.7.txt
rename to docs/simplesamlphp-upgrade-notes-1.7.md
diff --git a/docs/simplesamlphp-upgrade-notes-1.8.txt b/docs/simplesamlphp-upgrade-notes-1.8.md
similarity index 100%
rename from docs/simplesamlphp-upgrade-notes-1.8.txt
rename to docs/simplesamlphp-upgrade-notes-1.8.md
diff --git a/docs/simplesamlphp-upgrade-notes-1.9.txt b/docs/simplesamlphp-upgrade-notes-1.9.md
similarity index 100%
rename from docs/simplesamlphp-upgrade-notes-1.9.txt
rename to docs/simplesamlphp-upgrade-notes-1.9.md
diff --git a/modules/adfs/docs/adfs.txt b/modules/adfs/docs/adfs.md
similarity index 100%
rename from modules/adfs/docs/adfs.txt
rename to modules/adfs/docs/adfs.md
diff --git a/modules/authX509/docs/authX509.txt b/modules/authX509/docs/authX509.md
similarity index 100%
rename from modules/authX509/docs/authX509.txt
rename to modules/authX509/docs/authX509.md
diff --git a/modules/authcrypt/docs/authcrypt.txt b/modules/authcrypt/docs/authcrypt.md
similarity index 100%
rename from modules/authcrypt/docs/authcrypt.txt
rename to modules/authcrypt/docs/authcrypt.md
diff --git a/modules/authfacebook/docs/authfacebook.txt b/modules/authfacebook/docs/authfacebook.md
similarity index 100%
rename from modules/authfacebook/docs/authfacebook.txt
rename to modules/authfacebook/docs/authfacebook.md
diff --git a/modules/authlinkedin/docs/oauthlinkedin.txt b/modules/authlinkedin/docs/oauthlinkedin.md
similarity index 100%
rename from modules/authlinkedin/docs/oauthlinkedin.txt
rename to modules/authlinkedin/docs/oauthlinkedin.md
diff --git a/modules/authmyspace/docs/oauthmyspace.txt b/modules/authmyspace/docs/oauthmyspace.md
similarity index 100%
rename from modules/authmyspace/docs/oauthmyspace.txt
rename to modules/authmyspace/docs/oauthmyspace.md
diff --git a/modules/authorize/docs/authorize.txt b/modules/authorize/docs/authorize.md
similarity index 100%
rename from modules/authorize/docs/authorize.txt
rename to modules/authorize/docs/authorize.md
diff --git a/modules/authtwitter/docs/oauthtwitter.txt b/modules/authtwitter/docs/oauthtwitter.md
similarity index 100%
rename from modules/authtwitter/docs/oauthtwitter.txt
rename to modules/authtwitter/docs/oauthtwitter.md
diff --git a/modules/authwindowslive/docs/windowsliveid.txt b/modules/authwindowslive/docs/windowsliveid.md
similarity index 100%
rename from modules/authwindowslive/docs/windowsliveid.txt
rename to modules/authwindowslive/docs/windowsliveid.md
diff --git a/modules/cas/docs/cas.txt b/modules/cas/docs/cas.md
similarity index 100%
rename from modules/cas/docs/cas.txt
rename to modules/cas/docs/cas.md
diff --git a/modules/consent/docs/consent.txt b/modules/consent/docs/consent.md
similarity index 100%
rename from modules/consent/docs/consent.txt
rename to modules/consent/docs/consent.md
diff --git a/modules/consentAdmin/docs/consentAdmin.txt b/modules/consentAdmin/docs/consentAdmin.md
similarity index 100%
rename from modules/consentAdmin/docs/consentAdmin.txt
rename to modules/consentAdmin/docs/consentAdmin.md
diff --git a/modules/core/docs/authproc_attributeadd.txt b/modules/core/docs/authproc_attributeadd.md
similarity index 100%
rename from modules/core/docs/authproc_attributeadd.txt
rename to modules/core/docs/authproc_attributeadd.md
diff --git a/modules/core/docs/authproc_attributealter.txt b/modules/core/docs/authproc_attributealter.md
similarity index 100%
rename from modules/core/docs/authproc_attributealter.txt
rename to modules/core/docs/authproc_attributealter.md
diff --git a/modules/core/docs/authproc_attributecopy.txt b/modules/core/docs/authproc_attributecopy.md
similarity index 100%
rename from modules/core/docs/authproc_attributecopy.txt
rename to modules/core/docs/authproc_attributecopy.md
diff --git a/modules/core/docs/authproc_attributelimit.txt b/modules/core/docs/authproc_attributelimit.md
similarity index 100%
rename from modules/core/docs/authproc_attributelimit.txt
rename to modules/core/docs/authproc_attributelimit.md
diff --git a/modules/core/docs/authproc_attributemap.txt b/modules/core/docs/authproc_attributemap.md
similarity index 100%
rename from modules/core/docs/authproc_attributemap.txt
rename to modules/core/docs/authproc_attributemap.md
diff --git a/modules/core/docs/authproc_attributerealm.txt b/modules/core/docs/authproc_attributerealm.md
similarity index 100%
rename from modules/core/docs/authproc_attributerealm.txt
rename to modules/core/docs/authproc_attributerealm.md
diff --git a/modules/core/docs/authproc_attributevaluemap.txt b/modules/core/docs/authproc_attributevaluemap.md
similarity index 100%
rename from modules/core/docs/authproc_attributevaluemap.txt
rename to modules/core/docs/authproc_attributevaluemap.md
diff --git a/modules/core/docs/authproc_generategroups.txt b/modules/core/docs/authproc_generategroups.md
similarity index 100%
rename from modules/core/docs/authproc_generategroups.txt
rename to modules/core/docs/authproc_generategroups.md
diff --git a/modules/core/docs/authproc_languageadaptor.txt b/modules/core/docs/authproc_languageadaptor.md
similarity index 100%
rename from modules/core/docs/authproc_languageadaptor.txt
rename to modules/core/docs/authproc_languageadaptor.md
diff --git a/modules/core/docs/authproc_php.txt b/modules/core/docs/authproc_php.md
similarity index 100%
rename from modules/core/docs/authproc_php.txt
rename to modules/core/docs/authproc_php.md
diff --git a/modules/core/docs/authproc_scopeattribute.txt b/modules/core/docs/authproc_scopeattribute.md
similarity index 100%
rename from modules/core/docs/authproc_scopeattribute.txt
rename to modules/core/docs/authproc_scopeattribute.md
diff --git a/modules/core/docs/authproc_scopefromattribute.txt b/modules/core/docs/authproc_scopefromattribute.md
similarity index 100%
rename from modules/core/docs/authproc_scopefromattribute.txt
rename to modules/core/docs/authproc_scopefromattribute.md
diff --git a/modules/core/docs/authproc_statisticswithattribute.txt b/modules/core/docs/authproc_statisticswithattribute.md
similarity index 100%
rename from modules/core/docs/authproc_statisticswithattribute.txt
rename to modules/core/docs/authproc_statisticswithattribute.md
diff --git a/modules/core/docs/authproc_targetedid.txt b/modules/core/docs/authproc_targetedid.md
similarity index 100%
rename from modules/core/docs/authproc_targetedid.txt
rename to modules/core/docs/authproc_targetedid.md
diff --git a/modules/core/docs/authproc_warnshortssointerval.txt b/modules/core/docs/authproc_warnshortssointerval.md
similarity index 100%
rename from modules/core/docs/authproc_warnshortssointerval.txt
rename to modules/core/docs/authproc_warnshortssointerval.md
diff --git a/modules/expirycheck/docs/expirycheck.txt b/modules/expirycheck/docs/expirycheck.md
similarity index 100%
rename from modules/expirycheck/docs/expirycheck.txt
rename to modules/expirycheck/docs/expirycheck.md
diff --git a/modules/ldap/docs/ldap.txt b/modules/ldap/docs/ldap.md
similarity index 100%
rename from modules/ldap/docs/ldap.txt
rename to modules/ldap/docs/ldap.md
diff --git a/modules/multiauth/docs/multiauth.txt b/modules/multiauth/docs/multiauth.md
similarity index 100%
rename from modules/multiauth/docs/multiauth.txt
rename to modules/multiauth/docs/multiauth.md
diff --git a/modules/negotiate/docs/negotiate.txt b/modules/negotiate/docs/negotiate.md
similarity index 100%
rename from modules/negotiate/docs/negotiate.txt
rename to modules/negotiate/docs/negotiate.md
diff --git a/modules/radius/docs/radius.txt b/modules/radius/docs/radius.md
similarity index 100%
rename from modules/radius/docs/radius.txt
rename to modules/radius/docs/radius.md
diff --git a/modules/riak/docs/simplesamlphp-riak.txt b/modules/riak/docs/simplesamlphp-riak.md
similarity index 100%
rename from modules/riak/docs/simplesamlphp-riak.txt
rename to modules/riak/docs/simplesamlphp-riak.md
diff --git a/modules/saml/docs/authproc_expectedauthncontextclassref.txt b/modules/saml/docs/authproc_expectedauthncontextclassref.md
similarity index 100%
rename from modules/saml/docs/authproc_expectedauthncontextclassref.txt
rename to modules/saml/docs/authproc_expectedauthncontextclassref.md
diff --git a/modules/saml/docs/keyrollover.txt b/modules/saml/docs/keyrollover.md
similarity index 100%
rename from modules/saml/docs/keyrollover.txt
rename to modules/saml/docs/keyrollover.md
diff --git a/modules/saml/docs/nameid.txt b/modules/saml/docs/nameid.md
similarity index 100%
rename from modules/saml/docs/nameid.txt
rename to modules/saml/docs/nameid.md
diff --git a/modules/saml/docs/nameidattribute.txt b/modules/saml/docs/nameidattribute.md
similarity index 100%
rename from modules/saml/docs/nameidattribute.txt
rename to modules/saml/docs/nameidattribute.md
diff --git a/modules/saml/docs/sp.txt b/modules/saml/docs/sp.md
similarity index 100%
rename from modules/saml/docs/sp.txt
rename to modules/saml/docs/sp.md
diff --git a/modules/smartattributes/docs/smartattributes.txt b/modules/smartattributes/docs/smartattributes.md
similarity index 100%
rename from modules/smartattributes/docs/smartattributes.txt
rename to modules/smartattributes/docs/smartattributes.md
diff --git a/modules/sqlauth/docs/sql.txt b/modules/sqlauth/docs/sql.md
similarity index 100%
rename from modules/sqlauth/docs/sql.txt
rename to modules/sqlauth/docs/sql.md
diff --git a/modules/statistics/docs/statistics.txt b/modules/statistics/docs/statistics.md
similarity index 100%
rename from modules/statistics/docs/statistics.txt
rename to modules/statistics/docs/statistics.md