Read the docs is used to host the documentation.
https://language-data.readthedocs.io/en/latest/
The following documentation has been moved,
* Introduction
* Using the PHP / Node.js libraries
* Adding new languages
* PHP API documentation
Updated the README.md to point to the new documentation.
Doxygen is used to pull out the PHPDoc comments into XML.
This is parsed via doxyphp2sphinx into Sphinx which is
then used by Read the docs to generate the documentation.
Read the docs has been configured to update the code documentation
under the docs/api folder automatically whenever a commit is made
so no manual work is needed.
Bug: T218639
Two workflows have been added,
* PHP build - Runs tests on version 7.2, 7.3, also runs phpcs
* Node.js build - Runs tests on version 8.x, 10.x, 12.x, also
runs ESLint
Bug: T218639
Additional changes in this PR include,
* Added composer.json
* Refactored the folder structure.
* Added editorconfig.
* Added PHPCS and formatted existing code.
* Changes to use a single license - GPL-2.0-or-later
* ESLint related fixes
Bug: T218639