|
|
@@ -1,27 +1,13 @@
|
|
|
# Documentation
|
|
|
|
|
|
-## Sources
|
|
|
-
|
|
|
-The markdown sources for the [Read the Docs online manual](https://php-qrcode.readthedocs.io) can of course be browsed on GitHub too!
|
|
|
-
|
|
|
-
|
|
|
-### Usage
|
|
|
-- [Overview](./Usage-Overview.md)
|
|
|
-- [Installation](./Usage-Installation.md)
|
|
|
-- [Quickstart](./Usage-Quickstart.md)
|
|
|
-- [Advanced usage](./Usage-Advanced-usage.md)
|
|
|
-
|
|
|
-### Appendix
|
|
|
-- [License](./Appendix-License.rst)
|
|
|
-
|
|
|
## Auto generated documentation
|
|
|
|
|
|
### User manual via Sphinx
|
|
|
|
|
|
-[](https://php-qrcode.readthedocs.io/en/latest/?badge=latest)
|
|
|
+[](https://php-qrcode.readthedocs.io/en/main/?badge=main)
|
|
|
|
|
|
The user manual can be auto generated with [Sphinx](https://www.sphinx-doc.org) from the markdown sources contained in this directory, in order to upload it to [Read the Docs](https://readthedocs.org).
|
|
|
-The online documentation can be found at [php-qrcode.readthedocs.io](https://php-qrcode.readthedocs.io) ([project page](https://readthedocs.org/projects/php-qrcode/))
|
|
|
+The online documentation can be found at [php-qrcode.readthedocs.io](https://php-qrcode.readthedocs.io/en/main/) ([project page](https://readthedocs.org/projects/php-qrcode/)), a local copy is built during CI and stored in the [`readthedocs` branch](https://github.com/chillerlan/php-qrcode/tree/readthedocs).
|
|
|
|
|
|
|
|
|
#### Run Sphinx locally
|
|
|
@@ -29,7 +15,7 @@ The online documentation can be found at [php-qrcode.readthedocs.io](https://php
|
|
|
Requirements:
|
|
|
|
|
|
- [Python](https://www.python.org/downloads/) >= v3.10
|
|
|
- - [Sphinx](https://www.sphinx-doc.org/en/master/usage/installation.html) >= v7.0
|
|
|
+ - [Sphinx](https://www.sphinx-doc.org/en/master/usage/installation.html) >= v6.0
|
|
|
- [Sphinx RTD theme](https://pypi.org/project/sphinx-rtd-theme/) >= 1.2
|
|
|
- [MyST Parser](https://myst-parser.readthedocs.io/en/latest/intro.html) >= 2.0 (see [Sphinx Markdown configuration](https://www.sphinx-doc.org/en/master/usage/markdown.html#markdown))
|
|
|
|
|
|
@@ -43,13 +29,15 @@ Requirements:
|
|
|
|
|
|
|
|
|
### API docs via phpDocumentor
|
|
|
+
|
|
|
[](https://github.com/chillerlan/php-qrcode/actions/workflows/pages/pages-build-deployment)
|
|
|
|
|
|
The API documentation can be auto generated with [phpDocumentor](https://www.phpdoc.org/).
|
|
|
-There is an [online version available](https://chillerlan.github.io/php-qrcode/) via the [gh-pages branch](https://github.com/chillerlan/php-qrcode/tree/gh-pages) that is [automatically deployed](https://github.com/chillerlan/php-qrcode/deployments) on each push to main.
|
|
|
+There is an [online version available](https://chillerlan.github.io/php-qrcode/) via the [`gh-pages` branch](https://github.com/chillerlan/php-qrcode/tree/gh-pages) that is [automatically deployed](https://github.com/chillerlan/php-qrcode/deployments) on each push to main.
|
|
|
|
|
|
|
|
|
#### Run phpDocumentor locally
|
|
|
+
|
|
|
If you'd like to create local docs, please follow these steps:
|
|
|
|
|
|
- [download phpDocumentor](https://github.com/phpDocumentor/phpDocumentor/releases) v3+ as .phar archive
|
|
|
@@ -60,6 +48,40 @@ If you'd like to create local docs, please follow these steps:
|
|
|
- profit!
|
|
|
|
|
|
|
|
|
+## Sources
|
|
|
+
|
|
|
+The markdown sources for the [Read the Docs online manual](https://php-qrcode.readthedocs.io) can of course be browsed on GitHub too!
|
|
|
+
|
|
|
+
|
|
|
+### Usage
|
|
|
+- [Overview](./Usage-Overview.md)
|
|
|
+- [Installation](./Usage-Installation.md)
|
|
|
+- [Quickstart](./Usage-Quickstart.md)
|
|
|
+- [Advanced usage](./Usage-Advanced-usage.md)
|
|
|
+
|
|
|
+
|
|
|
+### Customizing output
|
|
|
+- [Module values](./Customizing-Module-Values.md)
|
|
|
+- [Custom output interface](./Customizing-Custom-output-interface.md)
|
|
|
+- [QROutputAbstract](./Customizing-QROutputAbstract.md)
|
|
|
+
|
|
|
+
|
|
|
+### Examples
|
|
|
+- [Built-in Output Interfaces](./Examples-Built-in.md)
|
|
|
+
|
|
|
+
|
|
|
+### Public API
|
|
|
+- [`QRCode`](./API-QRCode.md)
|
|
|
+- [`QROptions`](./API-QROptions.md)
|
|
|
+- [`QROutputInterface`](./API-QROutputInterface.md)
|
|
|
+- [`QRMatrix`](./API-QRMatrix.md)
|
|
|
+
|
|
|
+
|
|
|
+### Appendix
|
|
|
+- [Glossary](./Appendix-Glossary.md)
|
|
|
+- [License](./Appendix-License.rst)
|
|
|
+
|
|
|
+
|
|
|
## License
|
|
|
|
|
|
The documentation is licensed under the [Creative Commons Attribution 4.0 International (CC BY 4.0) License](https://creativecommons.org/licenses/by/4.0/).
|