smiley 6a26d3afb8 :book: 2 anos atrás
..
Appendix cf0648e24d :bath: doc cleanup 2 anos atrás
Built-In-Output cf0648e24d :bath: doc cleanup 2 anos atrás
Customizing 6a26d3afb8 :book: 2 anos atrás
Usage 6a26d3afb8 :book: 2 anos atrás
Makefile 6a44b067ef :sparkles: fuck it, read the docs 2 anos atrás
Readme.md 6a26d3afb8 :book: 2 anos atrás
conf.py af284bfb53 :octocat: 2 anos atrás
index.rst 6a26d3afb8 :book: 2 anos atrás
make.bat 6a44b067ef :sparkles: fuck it, read the docs 2 anos atrás
qroptions-doc.php 0eb1dfe657 :octocat: auto generate options doc from the QROptionsTrait source 2 anos atrás
requirements.txt e66c633e23 :octocat: 2 anos atrás

Readme.md

Documentation

Auto generated documentation

User manual via Sphinx

Documentation Status

The user manual can be auto generated with Sphinx from the markdown sources contained in this directory, in order to upload it to Read the Docs. The online documentation can be found at php-qrcode.readthedocs.io (project page), a local copy is built during CI and stored in the readthedocs branch.

Run Sphinx locally

Requirements:

Follow these steps to create the user manual:

  • install Sphinx: pip install sphinx myst-parser sphinx-rtd-theme
  • run in the /docs (this) directory:
    • on Windows: .\make.bat html (make sure sphinx-build.exe is in PATH)
    • on Linux: make html
  • open ../.build/sphinx/html/index.html in a browser
  • yay!

API docs via phpDocumentor

pages-build-deployment

The API documentation can be auto generated with phpDocumentor. There is an online version available via the gh-pages branch that is automatically deployed on each push to main.

Run phpDocumentor locally

If you'd like to create local docs, please follow these steps:

  • download phpDocumentor v3+ as .phar archive
  • run it in the repository root directory:
    • on Windows c:\path\to\php.exe c:\path\to\phpDocumentor.phar --config=phpdoc.xml
    • on Linux just php /path/to/phpDocumentor.phar --config=phpdoc.xml
  • open ../.build/phpdocs/index.html in a browser
  • profit!

Sources

The markdown sources for the Read the Docs online manual can of course be browsed on GitHub too!

Usage

Customizing output

Built-In Output Modules

Appendix

License

The documentation is licensed under the Creative Commons Attribution 4.0 International (CC BY 4.0) License.