Repository navigation
Description
Is your feature request related to a problem? Please describe.
The package has no documentation other than its README. The README shows only the newest text of one line of releases. There is no text for 1.x, and the README of each release does not describe has(), get() and getParsedCommands(). The README of v1.3.0 also has errors: it says "PHP >= 7.0" (the release needs PHP 7.3), and one example does not run.
Describe the solution you'd like
A documentation site at https://cop.phalcon.io, in docs/, on the Phalcon docs kit (@phalcon/docs-kit, phalcon/assets), as the crest and migrations sites:
- The versions 3.0 (in development), 2.0 (stable) and 1.3 (deprecated, for all of 1.x).
- The pages of each version from the README of its release: Introduction, Installation, Usage, Examples, Flags (3.0) and a Changelog page from
CHANGELOG.md. - The facts of each page agree with the code of its release: the PHP requirement, and the result of each example from a run against that code.
- A Methods list on each Usage page: each public method of the release, with one line on what it returns.
CHANGELOG.mdwith every release.- The docs workflow builds and checks the site on each pull request, and publishes it from
masterto theproductionbranch (Cloudflare Pages). docs/is not in the Composer package, and a change indocs/does not start the PHP CI on a push.
Describe alternatives you've considered
Keep the README only. It then stays the text of one release, with no text for the older releases.
Additional context
This is the first site on the docs kit. A pull request to master adds the site. After its merge, a second pull request merges it into 3.0.x. Until the 3.0.0 release, every change in docs/ goes to master.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsImplemented
Activity
[#70] - The documentation site on the docs kit
[#70] - Keep docs/ out of the package and of the PHP CI, and link the…
[#70] - The changelog of every release
[#70] - The pages of the versions 3.0, 2.0 and 1.3
[#70] - The long 1.3 example has its missing line continuation
[#70] - A card title that fits the social card
[#70] - The 3.0 installation page says how to install 3.0 before its …
[#70] - The site uses kit-v1.1.0 and pnpm 11
[#70] - The site installs the kit from the kit-v2.0.0 release file