Repository navigation
A documentation site, cop.phalcon.io - #71
Merged
Merged
Conversation
Assisted-by: Claude Code
… site Assisted-by: Claude Code
Assisted-by: Claude Code
Assisted-by: Claude Code
Assisted-by: Claude Code
Assisted-by: Claude Code
…release Assisted-by: Claude Code
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This was referenced Dec 5, 2026
With pnpm 10, the lock lost the kit folder, and a CI install got the whole assets repository with no docs-kit program (phalcon/assets#220). kit-v1.1.0 and pnpm 11 keep the folder in the lock. Assisted-by: Claude Code
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
kit-v2.0.0 is one file on the GitHub Release of the kit tag (pnpm pack of the kit). The lock keeps its address and its hash. Assisted-by: Claude Code
This comment has been minimized.
This comment has been minimized.
Code Metrics Report
Details | | master (4b6c04c) | T70-docs-site (9afc573) | +/- |
|---------------------|------------------|-------------------------|------|
| Coverage | 100.0% | 100.0% | 0.0% |
| Files | 1 | 1 | 0 |
| Lines | 71 | 71 | 0 |
| Covered | 71 | 71 | 0 |
| Test Execution Time | 1s | 1s | 0s |Reported by octocov |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hello!
In raising this pull request, I confirm the following:
Small description of change:
A documentation site for https://cop.phalcon.io, in
docs/, on the Phalcon docs kit (@phalcon/docs-kitkit-v2.0.0, phalcon/assets). The site installs the kit from the release file ofkit-v2.0.0, with pnpm 11.29.0. It is the first site on the kit. There is no PHP change, so there are no PHP tests; the docs workflow builds and checks the site.The site
3.0(in development, from3.0.x),2.0(stable;/and/latestgo to/2.0/introduction),1.3(deprecated, for all of 1.x).3.0), and Changelog (written fromCHANGELOG.mdat each build).The text and the facts
The text of each version is the README of its release (
3.0.x,master,v1.3.0). The facts agree with the code of that release:1.3Installation says PHP >= 7.3 (the v1.3.0 README says 7.0; itscomposer.jsonneeds 7.3), with one line for 1.0 to 1.2: 1.0 also needs the Phalcon extension 3.3.src/Parser.phpof its release, and its result agrees with the page (===):3.06 of 6,2.06 of 6,1.37 of 7; the Flags page 5 of 5. One correction: the long1.3example had no\after'plain arg 2', so it did not run.1.3,has(),get()andgetParsedCommands()are marked "1.2 and later".3.0Installation has a caution note: until the 3.0.0 release,composer require phalcon/cli-options-parserinstalls 2.x (the newest stable release on Packagist is v2.0.0); to install 3.0 now,composer require phalcon/cli-options-parser:3.0.x-dev. The note goes at the 3.0.0 release.CHANGELOG.mdEvery release from 1.0.0 to 2.0.0, from the release notes and the code: 1.2.0 also added
has()andget()(#12); 1.2.1 (#18) changed only the docblocks, and excluded the development files from the archive (#16); 1.1.0 has no release note, so its entry comes from its commits.The repository
.gitattributes(/docs export-ignore) andcomposer.jsonarchive.exclude(/docs): the package has nodocs/(checked withgit archiveandcomposer archive).main.yml:docs/**in thepaths-ignoreofpush;pull_requestdoes not change.README.md: a link to the site..gitignore: the lines of the kit and/.pnpm-store/..github/workflows/docs.yml: the shared docs workflow of phalcon/assets, pinned to the commit ofkit-v2.0.0(1897144). A pull request builds and checks the site; a push tomaster, the weekly run and a manual run onmasteralso publish it to theproductionbranch.The kit version
The first push used
kit-v1.0.0, and the docssitejob failed: with pnpm 10, a new install from the lock did not get the kit program. The fix is in the kit:kit-v1.1.0(docs-kit: install the kit with pnpm 11 (kit-v1.1.0) assets#221): pnpm 11. Commitdeb8095moved the site to it.kit-v2.0.0(docs-kit: the kit as a release file (kit-v2.0.0) assets#223): the kit is a release file, and the lock keeps its hash (integrity). Commit9afc573moved the site to it.Local checks (Docker): the 11 checks of the kit, the type check, the build (17 pages),
nimbus lint,nimbus check, the icons, the social cards and their check.The order of the steps
productionbranch and the domaincop.phalcon.io, so that the README link and the first publish go live together (the first run onmastermakes theproductionbranch).masterpull requests, so that the merge into3.0.xbrings only the files of this pull request.3.0.x. Until the 3.0.0 release, every change indocs/goes tomaster.Thanks