This website is built using Docusaurus, a modern static website generator.
Important
PHP OSS for Azure is a community-maintained project and is not affiliated with, endorsed by, or supported by Microsoft.
yarnyarn startThis command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
yarn buildThis command generates static content into the build directory and can be served using any static contents hosting service.
Generate the standalone phpDocumentor site from the repository root before building Docusaurus:
composer docs:apiThe generated files are written to docs/static/api/, copied into the Docusaurus build, and served at /api/ under the configured site base URL. The generated files are ignored by Git and are rebuilt by the documentation GitHub Actions workflow.
Documentation releases are deployed automatically through GitHub Pages. Create and push a documentation tag from the monorepo:
git tag docs-1.2.3
git push origin docs-1.2.3The subtree workflow publishes the docs/ tree and the split-repository tag 1.2.3 to php-oss-for-azure/php-oss-for-azure.github.io. That tag starts the Pages workflow, which checks out the matching docs-1.2.3 monorepo tag, generates the PHP API reference, builds Docusaurus, and deploys the build as an artifact. Generated API and Docusaurus build files are never committed.
The Pages repository must use GitHub Actions as its publishing source under Settings → Pages.
This project is released under the MIT License. See LICENSE for details.